Skip to content

Commit

Permalink
Merge branch 'main' into italian-verb-query
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis authored Oct 16, 2024
2 parents 87575fa + 367f7df commit 339a977
Show file tree
Hide file tree
Showing 231 changed files with 2,251 additions and 1,255 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Arabic (Q13955) adjectives.
# All Arabic (Q13955) adjectives 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.
# All Arabic (Q13955) adverbs 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.
# All Arabic (Q13955) nouns and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand Down Expand Up @@ -35,10 +35,8 @@ SELECT
?masPluralPausalIndef

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q13955 ;
wikibase:lexicalCategory ?nounTypes ;
wikibase:lexicalCategory wd:Q1084 ;
wikibase:lemma ?noun .

# MARK: Nominative
Expand All @@ -48,42 +46,42 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularNominativeIndefForm .
?femSingularNominativeIndefForm ontolex:representation ?femSingularNominativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q131105, wd:Q53997857 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q131105, wd:Q53997857 .
}

# MARK: Accusative

Expand All @@ -92,42 +90,42 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularAccusativeIndefForm .
?femSingularAccusativeIndefForm ontolex:representation ?femSingularAccusativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146078, wd:Q53997857 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146078, wd:Q53997857 .
}

# MARK: Genitive

Expand All @@ -136,42 +134,42 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularGanitiveIndefForm .
?femSingularGanitiveIndefForm ontolex:representation ?femSingularGanitiveIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146233, wd:Q53997857 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146233, wd:Q53997857 .
}

# MARK: Pausal

Expand All @@ -180,40 +178,40 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularPausalIndefForm .
?femSingularPausalIndefForm ontolex:representation ?femSingularPausalIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q117262361, wd:Q53997857 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
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 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q117262361, wd:Q53997857 .
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# tool: scribe-data
# All Arabic (Q13955) proper nouns and the given forms.
# Enter this query at https://query.wikidata.org/.

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

WHERE {
?lexeme dct:language wd:Q13955 ;
wikibase:lexicalCategory wd:Q147276 ;
wikibase:lemma ?properNoun .
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Arabic (Q13955) verbs and a portion of the currently implemented tenses for each.
# All Arabic (Q13955) verbs and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand All @@ -19,66 +19,66 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?presFPSForm .
?presFPSForm ontolex:representation ?presFPS ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q12230930
} .
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
} .
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
} .
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
} .
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
} .
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
} .
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
} .
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
} .
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
} .
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
} .
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
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}
}
Loading

0 comments on commit 339a977

Please sign in to comment.