query-8ad1477f7ce0bb972b28967ace0199c6

rq turtle/ttl

English Works that have an "edition of" but that edition doesn't refer back SELECT ?work ?workLabel ?edition ?editionLabel WHERE { ?work wdt:P747 ?edition ; wdt:P31/wdt:P279* wd:Q17537576 ; # instance of creative work or any subclass wdt:P407 wd:Q1860 . MINUS { ?edition wdt:P629 [] } 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#>
# English Works that have an "edition of" but that edition doesn't refer back
SELECT ?work ?workLabel ?edition ?editionLabel
WHERE 
{
   ?work wdt:P747 ?edition ;
         wdt:P31/wdt:P279* wd:Q17537576 ;  # instance of creative work or any subclass
         wdt:P407 wd:Q1860 .
   MINUS { ?edition wdt:P629 [] }
  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("?edition"):::projected v1("?work"):::projected a2((" ")) a1((" ")) c9(["bd:serviceParam"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal c4(["wd:Q17537576"]):::iri c6(["wd:Q1860"]):::iri v1 --"wdt:P747"--> v2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v1 --"wdt:P407"--> c6 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P629"--> a2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end