NeoVoc/language/fr: Difference between revisions
(recreate wiki page using upload_lang_page.py) |
(recreate wiki page using upload_lang_page.py) |
||
Line 65: | Line 65: | ||
} order by lcase(?label_mylang) | } order by lcase(?label_mylang) | ||
</sparql> | </sparql> | ||
=== NeoVoc lexical entries in French === | |||
* We will create these after providing equivalents in the concept entries | |||
<sparql tryit="1"> | |||
#title: All NeoVoc French lexical entries | |||
PREFIX enwb: <https://eneoli.wikibase.cloud/entity/> | |||
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/> | |||
select ?lexical_entry ?lemma ?sense ?sense_gloss ?concept ?conceptLabel (iri(concat(str(wd:),?wd)) as ?wikidata) | |||
where { | |||
?lexical_entry a ontolex:LexicalEntry; dct:language enwb:Q98; wikibase:lemma ?lemma; ontolex:sense ?sense. | |||
optional {?sense endp:P12 ?concept. optional {?sense skos:definition ?sense_gloss.} | |||
optional {?concept endp:P1 ?wd.} | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr". }} | |||
} | |||
</sparql> | |||
'This page will be updated automatically, don't edit it (last edited on June 14, 2024). | 'This page will be updated automatically, don't edit it (last edited on June 14, 2024). | ||
For discussion in the group working on this language, you may use [[Talk:NeoVoc/language/fr]].' | For discussion in the group working on this language, you may use [[Talk:NeoVoc/language/fr]].' |
Revision as of 18:30, 14 June 2024
Neovoc for French
Workflow steps
Concepts Multilingual equivalents
We create concepts starting from terms that we collect in French or English (i.e., results of ENEOLI WG1 Task 1). That is, entities describing concepts will have only French or English equivalents in the beginning. In order to ease the manual provision of equivalents in more languages, and in order to get drafted concept glosses (=very short definitions, just for word sense discrimination), we get what is there for the concept on Wikidata.
First goal is the validate all concept labels that have been imported for your language from Wikidata. For this, Use the second query, and see a list of concept entries that contain a warning attached to the label of your language. Click on the ID of the entry (first column), and decide:
- If the imported label is fine, remove the warning (click "edit" next to the "equivalent" in your language, and send the "warning" qualifier to the trash, and save).
- If the imported label is to be replaced, replace it by clicking "edit" next to the "equivalent" in your language, and correct the label. Also, send the Wikidata warning to the trash before saving.
- From time to time, the label in the upper part of the entry ("labels" section) will be updated according to what you enter as "equivalent" in your language in the "statements" section.
Second goal will be to provide missing equivalents in your language. For this, use the first query. The first lines are those that are still not defined. To define an equivalent, enter the entry page by clicking on the ID in the first row, and click on "add value" in the "equivalents" property section.
Linguistic description (lexicographical view)
For concept labels in your language where you have removed the warning, or where you have provided an equivalent in the "statements" section of the concept entity page, we will create a dictionary entry. The linguistic discription of the term will go there.
- We will soon decide on the type of information to be collected in each term's dictionary entry.
See the content of NeoVoc for French
All NeoVoc concept entries
#title: All NeoVoc concepts with labels and glosses in French, and English and French labels and glosses.
PREFIX enwb: <https://eneoli.wikibase.cloud/entity/>
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/>
PREFIX enp: <https://eneoli.wikibase.cloud/prop/>
PREFIX enps: <https://eneoli.wikibase.cloud/prop/statement/>
PREFIX enpq: <https://eneoli.wikibase.cloud/prop/qualifier/>
select ?concept ?label_mylang ?warning ?descript_mylang (iri(concat(str(wd:),?wd)) as ?wikidata) ?label_en ?descript_en ?label_fr ?descript_fr
where {
?concept endp:P5 enwb:Q12. # instances of "NeoVoc Concept"
optional {?concept endp:P1 ?wd.}
optional {?concept rdfs:label ?label_en. filter(lang(?label_en)="en")}
optional {?concept rdfs:label ?label_fr. filter(lang(?label_fr)="fr")}
optional {?concept enp:P57 ?label_st. ?label_st enps:P57 ?label_mylang. filter(lang(?label_mylang)="fr")
optional {?label_st enpq:P58 ?warning.}}
optional {?concept schema:description ?descript_en. filter(lang(?descript_en)="en")}
optional {?concept schema:description ?descript_fr. filter(lang(?descript_fr)="fr")}
optional {?concept schema:description ?descript_mylang. filter(lang(?descript_mylang)="fr")}
} order by lcase(?label_mylang)
NeoVoc entries with labels for French that still have warnings
#title: NeoVoc concepts with warnings on French labels.
PREFIX enwb: <https://eneoli.wikibase.cloud/entity/>
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/>
PREFIX enp: <https://eneoli.wikibase.cloud/prop/>
PREFIX enps: <https://eneoli.wikibase.cloud/prop/statement/>
PREFIX enpq: <https://eneoli.wikibase.cloud/prop/qualifier/>
select ?concept ?label_mylang ?warning ?descript_mylang (iri(concat(str(wd:),?wd)) as ?wikidata) ?label_en ?descript_en ?label_fr ?descript_fr
where {
?concept endp:P5 enwb:Q12. # instances of "NeoVoc Concept"
optional {?concept endp:P1 ?wd.}
optional {?concept rdfs:label ?label_en. filter(lang(?label_en)="en")}
optional {?concept rdfs:label ?label_fr. filter(lang(?label_fr)="fr")}
?concept enp:P57 ?label_st. ?label_st enps:P57 ?label_mylang. filter(lang(?label_mylang)="fr")
optional {?label_st enpq:P58 ?warning.}
optional {?concept schema:description ?descript_en. filter(lang(?descript_en)="en")}
optional {?concept schema:description ?descript_fr. filter(lang(?descript_fr)="fr")}
optional {?concept schema:description ?descript_mylang. filter(lang(?descript_mylang)="fr")}
} order by lcase(?label_mylang)
NeoVoc lexical entries in French
- We will create these after providing equivalents in the concept entries
#title: All NeoVoc French lexical entries
PREFIX enwb: <https://eneoli.wikibase.cloud/entity/>
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/>
select ?lexical_entry ?lemma ?sense ?sense_gloss ?concept ?conceptLabel (iri(concat(str(wd:),?wd)) as ?wikidata)
where {
?lexical_entry a ontolex:LexicalEntry; dct:language enwb:Q98; wikibase:lemma ?lemma; ontolex:sense ?sense.
optional {?sense endp:P12 ?concept. optional {?sense skos:definition ?sense_gloss.}
optional {?concept endp:P1 ?wd.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr". }}
}
'This page will be updated automatically, don't edit it (last edited on June 14, 2024).
For discussion in the group working on this language, you may use Talk:NeoVoc/language/fr.'