NeoVoc: Difference between revisions

From eneoli wikibase
(Created page with "= NeoVoc, a glossary of Neology = == Workflow description == In a first phase, we will be creating entities describing concepts, with "labels" (multilingual equivalents for the concept). Later, we will create lexicographical entries for all of these labels. == SPARQL queries == === All NeoVoc concepts === <sparql tryit="1"> #title: All NeoVoc concepts with labels in your browser's language (with English or French as fallback), and English and French descriptions. P...")
 
Line 1: Line 1:
= NeoVoc, a glossary of Neology =
= NeoVoc, a glossary of Neology =
* Access a page containing information about the language you are working on '''[[NeoVoc/language|here]]'''.


== Workflow description ==
== Workflow description ==

Revision as of 16:50, 14 June 2024

NeoVoc, a glossary of Neology

  • Access a page containing information about the language you are working on here.

Workflow description

In a first phase, we will be creating entities describing concepts, with "labels" (multilingual equivalents for the concept). Later, we will create lexicographical entries for all of these labels.

SPARQL queries

All NeoVoc concepts

#title: All NeoVoc concepts with labels in your browser's language (with English or French as fallback), and English and French descriptions.

PREFIX enwb: <https://eneoli.wikibase.cloud/entity/>
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/>

select ?concept ?conceptLabel (iri(concat(str(wd:),?wd)) as ?wikidata) ?descript_en ?descript_fr
       
where { 
  ?concept endp:P5 enwb:Q12. # instances of "NeoVoc Concept"
  optional {?concept endp:P1 ?wd.}
  optional {?concept schema:description ?descript_en. filter(lang(?descript_en)="en")}
  optional {?concept schema:description ?descript_fr. filter(lang(?descript_fr)="fr")}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr". }
}

Try it!