-
Notifications
You must be signed in to change notification settings - Fork 0
/
etymology.rq
29 lines (28 loc) · 1.01 KB
/
etymology.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
25
26
27
28
29
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX powla: <http://purl.org/powla/powla.owl#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX lilaCorpus: <http://lila-erc.eu/ontologies/lila_corpora/>
PREFIX lemonEty: <http://lari-datasets.ilc.cnr.it/lemonEty#>
PREFIX lime: <http://www.w3.org/ns/lemon/lime#>
prefix lila: <http://lila-erc.eu/ontologies/lila/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
# Retrieve all lemmas with a proto-italic reconstructed form
SELECT ?lemma ?wrs
{
{
SELECT ?lemma (GROUP_CONCAT(?wr ;
separator=", ") as ?wrs) {
?le a ontolex:LexicalEntry ;
ontolex:canonicalForm ?lemma ;
lemonEty:etymology ?e .
?e lemonEty:etymon ?pieety .
?pieety lime:language "PIt" ;
rdfs:label ?pie .
?lemma ontolex:writtenRep ?wr
}group by ?lemma
}
?tokenURI lila:hasLemma ?lemma .
}
group by ?lemma ?wrs