-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcount_Notes_by_PoS.rq
20 lines (18 loc) · 1010 Bytes
/
count_Notes_by_PoS.rq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
###############################################
# TITLE: Velez's Dictionary - counting examples
# DESCRIPTION: Counts the numbers of lexinfo:notes related to LexicalSense class items in the Velez's dictionary by PoS.
###############################################
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX lila: <http://lila-erc.eu/ontologies/lila/>
PREFIX lime: <http://www.w3.org/ns/lemon/lime#>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
# Counts the numbers of lexinfo:notes related to LexicalSense class items in the Velez's dictionary by PoS.
SELECT ?partofspeech (count(?lexinfo) as ?lexinfo_note)
WHERE {
<http://lila-erc.eu/data/lexicalResources/LatinPortuguese/Velez/Lexicon> lime:entry ?lexentry .
?lexentry ontolex:canonicalForm ?lemma ;
ontolex:sense ?sense .
?sense <http://www.lexinfo.net/ontology/2.0/lexinfo#note> ?lexinfo .
?lemma lila:hasPOS ?UPOS.
?UPOS rdfs:label ?partofspeech .
} group by ?partofspeech order by desc(?lexinfo_note)