query-7f74f3f836542737e1dbec6dd00e959f
טקסון
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?label_en ?label_he WHERE {
SERVICE bd:slice {
?item wdt:P31 wd:Q16521 .
bd:serviceParam bd:slice.offset 1050001 . # Start at item number (not to be confused with QID)
bd:serviceParam bd:slice.limit 1746 . # List this many items
}
MINUS {
?item p:P8189 ?j9u.
}
# If you need more properties add them here
OPTIONAL { ?item rdfs:label ?label_en. FILTER(LANG(?label_en)="en") }
OPTIONAL { ?item rdfs:label ?label_he. FILTER(LANG(?label_he)="he") }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v4("?j9u")
v2("?label_en"):::projected
v1("?label_he"):::projected
c6(["bd:serviceParam"]):::iri
c5(["wd:Q16521"]):::iri
c8(["1050001^^xsd:integer"]):::literal
c10(["1746^^xsd:integer"]):::literal
subgraph s1["http://www.bigdata.com/rdf#slice"]
style s1 stroke-width:4px;
v3 --"p:direct/P31"--> c5
c6 --"bd:slice.offset"--> c8
c6 --"bd:slice.limit"--> c10
end
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v3 --"p:P8189"--> v4
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