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

Completed Hebrew Queries #205

Merged
merged 3 commits into from
Oct 2, 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
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?singular .

# Optional selection of indefinite plural forms.
# MARK: Indefinte Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?pluralForm .
?pluralForm ontolex:representation ?plural ;
wikibase:grammaticalFeature wd:Q53997857 ;
wikibase:grammaticalFeature wd:Q146786 ;
} .

# Optional selection of indefinite dual form.
# MARK: Indefinte Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?dualForm .
?dualForm ontolex:representation ?dual ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WHERE {
wikibase:lexicalCategory wd:Q24905 ;
wikibase:lemma ?verb .

# Indicative Present
# MARK: Present

OPTIONAL {
?lexeme ontolex:lexicalForm ?presFPSForm .
?presFPSForm ontolex:representation ?presFPS ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WHERE {
wikibase:lexicalCategory wd:Q24905 ;
wikibase:lemma ?verb .

# Performative Past
# MARK: Performative Past

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastFPSForm .
?pastFPSForm ontolex:representation ?pastFPS ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ WHERE {
wikibase:lexicalCategory wd:Q24905 ;
wikibase:lemma ?verb .

# Imperative
# MARK: Imperative

OPTIONAL {
?lexeme ontolex:lexicalForm ?impSPSMForm .
?impSPSMForm ontolex:representation ?impSPSM ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?absIndefinite .

# Optional selection of absolutive singular forms.
# MARK: Absolutive Singular

OPTIONAL {
?lexeme ontolex:lexicalForm ?absSingularForm .
?absSingularForm ontolex:representation ?absSingular ;
wikibase:grammaticalFeature wd:Q332734 ;
wikibase:grammaticalFeature wd:Q110786 ;
} .

# Optional selection of absolutive plural forms.
# MARK: Absolutive Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?absPluralForm .
?absPluralForm ontolex:representation ?absPlural ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,32 @@ WHERE {
?lexeme dct:language wd:Q9610 ;
wikibase:lexicalCategory ?nounTypes ;

# Optional selection of nominative form.
# MARK: Nminative

OPTIONAL {
?lexeme ontolex:lexicalForm ?nomForm .
?nomForm ontolex:representation ?nominative ;
wikibase:grammaticalFeature wd:Q131105 ;
} .

# Optional selection of genitive form.
# MARK: Genitive

OPTIONAL {
?lexeme ontolex:lexicalForm ?genForm .
?genForm ontolex:representation ?genitive ;
wikibase:grammaticalFeature wd:Q146233 ;
} .

# Optional selection of accusative form.
# MARK: Accusative

OPTIONAL {
?lexeme ontolex:lexicalForm ?accForm .
?accForm ontolex:representation ?accusative ;
wikibase:grammaticalFeature wd:Q146078 ;
} .

# Optional selection of locative form.
# MARK: Locative

OPTIONAL {
?lexeme ontolex:lexicalForm ?locForm .
?locForm ontolex:representation ?locative ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ WHERE {
wikibase:lexicalCategory ?prePostPositions ;
wikibase:lemma ?preposition .

# Optional selection of corresponding cases.
# MARK: Corresponding Case

OPTIONAL {
?lexeme wdt:P5713 ?caseForm .
} .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,35 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?indefSingular .

# Optional selection of definite singular forms.
# MARK: Definite Singular

OPTIONAL {
?lexeme ontolex:lexicalForm ? ?defSingularForm .
?defSingularForm ontolex:representation ?defSingular ;
wikibase:grammaticalFeature wd:Q110786 ;
wikibase:grammaticalFeature wd:Q53997851 ;
} .

# Optional selection of indefinite plural forms.
# MARK: Indefinite Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?indefPluralForm .
?indefPluralForm ontolex:representation ?indefPlural ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q53997857 ;
} .

# Optional selection of definite plural forms.
# MARK: Definite Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?defPluralForm .
?defPluralForm ontolex:representation ?defPlural ;
wikibase:grammaticalFeature wd:Q146786 ;
wikibase:grammaticalFeature wd:Q53997851 ;
} .

# Optional selection of genders.
# MARK: Gender(s)

OPTIONAL {
?lexeme wdt:P5185 ?nounGender .
FILTER NOT EXISTS {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ WHERE {
?lexeme dct:language wd:Q25167 ;
wikibase:lexicalCategory wd:Q24905 .

# Infinitive (required)
# MARK: Infinitive

?lexeme ontolex:lexicalForm ?infinitiveForm .
?infinitiveForm ontolex:representation ?infinitive ;
wikibase:grammaticalFeature wd:Q179230 ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,26 @@ WHERE {
?lexeme dct:language wd:Q9056 ;
wikibase:lexicalCategory ?nounTypes .

# Optional selection of nominative singular forms.
# MARK: Nominative Singular

OPTIONAL {
?lexeme ontolex:lexicalForm ?nomSingularForm .
?nomSingularForm ontolex:representation ?nomSingular ;
wikibase:grammaticalFeature wd:Q131105 ;
wikibase:grammaticalFeature wd:Q110786 ;
} .

# Optional selection of nominative plural forms.
# MARK: Nominative Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?nomPluralForm .
?nomPluralForm ontolex:representation ?nomPlural ;
wikibase:grammaticalFeature wd:Q131105 ;
wikibase:grammaticalFeature wd:Q146786 ;
} .

# Optional selection of genders.
# MARK: Gender(s)

OPTIONAL {
?lexeme wdt:P5185 ?nounGender .
FILTER NOT EXISTS {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ WHERE {
wikibase:lexicalCategory wd:Q4833830 ;
wikibase:lemma ?lemma .

# Optional selection of corresponding cases.
# MARK: Corresponding Cases

OPTIONAL {
?lexeme wdt:P5713 ?caseForm .
} .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ WHERE {
?lexeme dct:language wd:Q9056 ;
wikibase:lexicalCategory wd:Q24905 .

# Infinitive (required)
# MARK: Infinitive

?lexeme ontolex:lexicalForm ?infinitiveForm .
?infinitiveForm ontolex:representation ?infinitive ;
wikibase:grammaticalFeature wd:Q179230 ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?singular .

# Optional selection of plural forms.
# MARK: Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?pluralForm .
?pluralForm ontolex:representation ?plural ;
wikibase:grammaticalFeature wd:Q146786 ;
} .

# Optional selection of genders.
# MARK: Gender(s)

OPTIONAL {
?lexeme wdt:P5185 ?nounGender .
FILTER NOT EXISTS {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ WHERE {
?lexeme dct:language wd:Q9035 ;
wikibase:lexicalCategory wd:Q24905 .

# Infinitive (required)
# MARK: Infinitive

?lexeme ontolex:lexicalForm ?infinitiveForm .
?infinitiveForm ontolex:representation ?infinitive ;
wikibase:grammaticalFeature wd:Q179230 ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?singular .

# Optional selection of plural forms.
# MARK: Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?pluralForm .
?pluralForm ontolex:representation ?plural ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ SELECT DISTINCT
?pastPart

WHERE {
# Infinitive (required)
# MARK: Infinitive

?lexeme dct:language wd:Q1860 ;
wikibase:lexicalCategory wd:Q24905 ;
wikibase:lemma ?infinitive .

# Simple Present
# MARK: Simple Present
OPTIONAL {
?lexeme ontolex:lexicalForm ?presSimpForm .
?presSimpForm ontolex:representation ?presSimp ;
Expand All @@ -28,7 +29,7 @@ WHERE {
FILTER(LANG(?presSimp) = "en") .
} .

# Third-person Singular
# MARK: Third-person Singular
OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPSForm .
?presTPSForm ontolex:representation ?presTPS ;
Expand All @@ -40,7 +41,7 @@ WHERE {
FILTER(LANG(?presTPS) = "en") .
} .

# Present Participle
# MARK: Present Participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?presPartForm .
?presPartForm ontolex:representation ?presPart ;
Expand All @@ -50,7 +51,7 @@ WHERE {
FILTER(LANG(?presPart) = "en") .
} .

# Simple Past
# MARK: Simple Past
OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSimpForm .
?pastSimpForm ontolex:representation ?pastSimp ;
Expand All @@ -60,7 +61,7 @@ WHERE {
FILTER(LANG(?pastSimp) = "en") .
} .

# Past Participle
# MARK: Past Participle
OPTIONAL {
?lexeme ontolex:lexicalForm ?pastPartForm .
?pastPartForm ontolex:representation ?pastPart ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,26 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?nomSingular .

# Optional selection of accusative singular forms.
# MARK: Accusative Singular

OPTIONAL {
?lexeme ontolex:lexicalForm ?accSingularForm .
?accSingularForm ontolex:representation ?accSingular ;
wikibase:grammaticalFeature wd:Q146078 ;
wikibase:grammaticalFeature wd:Q110786 ;
} .

# Optional selection of nominative plural forms.
# MARK: Nominative Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?nomPluralForm .
?nomPluralForm ontolex:representation ?nomPlural ;
wikibase:grammaticalFeature wd:Q131105 ;
wikibase:grammaticalFeature wd:Q146786 ;
} .

# Optional selection of accusative plural forms.
# MARK: Accusative Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?accPluralForm .
?accPluralForm ontolex:representation ?accPlural ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?singular .

# Optional selection of plural forms.
# MARK: Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?pluralForm .
?pluralForm ontolex:representation ?plural ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ WHERE {
wikibase:lexicalCategory ?prePostPositions ;
wikibase:lemma ?preposition .

# Optional selection of corresponding cases.
# MARK: Corresponding Case

OPTIONAL {
?lexeme wdt:P5713 ?caseForm .
} .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ WHERE {
?lexeme dct:language wd:Q9072 ;
wikibase:lexicalCategory wd:Q24905 .

# Infinitive (required)
# MARK: Infinitive

?lexeme ontolex:lexicalForm ?infinitiveForm .
?infinitiveForm ontolex:representation ?infinitive ;
wikibase:grammaticalFeature wd:Q179230 ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?nomSingular .

# Optional selection of nominative plural forms.
# MARK: Nominative Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?nomPluralForm .
?nomPluralForm ontolex:representation ?nomPlural ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ WHERE {
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?singular .

# Optional selection of plural forms.
# MARK: Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?pluralForm .
?pluralForm ontolex:representation ?plural ;
wikibase:grammaticalFeature wd:Q146786 ;
} .

# Optional selection of genders.
# MARK: Gender(s)

OPTIONAL {
?lexeme wdt:P5185 ?nounGender .
FILTER NOT EXISTS {
Expand Down
Loading
Loading