query-17cb9589d83dee0a0c61cc8fdfc76556
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?v877 ?v993 ?v994 ?v995
WHERE {
?item p:P4952 ?statement.
?statement ps:P4952 wd:Q51139288.
filter not exists {?statement pq:P877 ?v877 .
?statement pq:P993 ?v993 .
?statement pq:P994 ?v994 .
?statement pq:P995 ?v995 .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 2000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?item"):::projected
v1("?statement")
v2("?v877"):::projected
v3("?v993"):::projected
v4("?v994"):::projected
v5("?v995"):::projected
c9(["bd:serviceParam"]):::iri
c7(["wd:Q51139288"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:qualifier/P877"--> e0v2
e0v1 --"p:qualifier/P993"--> e0v3
e0v1 --"p:qualifier/P994"--> e0v4
e0v1 --"p:qualifier/P995"--> e0v5
e0v1("?statement"):::projected
e0v2("?v877"):::projected
e0v3("?v993"):::projected
e0v4("?v994"):::projected
e0v5("?v995"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
f0 --> c2
f0 --> v3
f0 --> c3
f0 --> v4
f0 --> c4
f0 --> v5
v1 --"p:qualifier/P877"--> v2
v1 --"p:qualifier/P993"--> v3
v1 --"p:qualifier/P994"--> v4
v1 --"p:qualifier/P995"--> v5
v6 --"p:P4952"--> v1
v1 --"p:statement/P4952"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end