query-01c188c95a5402adeb6b2fc71c7aacec
parliament legislature SELECT ?item ?LabelEN ?LabelDE ?Label WHERE { ?item wdt:P279 wd:Q11204 . ?item wdt:P279 wd:Q182985 . ?item wdt:P361 wd:Q7174 . SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . ?item rdfs:label ?LabelEN } . SERVICE wikibase:label { bd:serviceParam wikibase:language "de" . ?item rdfs:label ?LabelDE } . SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh" . ?item rdfs:label ?Label } }
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#parliament legislature
SELECT ?item ?LabelEN ?LabelDE ?Label
WHERE
{
?item wdt:P279 wd:Q11204 .
?item wdt:P279 wd:Q182985 .
?item wdt:P361 wd:Q7174 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . ?item rdfs:label ?LabelEN } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "de" . ?item rdfs:label ?LabelDE } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh"
. ?item rdfs:label ?Label }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?Label"):::projected
v3("?LabelDE"):::projected
v2("?LabelEN"):::projected
v1("?item"):::projected
c5(["wd:Q7174"]):::iri
c11(["de"]):::literal
c12(["fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh"]):::literal
c7(["bd:serviceParam"]):::iri
c9(["en"]):::literal
c3(["wd:Q182985"]):::iri
c2(["wd:Q11204"]):::iri
v1 --"wdt:P279"--> c2
v1 --"wdt:P279"--> c3
v1 --"wdt:P361"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
v1 --"rdfs:label"--> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c11
v1 --"rdfs:label"--> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c12
v1 --"rdfs:label"--> v4
end