LinguaLibre
Difference between revisions of "Stats"
m |
(+Languages) |
||
Line 40: | Line 40: | ||
<!--T:8--> | <!--T:8--> | ||
− | <query _pagination="10" locutor="Item" locutorLabel="Speaker" nb="Number of records"> | + | <query _pagination="10" locutor="Item" locutorLabel="Speaker" nb="Number of records" languages="Spoken languages"> |
− | select ?locutor ?locutorLabel (COUNT(?record) as ?nb) | + | select ?locutor ?locutorLabel (COUNT(?record) as ?nb) (GROUP_CONCAT(DISTINCT ?langLabel;separator=", ") as ?languages) |
where { | where { | ||
?record prop:P2 entity:Q2 . | ?record prop:P2 entity:Q2 . | ||
Line 51: | Line 51: | ||
SERVICE wikibase:label { | SERVICE wikibase:label { | ||
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
+ | ?lang rdfs:label ?langLabel . | ||
+ | ?locutor rdfs:label ?locutorLabel . | ||
} | } | ||
} | } |