Skip to content

Commit

Permalink
Create query_verbs_present_tense_2.sparql
Browse files Browse the repository at this point in the history
  • Loading branch information
KesharwaniArpita authored Oct 19, 2024
1 parent a29f7f9 commit 524c662
Showing 1 changed file with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# tool: scribe-data
# All Latin (Q397) verbs and the given cases.
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?verb
?NeuAccSingActPart
?NomSingActPart
?VocSingActPart
?AblSingActPart


WHERE {
?lexeme dct:language wd:Q397 ;
wikibase:lexicalCategory wd:Q24905 ;
wikibase:lemma ?verb .

# Common value for Future Tense
VALUES ?presenttense { wd:Q192613 }

# neuter, accusative case, singular, present tense, active, participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?NeuAccSingActPartForm .
?NeuAccSingActPartForm ontolex:representation ?NeuAccSingActPart ;
wikibase:grammaticalFeature wd:Q1775461, wd:Q146078, wd:Q110786, ?presenttense, wd:Q1317831, wd:Q814722 .
}

# nominative case, singular, present tense, active, participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?NomSingActPartForm .
?NomSingActPartForm ontolex:representation ?NomSingActPart ;
wikibase:grammaticalFeature wd:Q131105, wd:Q110786, ?presenttense, wd:Q1317831, wd:Q814722 .
}

# vocative case, singular, present tense, active, participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?VocSingActPartForm .
?VocSingActPartForm ontolex:representation ?VocSingActPart ;
wikibase:grammaticalFeature wd:Q185077, wd:Q110786, ?presenttense, wd:Q1317831, wd:Q814722 .
}

# ablative case, singular, present tense, active, participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?AblSingActPartForm .
?AblSingActPartForm ontolex:representation ?AblSingActPart ;
wikibase:grammaticalFeature wd:Q156986, wd:Q110786, ?presenttense, wd:Q1317831, wd:Q814722 .
}
}

0 comments on commit 524c662

Please sign in to comment.