query-6ab22dfa78eace5237a3fedcadaeef26
How to get unspecified list of qualifiers?) (P726)candidate and (Q16171493)Mikko Ekorre with all it's qualifiers. (Example item: (P726)candidate Example would be return all candidates for some election and return property
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?electionLabel ?candidateLabel ?candidate WHERE {
?candidate wdt:P726 ?election.
?election wdt:P361 wd:Q640715.
SERVICE wikibase:label { bd:serviceParam wikibase:language "fi". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?candidate"):::projected
v2("?election")
c5(["bd:serviceParam"]):::iri
c7(["fi"]):::literal
c3(["wd:Q640715"]):::iri
v1 --"wdt:P726"--> v2
v2 --"wdt:P361"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end