Process
- Create a wikidata query with <code>?id</code> and <code>?label</code> fields, '''run the query''' : on the bottom right : "Links" > "SPARQL endpoints" <--- copy that link
- Qids ( https://w.wiki/Fspv ) : https://query.wikidata.org/sparql?query=SELECT%20%3Fid%20%3Flabel%20WHERE%20%7B%0A%20%20%3Fid%20wdt%3AP106%20wd%3AQ49757%3B%0A%20%20%20%20wdt%3AP27%20wd%3AQ142.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22fr%22.%0A%20%20%20%20%3Fid%20rdfs%3Alabel%20%3Flabel.%0A%20%20%7D%0A%7D%0ALIMIT%202
- Lexemes ( https://w.wiki/Fspq ) : https://query.wikidata.org/sparql?query=%23List%20of%20French%20nouns%20that%20have%20no%20audio%20recording%20added%2C%20formatted%20for%20LinguaLibre.org%20generator%0A%23%20author%3A%20Lea%20Lacroix%20(WMDE)%202018-12-18%0A%23contact%3A%20Yug%0ASELECT%20%3Fid%20%3Flabel%0AWHERE%20%7B%0A%20%20%3Fl%20a%20ontolex%3ALexicalEntry%20%3B%20dct%3Alanguage%20wd%3AQ150%20%3B%20wikibase%3AlexicalCategory%20wd%3AQ1084%20%3B%20ontolex%3AlexicalForm%20%3Fid%20.%0A%20%20%3Fid%20ontolex%3Arepresentation%20%3Flabel%20.%0A%20%20FILTER%20NOT%20EXISTS%20%7B%20%3Fid%20wdt%3AP443%20%3Faudio.%20%7D%0A%7D%0ALimit%202
- On lingualibre, Step "List", open "External tools" : paste the "SPARQL endpoint" link, run. The list should be populated.
- Record, publish on Commons, then wait 2 weeks : there are Wikidata+Commons bots doing the work you asked.
Legacy behavior
- On legacy, recording via External tools wikidata query provided SDC info so later bots would add the audio pronunciations to the Wikidata item.
Todo
- Pass item ?id down to Vue stores["record-wizard"].items[i] as "qid"
- Pass qid to upload2commons.py as P180
- Write qid into Commons SDC.
- In upload2commons.py, simplify the wikitext : {{Lingua Libre record}} does NOT need parameter when SDC is available.