-
Notifications
You must be signed in to change notification settings - Fork 0
/
Velez_count_notes_distinct.rq
22 lines (19 loc) · 1.07 KB
/
Velez_count_notes_distinct.rq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
###############################################
# TITLE: Velez's Dictionary: distinct sense-related notes
# DESCRIPTION: Counts the numbers of distinct lexinfo:notes related to LexicalSense class items in the Velez's dictionary.
###############################################
PREFIX lila: <http://lila-erc.eu/ontologies/lila/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX lime: <http://www.w3.org/ns/lemon/lime#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX skos: <http://www.w3.org/2004/02/skos#>
PREFIX lexinfo: <http://www.lexinfo.net/ontology/2.0/lexinfo#>
# Counts the numbers of distinct lexinfo:notes related to LexicalSense class items in the Velez's dictionary.
SELECT DISTINCT (count(?lexinfo_note) as ?occurrences) ?lexinfo_note
WHERE {
<http://lila-erc.eu/data/lexicalResources/LatinPortuguese/Velez/Lexicon>
lime:entry ?lexentry .
?lexentry ontolex:sense ?senseURI .
?senseURI lexinfo:note ?lexinfo_note .
} order by desc(?occurrences)