query-defa79857f684cba1af1b09923002bfb

rq turtle/ttl

title:cittadini italiani Q38 ma morti prima del 1946 (cercare corrispondenti stati pre-unitari) SELECT ?human ?humanLabel ?nato ?natoCLabel ?morte ?morteCLabel WHERE { ?human wdt:P31 wd:Q5; wdt:P27 wd:Q38; wdt:P569 ?nato; wdt:P19 ?natoC; wdt:P570 ?morte; wdt:P20 ?morteC; FILTER ("1946-06-18"^^xsd:dateTime > ?morte)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en". } }

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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:cittadini italiani Q38 ma morti prima del 1946 (cercare corrispondenti stati pre-unitari)
SELECT ?human ?humanLabel ?nato ?natoCLabel ?morte ?morteCLabel WHERE {
  ?human wdt:P31 wd:Q5;
         wdt:P27 wd:Q38;
         wdt:P569 ?nato;
         wdt:P19 ?natoC;
         wdt:P570 ?morte;
         wdt:P20 ?morteC;
  FILTER ("1946-06-18"^^xsd:date > ?morte)  
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en". }
  }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?human"):::projected v1("?morte"):::projected v5("?morteC") v3("?nato"):::projected v4("?natoC") c13(["#91;AUTO_LANGUAGE#93;,it,en"]):::literal c5(["wd:Q38"]):::iri c11(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri f0[["'1946-06-18^^xsd:date' > ?morte"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"wdt:P27"--> c5 v2 --"wdt:P569"--> v3 v2 --"wdt:P19"--> v4 v2 --"wdt:P570"--> v1 v2 --"wdt:P20"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end