-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUDante-affix.rq
23 lines (21 loc) · 1.04 KB
/
UDante-affix.rq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PREFIX powla: <http://purl.org/powla/powla.owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
prefix lilacorpora: <http://lila-erc.eu/ontologies/lila_corpora/>
prefix lila: <http://lila-erc.eu/ontologies/lila/>
# Given an affix (e.g. “in- (negative)”), find all the occurrences of lemma with such affixin UDante and ITTB
SELECT ?samePrefixLemmaLabel ?docTitle
WHERE {
VALUES ?copora {
<http://lila-erc.eu/data/corpora/ITTB/id/corpus> <http://lila-erc.eu/data/corpora/UDante/id/corpus>
}
?samePrefixLemma lila:hasPrefix <http://lila-erc.eu/data/id/prefix/20> .
?token rdf:type powla:Terminal;
lila:hasLemma ?samePrefixLemma .
?token powla:hasLayer/powla:hasDocument ?doc.
?doc dc:title ?docTitle .
?token powla:hasLayer/powla:hasDocument/^powla:hasSubDocument ?copora .
?samePrefixLemma rdfs:label ?samePrefixLemmaLabel.
}group by ?samePrefixLemma ?samePrefixLemmaLabel ?docTitle
order by ?samePrefixLemma ?docTitle