Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand Czech verbs query #251

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
# tool: scribe-data
# All Czech (Q9056) verbs and a portion of the currently implemented tenses for each.
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)

?infinitive

?presFPS ?presSPS ?presTPS
?presFPP ?presSPP ?presTPP

?FPPImp ?SPSImp ?SPPImp

?femSingularActivePart
?masAnimateSingularActivePart
?masInanimateSingularActivePart
?neutSingularActivePart
?femPluralActivePart
?masAnimatePluralActivePart
?masInanimatePluralActivePart
?neutPluralActivePart

WHERE {
?lexeme dct:language wd:Q9056 ;
wikibase:lexicalCategory wd:Q24905 ;
wikibase:lemma ?infinitive .

# MARK: Indicative Present

OPTIONAL {
?lexeme ontolex:lexicalForm ?presFPSForm .
?presFPSForm ontolex:representation ?presFPS ;
wikibase:grammaticalFeature wd:Q21714344 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q682111 ;
wikibase:grammaticalFeature wd:Q192613 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPSForm .
?presSPSForm ontolex:representation ?presSPS ;
wikibase:grammaticalFeature wd:Q51929049 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q682111 ;
wikibase:grammaticalFeature wd:Q192613 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPSForm .
?presTPSForm ontolex:representation ?presTPS ;
wikibase:grammaticalFeature wd:Q51929074 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q682111 ;
wikibase:grammaticalFeature wd:Q192613 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?presFPPForm .
?presFPPForm ontolex:representation ?presFPP ;
wikibase:grammaticalFeature wd:Q21714344 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q682111 ;
wikibase:grammaticalFeature wd:Q192613 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPPForm .
?presSPPForm ontolex:representation ?presSPP ;
wikibase:grammaticalFeature wd:Q51929049 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q682111 ;
wikibase:grammaticalFeature wd:Q192613 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPPForm .
?presTPPForm ontolex:representation ?presTPP ;
wikibase:grammaticalFeature wd:Q51929074 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q682111 ;
wikibase:grammaticalFeature wd:Q192613 ;
} .

# MARK: Imperative

OPTIONAL {
?lexeme ontolex:lexicalForm ?FPPImpForm .
?FPPImpForm ontolex:representation ?FPPImp ;
wikibase:grammaticalFeature wd:Q21714344 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q22716 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?SPSImpForm .
?SPSImpForm ontolex:representation ?SPSImp ;
wikibase:grammaticalFeature wd:Q51929049 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q22716 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?SPPImpForm .
?SPPImpForm ontolex:representation ?SPPImp ;
wikibase:grammaticalFeature wd:Q51929049 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q22716 ;
} .

# MARK: Active Participle

OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularActivePartForm .
?femSingularActivePartForm ontolex:representation ?femSingularActivePart ;
wikibase:grammaticalFeature wd:Q1775415 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q72249355 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masAnimateSingularActivePartForm .
?masAnimateSingularActivePartForm ontolex:representation ?masAnimateSingularActivePart ;
wikibase:grammaticalFeature wd:Q54020116 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q72249355 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masInanimateSingularActivePartForm .
?masInanimateSingularActivePartForm ontolex:representation ?masInanimateSingularActivePart ;
wikibase:grammaticalFeature wd:Q52943434 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q72249355 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?neutSingularActivePartForm .
?neutSingularActivePartForm ontolex:representation ?neutSingularActivePart ;
wikibase:grammaticalFeature wd:Q1775461 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q72249355 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralActivePartForm .
?femPluralActivePartForm ontolex:representation ?femPluralActivePart ;
wikibase:grammaticalFeature wd:Q1775415 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q72249355 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masAnimatePluralActivePartForm .
?masAnimatePluralActivePartForm ontolex:representation ?masAnimatePluralActivePart ;
wikibase:grammaticalFeature wd:Q54020116 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q72249355 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masInanimatePluralActivePartForm .
?masInanimatePluralActivePartForm ontolex:representation ?masInanimatePluralActivePart ;
wikibase:grammaticalFeature wd:Q52943434 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q72249355 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?neutPluralActivePartForm .
?neutPluralActivePartForm ontolex:representation ?neutPluralActivePart ;
wikibase:grammaticalFeature wd:Q1775461 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q72249355 ;
} .
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# tool: scribe-data
# All Czech (Q9056) verbs and a portion of the currently implemented tenses for each.
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)

?femSingularPassivePart
?masAnimateSingularPassivePart
?masInanimateSingularPassivePart
?neutSingularPassivePart
?femPluralPassivePart
?masAnimatePluralPassivePart
?masInanimatePluralPassivePart
?neutPluralPassivePart

?femSingularPastTransgressive
?masAnimateSingularPastTransgressive
?masInanimateSingularPastTransgressive
?neutSingularPastTransgressive
?femPluralPastTransgressive
?masAnimatePluralPastTransgressive
?masInanimatePluralPastTransgressive
?neutPluralPastTransgressive

WHERE {
?lexeme dct:language wd:Q9056 ;
wikibase:lexicalCategory wd:Q24905 .

# MARK: Passive Participle

OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularPassivePartForm .
?femSingularPassivePartForm ontolex:representation ?femSingularPassivePart ;
wikibase:grammaticalFeature wd:Q1775415 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q72249544 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masAnimateSingularPassivePartForm .
?masAnimateSingularPassivePartForm ontolex:representation ?masAnimateSingularPassivePart ;
wikibase:grammaticalFeature wd:Q54020116 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q72249544 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masInanimateSingularPassivePartForm .
?masInanimateSingularPassivePartForm ontolex:representation ?masInanimateSingularPassivePart ;
wikibase:grammaticalFeature wd:Q52943434 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q72249544 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?neutSingularPassivePartForm .
?neutSingularPassivePartForm ontolex:representation ?neutSingularPassivePart ;
wikibase:grammaticalFeature wd:Q1775461 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q72249544 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralPassivePartForm .
?femPluralPassivePartForm ontolex:representation ?femPluralPassivePart ;
wikibase:grammaticalFeature wd:Q1775415 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q72249544 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masAnimatePluralPassivePartForm .
?masAnimatePluralPassivePartForm ontolex:representation ?masAnimatePluralPassivePart ;
wikibase:grammaticalFeature wd:Q54020116 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q72249544 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masInanimatePluralPassivePartForm .
?masInanimatePluralPassivePartForm ontolex:representation ?masInanimatePluralPassivePart ;
wikibase:grammaticalFeature wd:Q52943434 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q72249544 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?neutPluralPassivePartForm .
?neutPluralPassivePartForm ontolex:representation ?neutPluralPassivePart ;
wikibase:grammaticalFeature wd:Q1775461 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q72249544 ;
} .

# MARK: Past Transgressive

OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularPastTransgressiveForm .
?femSingularPastTransgressiveForm ontolex:representation ?femSingularPastTransgressive ;
wikibase:grammaticalFeature wd:Q1775415 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q12750232 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masAnimateSingularPastTransgressiveForm .
?masAnimateSingularPastTransgressiveForm ontolex:representation ?masAnimateSingularPastTransgressive ;
wikibase:grammaticalFeature wd:Q54020116 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q12750232 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masInanimateSingularPastTransgressiveForm .
?masInanimateSingularPastTransgressiveForm ontolex:representation ?masInanimateSingularPastTransgressive ;
wikibase:grammaticalFeature wd:Q52943434 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q12750232 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?neutSingularPastTransgressiveForm .
?neutSingularPastTransgressiveForm ontolex:representation ?neutSingularPastTransgressive ;
wikibase:grammaticalFeature wd:Q1775461 ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q12750232 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralPastTransgressiveForm .
?femPluralPastTransgressiveForm ontolex:representation ?femPluralPastTransgressive ;
wikibase:grammaticalFeature wd:Q1775415 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q12750232 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masAnimatePluralPastTransgressiveForm .
?masAnimatePluralPastTransgressiveForm ontolex:representation ?masAnimatePluralPastTransgressive ;
wikibase:grammaticalFeature wd:Q54020116 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q12750232 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?masInanimatePluralPastTransgressiveForm .
?masInanimatePluralPastTransgressiveForm ontolex:representation ?masInanimatePluralPastTransgressive ;
wikibase:grammaticalFeature wd:Q52943434 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q12750232 ;
} .

OPTIONAL {
?lexeme ontolex:lexicalForm ?neutPluralPastTransgressiveForm .
?neutPluralPastTransgressiveForm ontolex:representation ?neutPluralPastTransgressive ;
wikibase:grammaticalFeature wd:Q1775461 ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q12750232 ;
} .
}
Loading