Help
SPARQL
Revision as of 22:47, 3 December 2021 by Yug (talk | contribs) (Created page with "== Base == * Special:ListProperties ** List of properties with possible values. Ex: Gender (Property:P8) : male (Q16), female (Q17), intersex (Q18). * ...")
Revision as of 22:47, 3 December 2021 by Yug (talk | contribs) (Created page with "== Base == * Special:ListProperties ** List of properties with possible values. Ex: Gender (Property:P8) : male (Q16), female (Q17), intersex (Q18). * ...")
Base
✅ Query → list all speakers
select ?locutor ?locutorLabel
where {
?locutor prop:P2 entity:Q3 .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
}
}
Speaker name → Speaker Qid
Speaker Qid → Speaker data
Speaker Qid → Speaker data → speaker languages
Speaker Qid + language → list of audios in target language
Isolang → Language LL Qid
Isolang → Language WD Qid
Language WD Qid → Language data
Language LL Qid → Language data
Langue + speaker + word → Audio's Qid
Audio Qid → Audio data
✅ Langue + speaker + word → Audio's Commons url
Tools
- Special:ApisSandbox – API queries generator for Lingualibre wikipage and wikibase contents.