query-a045453f1166f6570913b6d8a4dd4c61
Elenco di drammaturghi italiani nati nel 900 in ordine di data di nascita SELECT ?item ?itemLabel ?ddn ?cc WHERE {
?item wdt:P31 wd:Q5 . ?item wdt:P106 wd:Q214917 . ?item wdt:P569 ?ddn . ?item wdt:P27 wd:Q38 . OPTIONAL { ?item wdt:P8248 ?cc . }
FILTER((?ddn >= "1900-01-01T00:00:00Z"^^xsd:dateTime) && (?ddn<="1999-12-31T00:00:00Z"^^xsd:dateTime)) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?ddn
Use at
- https://query.wikidata.org/sparql
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#>
# Elenco di drammaturghi italiani nati nel 900 in ordine di data di nascita
SELECT ?item ?itemLabel ?ddn ?cc WHERE {
?item wdt:P31 wd:Q5 .
?item wdt:P106 wd:Q214917 .
?item wdt:P569 ?ddn .
?item wdt:P27 wd:Q38 .
OPTIONAL { ?item wdt:P8248 ?cc . }
FILTER((?ddn >= "1900-01-01T00:00:00Z"^^xsd:dateTime) && (?ddn<="1999-12-31T00:00:00Z"^^xsd:dateTime))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?ddn
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?cc"):::projected
v1("?ddn"):::projected
v2("?item"):::projected
c9(["wd:Q38"]):::iri
c12(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c6(["wd:Q214917"]):::iri
f0[["?ddn >= '1900-01-01T00:00:00Z^^xsd:dateTime'?ddn <= '1999-12-31T00:00:00Z^^xsd:dateTime'"]]
f0 --> v1
v2 --"wdt:P31"--> c4
v2 --"wdt:P106"--> c6
v2 --"wdt:P569"--> v1
v2 --"wdt:P27"--> c9
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P8248".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end