Bureaucrats, emailconfirmed, Administrators
58,048
edits
Line 156: | Line 156: | ||
=== Zenbat aipu du KM-en lan bakoitzak? === | === Zenbat aipu du KM-en lan bakoitzak? === | ||
<sparql tryit="1"> | <sparql tryit="1"> | ||
#defaultView:BubbleChart | |||
PREFIX iwb: <https://wikibase.inguma.eus/entity/> | PREFIX iwb: <https://wikibase.inguma.eus/entity/> | ||
PREFIX idp: <https://wikibase.inguma.eus/prop/direct/> | PREFIX idp: <https://wikibase.inguma.eus/prop/direct/> | ||
Line 162: | Line 163: | ||
PREFIX ipq: <https://wikibase.inguma.eus/prop/qualifier/> | PREFIX ipq: <https://wikibase.inguma.eus/prop/qualifier/> | ||
select (count(?aipatzen_duena) as ?zenbat_aipu) | select ?oocc_item ?oocc_itemLabel (count(?aipatzen_duena) as ?zenbat_aipu) | ||
where { | where { | ||
?oocc_item ip:P89 ?oocc_st. | ?oocc_item ip:P89 ?oocc_st. | ||
?oocc_st ips:P89 ?oocc_id. | ?oocc_st ips:P89 ?oocc_id. | ||
?aipatzen_duena idp:P62 [idp:P88* ?oocc_item]. | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,eu". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "en,eu". } | ||
} | } | ||
group by | group by ?oocc_item ?oocc_itemLabel ?zenbat_aipu | ||
order by desc(?zenbat_aipu) | order by desc(?zenbat_aipu) | ||
</sparql> | </sparql> |