query-c62d9062630b20c6537a81c193fec6c2

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT * WHERE {
  ?a wdt:P31 wd:Q5 ;
     p:P3373 ?node1 .
  ?node1 ps:P3373 ?b .
  MINUS { ?node1 prov:wasDerivedFrom [] }
  ?a p:P40 ?node2 .
  ?node2 ps:P40 ?b .
  MINUS { ?node2 prov:wasDerivedFrom [] }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?a"):::projected v3("?b"):::projected v2("?node1"):::projected v4("?node2"):::projected a1((" ")) a2((" ")) c2(["wd:Q5"]):::iri v1 --"p:direct/P31"--> c2 v1 --"p:P3373"--> v2 v2 --"p:statement/P3373"--> v3 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"prov:wasDerivedFrom"--> a1 end v1 --"p:P40"--> v4 v4 --"p:statement/P40"--> v3 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v4 --"prov:wasDerivedFrom"--> a2 end