query-537ef697998dd8d766360de26a69c91f
Unsourced P91 by orientation
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?oLabel (COUNT(?oLabel) AS ?c) WHERE {
?item wdt:P91 ?o;
p:P91 ?orientation.
FILTER(NOT EXISTS { ?orientation prov:wasDerivedFrom ?ref. })
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?oLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?c")
v3("?item")
v4("?o")
v5("?oLabel"):::projected
v1("?orientation")
v2("?ref")
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"prov:wasDerivedFrom"--> e0v2
e0v1("?orientation"):::projected
e0v2("?ref"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"prov:wasDerivedFrom"--> v2
v3 --"p:direct/P91"--> v4
v3 --"p:P91"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind2[/"count(?oLabel)"/]
v5 --o bind2
bind2 --as--o v6