query-7a39b79ad97ec377022764acfa0bccf5
Artisti presenti in Certosa i cui diritti d'autore non sono scaduti e che abbiano categoria su Commons 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:P6379 ?statement1. ?statement1 (ps:P6379/(wdt:P279)) wd:Q3671680. ?item p:P7763 ?statement2. ?statement2 (ps:P7763/(wdt:P279*)) wd:Q73555012. ?item p:P373 ?statement3. ?statement3 (ps:P373) _:anyValueP373. } LIMIT 300 } }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Artisti presenti in Certosa i cui diritti d'autore non sono scaduti e che abbiano categoria su Commons
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:P6379 ?statement1.
?statement1 (ps:P6379/(wdt:P279*)) wd:Q3671680.
?item p:P7763 ?statement2.
?statement2 (ps:P7763/(wdt:P279*)) wd:Q73555012.
?item p:P373 ?statement3.
?statement3 (ps:P373) _:anyValueP373.
}
LIMIT 300
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?statement0")
v3("?statement1")
v4("?statement2")
v5("?statement3")
a4((" "))
a1((" "))
a2((" "))
a3((" "))
c11(["wd:Q3671680"]):::iri
c2(["bd:serviceParam"]):::iri
c14(["wd:Q73555012"]):::iri
c4(["#91;AUTO_LANGUAGE#93;"]):::literal
c8(["wd:Q5"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"p:P31"--> v2
v2 --"p:statement/P31"--> a1
a1 --"p:direct/P279"--> c8
v1 --"p:P6379"--> v3
v3 --"p:statement/P6379"--> a2
a2 --"p:direct/P279"--> c11
v1 --"p:P7763"--> v4
v4 --"p:statement/P7763"--> a3
a3 --"p:direct/P279"--> c14
v1 --"p:P373"--> v5
v5 --"p:statement/P373"--> a4