query-62950e90f9804421cdba5d5c532f4b2a

rq turtle/ttl

title: instances of errata with nothing pointing at them SELECT ?item ?itemLabel WITH { SELECT ?item WHERE { ?item wdt:P31 wd:Q1348305. hint:Prior hint:runFirst true. filter not exists { [] ?predicate ?item .} } } as %i WHERE { INCLUDE %i SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_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: instances of errata with nothing pointing at them
SELECT ?item ?itemLabel WHERE
{
   {
  SELECT ?item 
WHERE 
{
  ?item wdt:P31 wd:Q1348305.

  filter not exists { [] ?predicate ?item .} 
  } }  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?predicate") a1((" ")) c2(["wd:Q1348305"]):::iri c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0a1 -->e0v1--> e0v2 e0v2("?item"):::projected e0v1("?predicate"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> a1 f0 --> v1 f0 --> v2 a1 -->v1--> v2 v2 --"wdt:P31"--> c2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end