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

Add adjectives, adverbs, prepositions and verbs query #417

Merged
merged 5 commits into from
Oct 19, 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
1 change: 1 addition & 0 deletions src/scribe_data/check/check_project_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"French",
"Indonesian",
"Latin",
"Latvian",
"Portuguese",
"Swedish",
"Danish",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Arabic (Q13955) adjectives and the given forms.
# All Arabic (Q13955) adjectives (Q34698) and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Arabic (Q13955) adverbs and the given forms.
# All Arabic (Q13955) adverbs (Q380057) and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Arabic (Q13955) nouns and the given forms.
# All Arabic (Q13955) nouns (Q1084) and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand Down Expand Up @@ -47,41 +47,41 @@ WHERE {
?lexeme ontolex:lexicalForm ?femSingularNominativeIndefForm .
?femSingularNominativeIndefForm ontolex:representation ?femSingularNominativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q131105, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masSingularNominativeIndefForm .
?masSingularNominativeIndefForm ontolex:representation ?masSingularNominativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q131105, wd:Q53997857 .
}
}

# Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?femDualNominativeIndefForm .
?femDualNominativeIndefForm ontolex:representation ?femDualNominativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q131105, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masDualNominativeIndefForm .
?masDualNominativeIndefForm ontolex:representation ?masDualNominativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q131105, wd:Q53997857 .
}
}

# Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralNominativeIndefForm .
?femPluralNominativeIndefForm ontolex:representation ?femPluralNominativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q131105, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masPluralNominativeIndefForm .
?masPluralNominativeIndefForm ontolex:representation ?masPluralNominativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q131105, wd:Q53997857 .
}
}

# MARK: Accusative

Expand All @@ -91,41 +91,41 @@ WHERE {
?lexeme ontolex:lexicalForm ?femSingularAccusativeIndefForm .
?femSingularAccusativeIndefForm ontolex:representation ?femSingularAccusativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146078, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masSingularAccusativeIndefForm .
?masSingularAccusativeIndefForm ontolex:representation ?masSingularAccusativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146078, wd:Q53997857 .
}
}

# Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?femDualAccusativeIndefForm .
?femDualAccusativeIndefForm ontolex:representation ?femDualAccusativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146078, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masDualAccusativeIndefForm .
?masDualAccusativeIndefForm ontolex:representation ?masDualAccusativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146078, wd:Q53997857 .
}
}

# Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralAccusativeIndefForm .
?femPluralAccusativeIndefForm ontolex:representation ?femPluralAccusativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146078, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masPluralAccusativeIndefForm .
?masPluralAccusativeIndefForm ontolex:representation ?masPluralAccusativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146078, wd:Q53997857 .
}
}

# MARK: Genitive

Expand All @@ -135,41 +135,41 @@ WHERE {
?lexeme ontolex:lexicalForm ?femSingularGanitiveIndefForm .
?femSingularGanitiveIndefForm ontolex:representation ?femSingularGanitiveIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146233, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masSingularGanitiveIndefForm .
?masSingularGanitiveIndefForm ontolex:representation ?masSingularGanitiveIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146233, wd:Q53997857 .
}
}

# Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?femDualGanitiveIndefForm .
?femDualGanitiveIndefForm ontolex:representation ?femDualGanitiveIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146233, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masDualGanitiveIndefForm .
?masDualGanitiveIndefForm ontolex:representation ?masDualGanitiveIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146233, wd:Q53997857 .
}
}

# Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralGanitiveIndefForm .
?femPluralGanitiveIndefForm ontolex:representation ?femPluralGanitiveIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146233, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masPluralGanitiveIndefForm .
?masPluralGanitiveIndefForm ontolex:representation ?masPluralGanitiveIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146233, wd:Q53997857 .
}
}

# MARK: Pausal

Expand All @@ -179,39 +179,39 @@ WHERE {
?lexeme ontolex:lexicalForm ?femSingularPausalIndefForm .
?femSingularPausalIndefForm ontolex:representation ?femSingularPausalIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q117262361, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masSingularPausalIndefForm .
?masSingularPausalIndefForm ontolex:representation ?masSingularPausalIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q117262361, wd:Q53997857 .
}
}

# Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?femDualPausalIndefForm .
?femDualPausalIndefForm ontolex:representation ?femDualPausalIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q117262361, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masDualPausalIndefForm .
?masDualPausalIndefForm ontolex:representation ?masDualPausalIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q117262361, wd:Q53997857 .
}
}

# Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralPausalIndefForm .
?femPluralPausalIndefForm ontolex:representation ?femPluralPausalIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q117262361, wd:Q53997857 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masPluralPausalIndefForm .
?masPluralPausalIndefForm ontolex:representation ?masPluralPausalIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q117262361, wd:Q53997857 .
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Arabic (Q13955) proper nouns and the given forms.
# All Arabic (Q13955) proper nouns (Q147276) and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Arabic (Q13955) verbs and the given forms.
# All Arabic (Q13955) verbs (Q24905) and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand All @@ -20,65 +20,65 @@ WHERE {
?lexeme ontolex:lexicalForm ?presFPSForm .
?presFPSForm ontolex:representation ?presFPS ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q12230930 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPSMForm .
?presSPSMForm ontolex:representation ?presSPSM ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPSFForm .
?presSPSFForm ontolex:representation ?presSPSF ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPSMForm .
?presTPSMForm ontolex:representation ?presTPSM ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPSFForm .
?presTPSFForm ontolex:representation ?presTPSF ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPDForm .
?presSPDForm ontolex:representation ?presSPD ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q682111, wd:Q12230930 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPDMForm .
?presTPDMForm ontolex:representation ?presTPDM ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q499327, wd:Q682111, wd:Q12230930 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPDFForm .
?presTPDFForm ontolex:representation ?presTPDF ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}
}

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

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPPMForm .
?presSPPMForm ontolex:representation ?presSPPM ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q682111, wd:Q12230930 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPPFForm .
?presSPPFForm ontolex:representation ?presSPPF ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Arabic (Q13955) verbs and the given forms.
# All Arabic (Q13955) verbs (Q24905) and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand All @@ -20,65 +20,65 @@ WHERE {
?lexeme ontolex:lexicalForm ?pastFPSForm .
?pastFPSForm ontolex:representation ?pastFPS ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPSMForm .
?pastSPSMForm ontolex:representation ?pastSPSM ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPSFForm .
?pastSPSFForm ontolex:representation ?pastSPSF ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTPSMForm .
?pastTPSMForm ontolex:representation ?pastTPSM ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q499327, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTPSFForm .
?pastTPSFForm ontolex:representation ?pastTPSF ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q1775415, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPDForm .
?pastSPDForm ontolex:representation ?pastSPD ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTPDMForm .
?pastTPDMForm ontolex:representation ?pastTPDM ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q499327, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTPDFForm .
?pastTPDFForm ontolex:representation ?pastTPDF ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q1775415, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastFPPForm .
?pastFPPForm ontolex:representation ?pastFPP ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPPMForm .
?pastSPPMForm ontolex:representation ?pastSPPM ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q1317831, wd:Q124351233 .
}
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPPFForm .
?pastSPPFForm ontolex:representation ?pastSPPF ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q1317831, wd:Q124351233 .
}
}
}
Loading
Loading