-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #345 from Ekikereabasi-Nk/adverb_estonian_query
Estonian verb data query
- Loading branch information
Showing
5 changed files
with
274 additions
and
0 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
src/scribe_data/language_data_extraction/Estonian/verbs/query_verbs_1.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# tool: scribe-data | ||
# All Estonian verbs and their present and past indicative forms. | ||
# Enter this query at https://query.wikidata.org/ | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?verb | ||
?presentIndicativeSingular | ||
?presentIndicativePlural | ||
?pastIndicativeSingular | ||
?pastIndicativePlural | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9072 ; | ||
wikibase:lexicalCategory wd:Q24905 ; | ||
wikibase:lemma ?verb . | ||
|
||
# MARK: Present Indicative Singular | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?presentIndicativeSingularForm . | ||
?presentIndicativeSingularForm ontolex:representation ?presentIndicativeSingular ; | ||
wikibase:grammaticalFeature wd:Q192613 ; | ||
wikibase:grammaticalFeature wd:Q682111 ; | ||
wikibase:grammaticalFeature wd:Q110786 . | ||
} | ||
|
||
# MARK: Present Indicative Plural | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?presentIndicativePluralForm . | ||
?presentIndicativePluralForm ontolex:representation ?presentIndicativePlural ; | ||
wikibase:grammaticalFeature wd:Q192613 ; | ||
wikibase:grammaticalFeature wd:Q682111 ; | ||
wikibase:grammaticalFeature wd:Q146786 . | ||
} | ||
|
||
# MARK: Past Indicative Singular | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pastIndicativeSingularForm . | ||
?pastIndicativeSingularForm ontolex:representation ?pastIndicativeSingular ; | ||
wikibase:grammaticalFeature wd:Q1994301 ; | ||
wikibase:grammaticalFeature wd:Q682111 ; | ||
wikibase:grammaticalFeature wd:Q110786 . | ||
} | ||
|
||
# MARK: Past Indicative Plural | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pastIndicativePluralForm . | ||
?pastIndicativePluralForm ontolex:representation ?pastIndicativePlural ; | ||
wikibase:grammaticalFeature wd:Q1994301 ; | ||
wikibase:grammaticalFeature wd:Q682111 ; | ||
wikibase:grammaticalFeature wd:Q146786 . | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
src/scribe_data/language_data_extraction/Estonian/verbs/query_verbs_2.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# tool: scribe-data | ||
# All Estonian verbs and their present and past conditional forms. | ||
# Enter this query at https://query.wikidata.org/ | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?verb | ||
?presentConditionalSingular | ||
?presentConditionalPlural | ||
?pastConditionalSingular | ||
?pastConditionalPlural | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9072 ; | ||
wikibase:lexicalCategory wd:Q24905 ; | ||
wikibase:lemma ?verb . | ||
|
||
# MARK: Present Conditional Singular | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?presentConditionalSingularForm . | ||
?presentConditionalSingularForm ontolex:representation ?presentConditionalSingular ; | ||
wikibase:grammaticalFeature wd:Q192613 ; | ||
wikibase:grammaticalFeature wd:Q625581 ; | ||
wikibase:grammaticalFeature wd:Q110786 . | ||
} | ||
|
||
# MARK: Present Conditional Plural | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?presentConditionalPluralForm . | ||
?presentConditionalPluralForm ontolex:representation ?presentConditionalPlural ; | ||
wikibase:grammaticalFeature wd:Q192613 ; | ||
wikibase:grammaticalFeature wd:Q625581 ; | ||
wikibase:grammaticalFeature wd:Q146786 . | ||
} | ||
|
||
# MARK: Past Conditional Singular | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pastConditionalSingularForm . | ||
?pastConditionalSingularForm ontolex:representation ?pastConditionalSingular ; | ||
wikibase:grammaticalFeature wd:Q1994301 ; | ||
wikibase:grammaticalFeature wd:Q625581 ; | ||
wikibase:grammaticalFeature wd:Q110786 . | ||
} | ||
|
||
# MARK: Past Conditional Plural | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pastConditionalPluralForm . | ||
?pastConditionalPluralForm ontolex:representation ?pastConditionalPlural ; | ||
wikibase:grammaticalFeature wd:Q1994301 ; | ||
wikibase:grammaticalFeature wd:Q625581 ; | ||
wikibase:grammaticalFeature wd:Q146786 . | ||
} | ||
} |
79 changes: 79 additions & 0 deletions
79
src/scribe_data/language_data_extraction/Estonian/verbs/query_verbs_3.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# tool: scribe-data | ||
# All Estonian verbs and their imperative and negated forms. | ||
# Enter this query at https://query.wikidata.org/ | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?verb | ||
?imperativeSPS | ||
?imperativeFPP | ||
?imperativeSPP | ||
?imperativeImpersonal | ||
?negativePresent | ||
?negativePast | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9072 ; | ||
wikibase:lexicalCategory wd:Q24905 ; | ||
wikibase:lemma ?verb . | ||
|
||
# MARK: Imperative Second Person Singular | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?imperativeSPSForm . | ||
?imperativeSPSForm ontolex:representation ?imperativeSPS ; | ||
wikibase:grammaticalFeature wd:Q22716 ; | ||
wikibase:grammaticalFeature wd:Q51929049 ; | ||
wikibase:grammaticalFeature wd:Q110786 ; | ||
wikibase:grammaticalFeature wd:Q192613 . | ||
} | ||
|
||
# MARK: Imperative First Person Plural | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?imperativeFPPForm . | ||
?imperativeFPPForm ontolex:representation ?imperativeFPP ; | ||
wikibase:grammaticalFeature wd:Q22716 ; | ||
wikibase:grammaticalFeature wd:Q21714344 ; | ||
wikibase:grammaticalFeature wd:Q146786 ; | ||
wikibase:grammaticalFeature wd:Q192613 . | ||
} | ||
|
||
# MARK: Imperative Second Person Plural | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?imperativeSPPForm . | ||
?imperativeSPPForm ontolex:representation ?imperativeSPP ; | ||
wikibase:grammaticalFeature wd:Q22716 ; | ||
wikibase:grammaticalFeature wd:Q51929049 ; | ||
wikibase:grammaticalFeature wd:Q146786 ; | ||
wikibase:grammaticalFeature wd:Q192613 . | ||
} | ||
|
||
# MARK: Imperative Impersonal | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?imperativeImpersonalForm . | ||
?imperativeImpersonalForm ontolex:representation ?imperativeImpersonal ; | ||
wikibase:grammaticalFeature wd:Q22716 ; | ||
wikibase:grammaticalFeature wd:Q1509829 . | ||
} | ||
|
||
# MARK: Negative Present | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?negativePresentForm . | ||
?negativePresentForm ontolex:representation ?negativePresent ; | ||
wikibase:grammaticalFeature wd:Q1478451 ; | ||
wikibase:grammaticalFeature wd:Q192613 . | ||
} | ||
|
||
# MARK: Negative Past | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?negativePastForm . | ||
?negativePastForm ontolex:representation ?negativePast ; | ||
wikibase:grammaticalFeature wd:Q1478451 ; | ||
wikibase:grammaticalFeature wd:Q1994301 . | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/scribe_data/language_data_extraction/Estonian/verbs/query_verbs_4.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# tool: scribe-data | ||
# All Estonian verbs and their participles (present and past). | ||
# Enter this query at https://query.wikidata.org/ | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?verb | ||
?presentParticiple | ||
?pastParticiple | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9072 ; | ||
wikibase:lexicalCategory wd:Q24905 ; | ||
wikibase:lemma ?verb . | ||
|
||
# MARK: Present Participle | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?presentParticipleForm . | ||
?presentParticipleForm ontolex:representation ?presentParticiple ; | ||
wikibase:grammaticalFeature wd:Q10345583 . | ||
} | ||
|
||
# MARK: Past Participle | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pastParticipleForm . | ||
?pastParticipleForm ontolex:representation ?pastParticiple ; | ||
wikibase:grammaticalFeature wd:Q1994301 ; | ||
wikibase:grammaticalFeature wd:Q10345583 . | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
src/scribe_data/language_data_extraction/Estonian/verbs/query_verbs_5.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# tool: scribe-data | ||
# All Estonian verbs and their non-finite forms (Des-form, Supine, Infinitive). | ||
# Enter this query at https://query.wikidata.org/ | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?verb | ||
?des | ||
?supine | ||
?quotative | ||
?impersonal | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9072 ; | ||
wikibase:lexicalCategory wd:Q24905 ; | ||
wikibase:lemma ?verb . | ||
|
||
# MARK: Des | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?desForm . | ||
?desForm ontolex:representation ?des ; | ||
wikibase:grammaticalFeature wd:Q12360803 . | ||
} | ||
|
||
# MARK: Supine | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?supineForm . | ||
?supineForm ontolex:representation ?supine ; | ||
wikibase:grammaticalFeature wd:Q548470 . | ||
} | ||
|
||
# MARK: Quotative | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?quotativeForm . | ||
?quotativeForm ontolex:representation ?quotative ; | ||
wikibase:grammaticalFeature wd:Q7272884 . | ||
} | ||
|
||
# MARK: Impersonal | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?impersonalForm . | ||
?impersonalForm ontolex:representation ?impersonal ; | ||
wikibase:grammaticalFeature wd:Q1509829 . | ||
} | ||
} |