NeoVoc: Difference between revisions
From eneoli wikibase
No edit summary |
|||
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 | * '''Access a page containing information about the tasks related to NeoVoc, regarding the language you are working on [[NeoVoc/language|here]].''' | ||
== SPARQL queries == | == SPARQL queries == | ||
Line 26: | Line 22: | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr". } | ||
} | } | ||
</sparql> | |||
=== Coverage of NeoVoc concepts with mutlilingual equivalents === | |||
<sparql tryit="1"> | |||
#title:Number of equivalents present in the NeoVoc data | |||
#defaultView:BarChart | |||
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 ?language (count(?concept) as ?labels) | |||
where { | |||
?concept endp:P5 enwb:Q12. # instances of "NeoVoc Concept" | |||
?concept rdfs:label ?label. | |||
bind (lang(?label) as ?language) | |||
} group by ?language ?labels order by desc(?labels) | |||
</sparql> | </sparql> |
Revision as of 17:30, 14 June 2024
NeoVoc, a glossary of Neology
- Access a page containing information about the tasks related to NeoVoc, regarding the language you are working on here.
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". }
}
Coverage of NeoVoc concepts with mutlilingual equivalents
#title:Number of equivalents present in the NeoVoc data
#defaultView:BarChart
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 ?language (count(?concept) as ?labels)
where {
?concept endp:P5 enwb:Q12. # instances of "NeoVoc Concept"
?concept rdfs:label ?label.
bind (lang(?label) as ?language)
} group by ?language ?labels order by desc(?labels)