Anonymous

NeoVoc: Difference between revisions

From eneoli wikibase
36 bytes added ,  4 months ago
Line 64: Line 64:
} group by ?language ?equivalents order by desc(?equivalents)
} group by ?language ?equivalents order by desc(?equivalents)
</sparql>
</sparql>
The following query shows the coverage of concept entries with equivalents in different languages, but counting only those that have been validated (i.e., where there remains no warning qualifier attached to them).
The following query shows the coverage of concept entries with equivalents in different languages, but counting only those that have been validated (i.e., where a "validated by" qualifier has been attached to the equivalent).
<sparql tryit="1">
<sparql tryit="1">
#title:Number of equivalents present in NeoVoc concept entries (validated equivalents only)
#title:Number of equivalents present in NeoVoc concept entries (validated equivalents only)
Line 79: Line 79:
where {
where {
   ?concept endp:P5 enwb:Q12. # instances of "NeoVoc Concept"
   ?concept endp:P5 enwb:Q12. # instances of "NeoVoc Concept"
   ?concept enp:P57 ?equiv_st. ?equiv_st enps:P57 ?equiv. filter not exists {?equiv_st enpq:P58 ?warning.}
   ?concept enp:P57 ?equiv_st. ?equiv_st enps:P57 ?equiv. ?equiv_st enpq:P64 [rdfs:label ?validator]. filter(lang(?validator)="en")
   bind (lang(?equiv) as ?language)
   bind (lang(?equiv) as ?language)
} group by ?language ?equivalents order by desc(?equivalents)
} group by ?language ?equivalents order by desc(?equivalents)
</sparql>
</sparql>