Skip to content

Commit

Permalink
most post processing
Browse files Browse the repository at this point in the history
  • Loading branch information
ali1k committed Oct 26, 2018
1 parent fd17c0a commit 009d891
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions postprocessingQueries.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,17 @@ GRAPH <https://slidewiki.org> {
?s <http://rdf.slidewiki.org/vocab/relatedTo> ?rt .
FILTER(?ro="slide")
}
}
```
```
INSERT {
GRAPH <https://slidewiki.org> {
?s rdfs:label ?label .
}
} WHERE {
GRAPH <https://slidewiki.org> {
?s <http://rdf.slidewiki.org/vocab/defaultName> ?label .
}
}
```
Expand All @@ -85,3 +96,30 @@ FILTER(?ro="deck")
}
}
```
```
INSERT {
GRAPH <https://slidewiki.org> {
?s <http://rdf.slidewiki.org/vocab/hasTag> ?t .
}
} WHERE {
GRAPH <https://slidewiki.org> {
?s <http://rdf.slidewiki.org/vocab/hasTag> ?tagName .
?t <http://rdf.slidewiki.org/vocab/tagName> ?tagName .
}
}
```
```
DELETE {
GRAPH <https://slidewiki.org> {
?s <http://rdf.slidewiki.org/vocab/hasTag> ?t .
}
} WHERE {
GRAPH <https://slidewiki.org> {
?s <http://rdf.slidewiki.org/vocab/hasTag> ?t .
FILTER(!isURI(?t))
}
}
```

0 comments on commit 009d891

Please sign in to comment.