query-839e061e73162e606ee1463333cd39e9
NKC ללא J9U וללא אישים
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel_en ?itemLabel_he WHERE {
SERVICE bd:slice {
?item wdt:P691 ?nkc .
bd:serviceParam bd:slice.offset 0 . # Start at item number (not to be confused with QID)
bd:serviceParam bd:slice.limit 200000 . # List this many items
}
MINUS {
?item p:P8189 ?j9u.
}
MINUS {
?item p:P31 ?statement3.
?statement3 (ps:P31) wd:Q5.
}
MINUS {
?item p:P17 ?statement4.
?statement4 (ps:P17) wd:Q213.
}
OPTIONAL { ?item rdfs:label ?itemLabel_en . filter(lang(?itemLabel_en)="en") }
OPTIONAL { ?item rdfs:label ?itemLabel_he . filter(lang(?itemLabel_he)="he") }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?itemLabel_en"):::projected
v1("?itemLabel_he"):::projected
v5("?j9u")
v4("?nkc")
v6("?statement3")
v7("?statement4")
c7(["0^^xsd:integer"]):::literal
c16(["wd:Q213"]):::iri
c5(["bd:serviceParam"]):::iri
c9(["200000^^xsd:integer"]):::literal
c13(["wd:Q5"]):::iri
subgraph s1["http://www.bigdata.com/rdf#slice"]
style s1 stroke-width:4px;
v3 --"p:direct/P691"--> v4
c5 --"bd:slice.offset"--> c7
c5 --"bd:slice.limit"--> c9
end
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v3 --"p:P8189"--> v5
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"p:P31"--> v6
v6 --"p:statement/P31"--> c13
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v3 --"p:P17"--> v7
v7 --"p:statement/P17"--> c16
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."rdfs:label".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."rdfs:label".-> v1
end