query-85bdd1998d773454acc9ad985792a342

rq turtle/ttl

title:Persone con almeno un id e data di nascita e/o morte senza riferimenti SELECT DISTINCT ?person ?personLabel WHERE { ?person wdt:P8750 ?id . ?person ?date ?st . VALUES ?date { p:P569 p:P570 } . MINUS { ?st prov:wasDerivedFrom ?ref } . SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en,de,fr,es". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Persone con almeno un id e data di nascita e/o morte senza riferimenti
SELECT DISTINCT ?person ?personLabel
WHERE {
  ?person wdt:P8750 ?id .
  ?person ?date ?st .
  VALUES ?date { p:P569 p:P570 } .
  MINUS { ?st prov:wasDerivedFrom ?ref } .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en,de,fr,es". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?date") v2("?id") v1("?person"):::projected v5("?ref") v4("?st") c4(["bd:serviceParam"]):::iri c6(["it,en,de,fr,es"]):::literal v1 --"p:direct/P8750"--> v2 v1 -->v5--> v4 bind0[/VALUES ?date/] bind0-->v5 bind00(["p:P569"]) bind00 --> bind0 bind01(["p:P570"]) bind01 --> bind0 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v4 --"prov:wasDerivedFrom"--> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end