query-be302dd0bad60d5ee3dcf4a5dd339d36

rq turtle/ttl

title:Società scientifiche britanniche con ID SHARE Catalogue, senza IdRef SELECT ?item ?itemLabel WHERE {?item wdt:P31 wd:Q955824 ; wdt:P3987 ?shareID ; wdt:P17 wd:Q145 . MINUS {?item wdt:P269 ?idref. } SERVICE wikibase:label { bd:serviceParam wikibase:language "en".} }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Società scientifiche britanniche con ID SHARE Catalogue, senza IdRef
SELECT ?item ?itemLabel 
WHERE 
{?item wdt:P31 wd:Q955824 ; wdt:P3987 ?shareID ; wdt:P17 wd:Q145 . 
MINUS {?item wdt:P269 ?idref. } 
SERVICE wikibase:label { bd:serviceParam wikibase:language "en".} 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?idref") v1("?item"):::projected v2("?shareID") c8(["bd:serviceParam"]):::iri c2(["wd:Q955824"]):::iri c10(["en"]):::literal c5(["wd:Q145"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P3987"--> v2 v1 --"wdt:P17"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P269"--> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end