query-7f43cd76659aab4b526731d70a6620fc
artisti nati o morti a Bologna, le cui opere siano nel Pubblico Dominio al 1° gennaio 2024 SELECT DISTINCT ?item ?itemLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } { SELECT DISTINCT ?item WHERE { ?item p:P31 ?statement0. ?statement0 (ps:P31/(wdt:P279)) wd:Q5. ?item p:P570 ?statement_1. ?statement_1 psv:P570 ?statementValue_1. ?statementValue_1 wikibase:timePrecision ?precision_1. FILTER(?precision_1 >= 11 ) ?statementValue_1 wikibase:timeValue ?P570_1. FILTER(?P570_1 < "+1953-12-31T00:00:00Z"^^xsd:dateTime) { ?item p:P19 ?statement2. ?statement2 (ps:P19/(wdt:P279)) wd:Q1891. } UNION { ?item p:P20 ?statement3. ?statement3 (ps:P20/(wdt:P279)) wd:Q1891. } { ?item p:P106 ?statement4. ?statement4 (ps:P106/(wdt:P279)) wd:Q483501. } UNION { ?item p:P106 ?statement5. ?statement5 (ps:P106/(wdt:P279)) wd:Q1281618. } UNION { ?item p:P106 ?statement6. ?statement6 (ps:P106/(wdt:P279)) wd:Q1028181. } } LIMIT 100 } }
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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#artisti nati o morti a Bologna, le cui opere siano nel Pubblico Dominio al 1° gennaio 2024
SELECT DISTINCT ?item ?itemLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
{
SELECT DISTINCT ?item WHERE {
?item p:P31 ?statement0.
?statement0 (ps:P31/(wdt:P279*)) wd:Q5.
?item p:P570 ?statement_1.
?statement_1 psv:P570 ?statementValue_1.
?statementValue_1 wikibase:timePrecision ?precision_1.
FILTER(?precision_1 >= 11 )
?statementValue_1 wikibase:timeValue ?P570_1.
FILTER(?P570_1 < "+1953-12-31T00:00:00Z"^^xsd:dateTime)
{
?item p:P19 ?statement2.
?statement2 (ps:P19/(wdt:P279*)) wd:Q1891.
}
UNION
{
?item p:P20 ?statement3.
?statement3 (ps:P20/(wdt:P279*)) wd:Q1891.
}
{
?item p:P106 ?statement4.
?statement4 (ps:P106/(wdt:P279*)) wd:Q483501.
}
UNION
{
?item p:P106 ?statement5.
?statement5 (ps:P106/(wdt:P279*)) wd:Q1281618.
}
UNION
{
?item p:P106 ?statement6.
?statement6 (ps:P106/(wdt:P279*)) wd:Q1028181.
}
}
LIMIT 100
}
}