Updated Query histories
This commit is contained in:
parent
16e7ab4d9f
commit
ca6143ea3c
@ -77,6 +77,20 @@ WHERE {
|
||||
}
|
||||
```
|
||||
|
||||
```SQL
|
||||
PREFIX dbo: <http://dbpedia.org/ontology/>
|
||||
PREFIX dbp: <http://dbpedia.org/property/>
|
||||
PREFIX dbr: <http://dbpedia.org/resource/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
SELECT ?subject, ?relationship, ?object
|
||||
WHERE {
|
||||
?subject ?relationship ?object .
|
||||
?subject rdf:type dbo:Film .
|
||||
?a foaf:primaryTopic ?subject
|
||||
}
|
||||
```
|
||||
|
||||
```SQL
|
||||
PREFIX dbo: <http://dbpedia.org/ontology/>
|
||||
PREFIX dbp: <http://dbpedia.org/property/>
|
||||
@ -87,3 +101,36 @@ WHERE {
|
||||
?subject rdf:type dbo:Film .
|
||||
}
|
||||
```
|
||||
|
||||
```SQL
|
||||
PREFIX dbo: <http://dbpedia.org/ontology/>
|
||||
PREFIX dbp: <http://dbpedia.org/property/>
|
||||
PREFIX dbr: <http://dbpedia.org/resource/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
SELECT ?subject
|
||||
WHERE {
|
||||
?subject rdf:type dbo:Film .
|
||||
?a foaf:primaryTopic ?subject
|
||||
}
|
||||
```
|
||||
|
||||
```SQL
|
||||
PREFIX dbo: <http://dbpedia.org/ontology/>
|
||||
PREFIX dbp: <http://dbpedia.org/property/>
|
||||
PREFIX dbr: <http://dbpedia.org/resource/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
SELECT ?subject, ?relationship, ?object
|
||||
WHERE {
|
||||
?subject ?relationship ?object .
|
||||
?subject rdf:type dbo:Film .
|
||||
?a foaf:primaryTopic ?subject
|
||||
FILTER (?relationship NOT IN (
|
||||
dbo:wikiPageRedirects,
|
||||
dbo:wikiPageExternalLink,
|
||||
dbo:wikiPageWikiLink,
|
||||
foaf:primaryTopic
|
||||
))
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user