Help
Difference between revisions of "Create your own lists/oc"
(Created page with "== Generar listas tre requèstas ==") |
|||
Line 25: | Line 25: | ||
</inputbox> | </inputbox> | ||
− | == Generar listas | + | == Generar de listas a partir de requèstas == |
It is possible to generate lists coming from Wikidata Items or Lexemes (using [https://query.wikidata.org/ Wikidata's Query Service]) or Petscan. | It is possible to generate lists coming from Wikidata Items or Lexemes (using [https://query.wikidata.org/ Wikidata's Query Service]) or Petscan. |
Revision as of 14:36, 18 June 2021
- Aquesta pagina es en encambament ambHelp:Lists. Fusion o diferenciacion benvenguda .
Lo RecordWizard permet a qual que siá d'importar de mots a enregistrar dins de listas existentas. Aquestas listas son de paginas wiki, situadas dins l'espaci de nom "List". Atal, quin contributor que siá connectat pòt crear sas listas pròpias o modificar las que son existentas.
Explorar las listas existentas
Crear una lista novèla
Las listas son entrepausadas sus Lingua Libre coma paginas wiki. Lor nom es estandardizat ; comença per lo còdi ISO 639-3 de la lenga utilizada per la lista (veire la lista completa aquí), seguit peu un slash "/" e, per acabar, per lo nom que volètz donar a la lista. Per exemple, per una lista d'ortalha en anglés : Eng/Vegetables
.
Picatz lo nom de la vòstra lista (coma aquò es explicat dins lo paragraf precedent) dins la boita de tèxte çai-jos per crear la lista. Poiretz apondre de mots mai tard. Aqueles devon èstre formatats com aquò :
- un mot per linha;
- Davant los mots, se pòt apondre un
#
o un*
a la debuta de la linha; - Botètz pas de comentari dins la vòstra lista perque serián tractats coma mots que cal enregistrar.
Generar de listas a partir de requèstas
It is possible to generate lists coming from Wikidata Items or Lexemes (using Wikidata's Query Service) or Petscan.
- To generate lists from Wikidata
- go to the 3rd step of the Record Wizard ("Details")
- click on the button "External tools" on the bottom right corner
- in the dialog window that appears, you can add the link of a Wikidata query and choose the number of words you want to get from it
- Requirements for the query
- The query must return the Qid (or the Lid-Fid for Forms) in a column named "?id", and the corresponding text in a column named "?label"
- The link must be a link to the query interface (not the direct result) and should not be shortened
Examples of queries that you can use or edit
SELECT ?id ?label
{
?id wdt:P31/wdt:P279* wd:Q484170 ;
wdt:P131 wd:Q12589.
?id rdfs:label ?label.
FILTER(lang(?label) = "fr").
}
SELECT ?id ?label
WHERE {
?l a ontolex:LexicalEntry ; dct:language wd:Q150 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
?id ontolex:representation ?label .
FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
}
SELECT ?id ?label
WHERE {
?l a ontolex:LexicalEntry ; dct:language wd:Q1860 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
?id ontolex:representation ?label .
FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
}
Multi-lingual wordlist
Multi-lingual wordlist --wordlist including the translation of target words-- are not supported at the moment. An issue have been opened on LinguaLibre developments and bugs tracking system (T211086).