Skip to content

Commit

Permalink
#116 base Hausa forms
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Oct 24, 2024
1 parent d35b229 commit 7f5586a
Show file tree
Hide file tree
Showing 10 changed files with 73 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# Dagbani (Q32238) adjectives and the given forms.
# Dagbani (Q32238) 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 Dagbani (Q32238) adverbs and the given forms.
# All Dagbani (Q32238) 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 Greek (Q36510) adjectives and the given forms.
# All Greek (Q36510) 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 Greek (Q36510) adverbs and the given forms.
# All Greek (Q36510) 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
@@ -0,0 +1,38 @@
# tool: scribe-data
# All Hausa (Q56475) adjectives (Q34698) and the given forms.
# Enter this query at https://query.wikidata.org/.

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

WHERE {
?lexeme dct:language wd:Q56475 ;
wikibase:lexicalCategory wd:Q34698 ;
wikibase:lemma ?adjective .
FILTER(lang(?adjective) = "ha")

OPTIONAL {
?lexeme ontolex:lexicalForm ?feminineSingularForm .
?feminineSingularForm ontolex:representation ?feminineSingular ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 .
FILTER(lang(?feminineSingular) = "ha")
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masculineSingularForm .
?masculineSingularForm ontolex:representation ?masculineSingular ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786 .
FILTER(lang(?masculineSingular) = "ha")
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pluralForm .
?pluralForm ontolex:representation ?plural ;
wikibase:grammaticalFeature wd:Q146786 .
FILTER(lang(?plural) = "ha")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# tool: scribe-data
# All Hausa (Q56475) adverbs (Q380057) and the given forms.
# Enter this query at https://query.wikidata.org/.

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

WHERE {
?lexeme dct:language wd:Q56475 ;
wikibase:lexicalCategory wd:Q380057 ;
wikibase:lemma ?adverb .
FILTER(lang(?adverb) = "ha")
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# tool: scribe-data
# All Hausa (Q56475) prepositions (Q4833830) and the given forms.
# Enter this query at https://query.wikidata.org/.

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

WHERE {
?lexeme dct:language wd:Q56475 ;
wikibase:lexicalCategory wd:Q4833830 ;
wikibase:lemma ?preposition .
FILTER(lang(?preposition) = "ha")
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Ibibio (Q33792) adverbs and the given forms.
# All Ibibio (Q33792) 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 Ukrainian (Q8798) adjectives and the given forms.
# All Ukrainian (Q8798) 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 Ukrainian (Q8798) adverbs and the given forms.
# All Ukrainian (Q8798) adverbs (Q380057) and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
Expand Down

0 comments on commit 7f5586a

Please sign in to comment.