query-dfd226334514c88e9fe24c4c99d113e3

rq turtle/ttl

גזע כלבים ללא

Use at

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/>
SELECT DISTINCT ?item ?itemLabel_en ?itemLabel_he WHERE {
  ?item p:P31 ?statement0.
  ?statement0 (ps:P31) wd:Q39367.
 MINUS {
    ?item p:P8189 ?j9u.
  }
  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("?statement0") c5(["wd:Q39367"]):::iri v3 --"p:P31"--> v4 v4 --"p:statement/P31"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v3 --"p:P8189"--> v5 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