-
Notifications
You must be signed in to change notification settings - Fork 0
/
greek-Aulularia.rq
25 lines (23 loc) · 1.15 KB
/
greek-Aulularia.rq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 lila: <http://lila-erc.eu/ontologies/lila/>
prefix marl: <http://www.gsi.dit.upm.es/ontologies/marl/ns#>
prefix powla: <http://purl.org/powla/powla.owl#>
prefix corpora: <http://lila-erc.eu/ontologies/lila_corpora/>
# Retrieve all lemmas of the "Querolus sive Aulularia" corpus with a Greek etymology (and thus included in the "Index Graecorum Vocabulorum in Linguam Latinam")
select (GROUP_CONCAT(DISTINCT ?wr ;
separator=", ") as ?wrs) ?lemma where {
?le a ontolex:LexicalEntry ;
ontolex:canonicalForm ?lemma .
<http://lila-erc.eu/data/lexicalResources/IGVLL/Lexicon> lime:entry ?le.
?lemma ontolex:writtenRep ?wr .
?lemma <http://lila-erc.eu/ontologies/lila/hasSuffix> ?suf .
?suf rdfs:label ?sufLabel .
VALUES ?sufLabel {
"-or" "-ic"
}
?DocumentLayer powla:hasDocument <http://lila-erc.eu/data/corpora/Querolus/id/citationUnit/QuerolussiveAulularia> .
?tokenQuer <http://lila-erc.eu/ontologies/lila/hasLemma> ?lemma ;
powla:hasLayer ?DocumentLayer.
}group by ?lemma