query-d500d4188bf01e0c29405b4b645c66b7
Flest antal arbejdsgivere for folketingsmedlemmer
Use at
- https://query.wikidata.org/sparql
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#>
select ?person (count(?employer) as ?count) where {
?person wdt:P39 wd:Q12311817 . # Folketingsmedlem
?person wdt:P108 ?employer .
optional { ?person rdfs:label ?person_name filter (lang(?person_name) = 'da') }
}
group by ?person
order by desc(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v4("?employer"):::projected
v3("?person"):::projected
v2("?person_name")
c3(["wd:Q12311817"]):::iri
v3 --"wdt:P39"--> c3
v3 --"wdt:P108"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."rdfs:label".-> v2
end
bind1[/"count(?employer)"/]
v4 --o bind1
bind1 --as--o v5