query-c47515b016a26360a94560608e75f35e
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?item
WHERE {
?item wikibase:sitelinks []. # Select items
FILTER NOT EXISTS {
?item ?p [].
?p a owl:ObjectProperty.
}
FILTER EXISTS {
?item rdfs:label [].
}
}
LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?p")
a3((" "))
a2((" "))
a1((" "))
c3(["owl:ObjectProperty"]):::iri
f0[[" "]]
subgraph f0e0["Exists Clause"]
e0v1 --"rdfs:label"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"rdfs:label"--> a1
f1[["not "]]
subgraph f1e1["Exists Clause"]
e1v1 -->e1v2--> e1a1
e1v2 --"a"--> e1c2
e1v1("?item"):::projected
e1v2("?p"):::projected
e1a1((" ")):::projected
e1c2(["owl:ObjectProperty"]):::iri
end
f1--EXISTS--> f1e1
f1 --> v1
f1 --> v2
f1 --> a2
f1 --> c2
f1 --> c3
v1 -->v2--> a2
v2 --"a"--> c3
v1 --"wikibase:sitelinks"--> a3