query-110d303f55f30e51efcb0ab13191b5e5
idem SELECT DISTINCT ?item ?itemLabel ?statement1 WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en". } { SELECT DISTINCT ?item WHERE { ?item p:P276 ?statement0. ?statement0 (ps:P276/(wdt:P279*)) wd:Q3671680. ?item p:P18 ?statement1. ?statement1 (ps:P18) _:anyValueP18. } LIMIT 100 } }
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#>
#idem
SELECT DISTINCT ?item ?itemLabel ?statement1 WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en". }
{
SELECT DISTINCT ?item WHERE {
?item p:P276 ?statement0.
?statement0 (ps:P276/(wdt:P279*)) wd:Q3671680.
?item p:P18 ?statement1.
?statement1 (ps:P18) _:anyValueP18.
}
LIMIT 100
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?statement0")
v3("?statement1"):::projected
a2((" "))
a1((" "))
c4(["#91;AUTO_LANGUAGE#93;,it,en"]):::literal
c8(["wd:Q3671680"]):::iri
c2(["bd:serviceParam"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"p:P276"--> v2
v2 --"p:statement/P276"--> a1
a1 --"p:direct/P279"--> c8
v1 --"p:P18"--> v3
v3 --"p:statement/P18"--> a2