query-11e916421cf6cbf386e6709c99d9a977

rq turtle/ttl

title:Publications with P2888 link to SciGraph SELECT ?item ?value WHERE { ?item p:P2888 [ ps:P2888 ?value ; prov:wasDerivedFrom [ pr:P248 wd:Q65509402 ] ] . MINUS { ?item wdt:P31 wd:Q5 . } }

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 pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
#title:Publications with P2888 link to SciGraph
SELECT ?item ?value
WHERE {
  ?item p:P2888 [ ps:P2888 ?value ; prov:wasDerivedFrom [ pr:P248 wd:Q65509402 ] ] .
  MINUS { ?item wdt:P31 wd:Q5 . }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?value"):::projected a1((" ")) a2((" ")) c3(["wd:Q65509402"]):::iri c7(["wd:Q5"]):::iri a1 --"p:statement/P2888"--> v1 a2 --"p:reference/P248"--> c3 a1 --"prov:wasDerivedFrom"--> a2 v2 --"p:P2888"--> a1 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"p:direct/P31"--> c7 end