Skip to content

Commit a959967

Browse files
author
Giovanni Moretti
committed
inflection tagset query
1 parent fec5f1b commit a959967

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

definitions.json

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
"title": "Corpora",
1919
"description": "Lists all the corpora currently available in the LiLa Knowledge Base",
2020
"file": "corpora.rq"
21+
},
22+
{
23+
"title": "LiLa ontology - Inflection tagset",
24+
"description": "Get inflection tagset of LiLa ontology",
25+
"file": "flCat.rq"
2126
},
2227
{
2328
"title": "Lewis & Short Dictionary",

flCat.rq

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
2+
PREFIX lila: <http://lila-erc.eu/ontologies/lila/>
3+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
4+
5+
# Get inflection tagset of LiLa ontology
6+
7+
SELECT * WHERE {
8+
?type rdfs:subClassOf lila:InflectionType.
9+
?inflClass rdfs:subClassOf ?type.
10+
?inflType rdf:type ?inflClass;
11+
rdfs:label ?inflTypeLabel.
12+
}
13+
order by ?type ?inflClass ?inflType
14+

0 commit comments

Comments
 (0)