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 and Refactor Latin Verb Query to Focus on Present Tense Forms #495

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# tool: scribe-data
# All Latin (Q397) verbs in the present tense with the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?verb
?SecondSingularImperativeActive
?FirstSingularSubjunctiveActive
?SecondPluralSubjunctivePassive
?SecondPluralSubjunctiveActive
?FirstPluralSubjunctiveActive
?ThirdPluralSubjunctiveActive
?ThirdPluralPassiveActive
?FirstSingularIndActive
?FirstSingularSubjunctivePassive
?SecondSingularSubjunctivePassive
?ThirdSingularSubjunctiveActive
?ThirdSingularSubjunctivePassive

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

# Common value for Present Tense
VALUES ?presentTense { wd:Q192613 }

# Second Person, Singular, Present Tense, Imperative, Active
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondSingularImperativeActiveForm .
?SecondSingularImperativeActiveForm ontolex:representation ?SecondSingularImperativeActive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, ?presentTense, wd:Q22716, wd:Q1317831 .
}

# First Person, Singular, Present Tense, Subjunctive, Active
OPTIONAL {
?lexeme ontolex:lexicalForm ?FirstSingularSubjunctiveActiveForm .
?FirstSingularSubjunctiveActiveForm ontolex:representation ?FirstSingularSubjunctiveActive ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, ?presentTense, wd:Q473746, wd:Q1317831 .
}

# Second Person, Plural, Present Tense, Subjunctive, Passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondPluralSubjunctivePassiveForm .
?SecondPluralSubjunctivePassiveForm ontolex:representation ?SecondPluralSubjunctivePassive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, ?presentTense, wd:Q473746, wd:Q1194697 .
}

# Second Person, Plural, Present Tense, Subjunctive, Active
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondPluralSubjunctiveActiveForm .
?SecondPluralSubjunctiveActiveForm ontolex:representation ?SecondPluralSubjunctiveActive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, ?presentTense, wd:Q473746, wd:Q1317831 .
}

# First Person, Plural, Present Tense, Subjunctive, Active
OPTIONAL {
?lexeme ontolex:lexicalForm ?FirstPluralSubjunctiveActiveForm .
?FirstPluralSubjunctiveActiveForm ontolex:representation ?FirstPluralSubjunctiveActive ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, ?presentTense, wd:Q473746, wd:Q1317831 .
}

# Third Person, Plural, Present Tense, Subjunctive, Active
OPTIONAL {
?lexeme ontolex:lexicalForm ?ThirdPluralSubjunctiveActiveForm .
?ThirdPluralSubjunctiveActiveForm ontolex:representation ?ThirdPluralSubjunctiveActive ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, ?presentTense, wd:Q473746, wd:Q1317831 .
}

# Third Person, Plural, Present Tense, Subjunctive, Passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?ThirdPluralSubjunctivePassiveForm .
?ThirdPluralSubjunctivePassiveForm ontolex:representation ?ThirdPluralPassiveActive ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, ?presentTense, wd:Q473746, wd:Q1194697 .
}

# First Person, Singular, Present Tense, Indicative, Passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?FirstSingularIndActiveForm .
?FirstSingularIndActiveForm ontolex:representation ?FirstSingularIndActive ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, ?presentTense, wd:Q682111, wd:Q1194697 .
}

# First Person, Singular, Present Tense, Subjunctive, Passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?FirstSingularSubjunctivePassiveForm .
?FirstSingularSubjunctivePassiveForm ontolex:representation ?FirstSingularSubjunctivePassive ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, ?presentTense, wd:Q473746, wd:Q1194697 .
}

# Second Person, Singular, Present Tense, Subjunctive, Passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondSingularSubjunctivePassiveForm .
?SecondSingularSubjunctivePassiveForm ontolex:representation ?SecondSingularSubjunctivePassive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, ?presentTense, wd:Q473746, wd:Q1194697 .
}

# Third Person, Singular, Present Tense, Subjunctive, Active
OPTIONAL {
?lexeme ontolex:lexicalForm ?ThirdSingularSubjunctiveActiveForm .
?ThirdSingularSubjunctiveActiveForm ontolex:representation ?ThirdSingularSubjunctiveActive ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, ?presentTense, wd:Q473746, wd:Q1317831 .
}

# Third Person, Singular, Present Tense, Subjunctive, Passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?ThirdSingularSubjunctivePassiveForm .
?ThirdSingularSubjunctivePassiveForm ontolex:representation ?ThirdSingularSubjunctivePassive ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, ?presentTense, wd:Q473746, wd:Q1194697 .
}
}
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
?NeuterAccusativeSingularActiveParticiple
?NominativeSingularActiveParticiple
?VocativeSingularActiveParticiple
?AblativeSingularActiveParticiple


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 ?NeuterAccusativeSingularActiveParticipleForm .
?NeuterAccusativeSingularActiveParticipleForm ontolex:representation ?NeuterAccusativeSingularActiveParticiple ;
wikibase:grammaticalFeature wd:Q1775461, wd:Q146078, wd:Q110786, ?presenttense, wd:Q1317831, wd:Q814722 .
}

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

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

# ablative case, singular, present tense, active, participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?AblativeSingularActiveParticipleForm .
?AblativeSingularActiveParticipleForm ontolex:representation ?AblativeSingularActiveParticiple ;
wikibase:grammaticalFeature wd:Q156986, wd:Q110786, ?presenttense, wd:Q1317831, wd:Q814722 .
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# tool: scribe-data
# All Latin (Q397) verbs and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?verb
?ThirdPluralIndicativePassive
?ThirdPluralIndicativeActive
?FirstSingularIndicativePassive
?ThirdSingularIndicativePassive
?SecondSingularIndicativeActive
?ThirdSingularIndicativeActive
?FirstPluralIndicativePassive
?FirstPluralIndicativeActive
?SecondPluralIndicativePassive
?SecondPluralActivePassive
?SecondPluralImperativePassive


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

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

# third person, plural, present tense, indicative, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?ThirdPluralIndicativePassiveForm .
?ThirdPluralIndicativePassiveForm ontolex:representation ?ThirdPluralIndicativePassive ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, ?presenttense, wd:Q682111, wd:Q1194697 .
}

# third person, plural, present tense, indicative, active
OPTIONAL {
?lexeme ontolex:lexicalForm ?ThirdPluralIndicativeActiveForm .
?ThirdPluralIndicativeActiveForm ontolex:representation ?ThirdPluralIndicativeActive ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, ?presenttense, wd:Q682111, wd:Q1317831 .
}

# first person, singular, present tense, indicative, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?FirstSingularIndicativePassiveForm .
?FirstSingularIndicativePassiveForm ontolex:representation ?FirstSingularIndicativePassive ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, ?presenttense, wd:Q682111, wd:Q1194697 .
}

# third person, singular, present tense, indicative, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?ThirdSingularIndicativePassiveForm .
?ThirdSingularIndicativePassiveForm ontolex:representation ?ThirdSingularIndicativePassive ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, ?presenttense, wd:Q682111, wd:Q1194697 .
}

# second person, singular, present tense, indicative, active
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondSingularIndicativeActiveForm .
?SecondSingularIndicativeActiveForm ontolex:representation ?SecondSingularIndicativeActive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, ?presenttense, wd:Q682111, wd:Q1317831 .
}

# third person, singular, present tense, indicative, active
OPTIONAL {
?lexeme ontolex:lexicalForm ?ThirdSingularIndicativeActiveForm .
?ThirdSingularIndicativeActiveForm ontolex:representation ?ThirdSingularIndicativeActive ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, ?presenttense, wd:Q682111, wd:Q1317831 .
}

# first person, plural, present tense, indicative, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?FirstPluralIndicativePassiveForm .
?FirstPluralIndicativePassiveForm ontolex:representation ?FirstPluralIndicativePassive ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, ?presenttense, wd:Q682111, wd:Q1194697 .
}

# first person, plural, present tense, indicative, active
OPTIONAL {
?lexeme ontolex:lexicalForm ?FirstPluralIndicativeActiveForm .
?FirstPluralIndicativeActiveForm ontolex:representation ?FirstPluralIndicativeActive ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, ?presenttense, wd:Q682111, wd:Q1317831 .
}

# second person, plural, present tense, indicative, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondPluralIndicativePassiveForm .
?SecondPluralIndicativePassiveForm ontolex:representation ?SecondPluralIndicativePassive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, ?presenttense, wd:Q682111, wd:Q1194697 .
}

# second person, plural, present tense, imperative, active
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondPluralImperativeActiveForm .
?SecondPluralImperativeActiveForm ontolex:representation ?SecondPluralActivePassive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, ?presenttense, wd:Q22716, wd:Q1317831 .
}

# second person, plural, present tense, imperative, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondPluralImperativePassiveForm .
?SecondPluralImperativePassiveForm ontolex:representation ?SecondPluralImperativePassive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, ?presenttense, wd:Q22716, wd:Q1194697 .
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# tool: scribe-data
# All Latin (Q397) verbs and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?verb
?SecondSingularIndicativePassive
?SecondSingularImpPassive
?ZeroInfinitivePassive
?ZeroInfinitiveActive
?GenitiveSingularActiveParticiple
?GenitivePluralActiveParticiple


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

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


# second person, singular, present tense, indicative, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondSingularIndicativePassiveForm .
?SecondSingularIndicativePassiveForm ontolex:representation ?SecondSingularIndicativePassive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, ?presenttense, wd:Q682111, wd:Q1194697 .
}

# second person, singular, present tense, imperative, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?SecondSingularImpPassiveForm .
?SecondSingularImpPassiveForm ontolex:representation ?SecondSingularImpPassive ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, ?presenttense, wd:Q22716, wd:Q1194697 .
}

# zero person, present tense, infinitive, passive
OPTIONAL {
?lexeme ontolex:lexicalForm ?ZeroInfinitivePassiveForm .
?ZeroInfinitivePassiveForm ontolex:representation ?ZeroInfinitivePassive ;
wikibase:grammaticalFeature wd:Q88778575, ?presenttense, wd:Q179230, wd:Q1194697 .
}

# zero person, present tense, infinitive, active
OPTIONAL {
?lexeme ontolex:lexicalForm ?ZeroInfinitiveActiveForm .
?ZeroInfinitiveActiveForm ontolex:representation ?ZeroInfinitiveActive ;
wikibase:grammaticalFeature wd:Q88778575, ?presenttense, wd:Q179230, wd:Q1317831 .
}

# genitive case, singular, present tense, active, participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?GenitiveSingularActiveParticipleForm .
?GenitiveSingularActiveParticipleForm ontolex:representation ?GenitiveSingularActiveParticiple ;
wikibase:grammaticalFeature wd:Q146233, wd:Q110786, ?presenttense, wd:Q1317831, wd:Q814722 .
}

# genitive case, plural, present tense, active, participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?GenitivePluralActiveParticipleForm .
?GenitivePluralActiveParticipleForm ontolex:representation ?GenitivePluralActiveParticiple ;
wikibase:grammaticalFeature wd:Q146233, wd:Q146786, ?presenttense, wd:Q1317831, wd:Q814722 .
}
}
Loading
Loading