Skip to content

Commit

Permalink
Merge pull request #434 from Ekikereabasi-Nk/Igbo_data_queries
Browse files Browse the repository at this point in the history
Igbo data queries
  • Loading branch information
andrewtavis authored Oct 20, 2024
2 parents fc73d4b + 7430253 commit aec9854
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tool: scribe-data
# All Estonian (Q380057) adverbs (Q380057) and the given forms.
# Enter this query at https://query.wikidata.org/
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tool: scribe-data
# All Estonian (Q380057) adverbs (Q380057) and the given forms.
# Enter this query at https://query.wikidata.org/
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tool: scribe-data
# All Estonian (Q9072) verbs (Q24905) and the given forms.
# Enter this query at https://query.wikidata.org/
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# tool: scribe-data
# All Igbo (Q33578) adjective (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
?singular
?plural

WHERE {
?lexeme dct:language wd:Q33578;
wikibase:lexicalCategory wd:Q34698;
wikibase:lemma ?adjective .

# MARK: Singular

OPTIONAL {
?lexeme ontolex:lexicalForm ?singularForm .
?singularForm ontolex:representation ?singular ;
wikibase:grammaticalFeature wd:Q110786 .
}

# MARK: Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?pluralForm .
?pluralForm ontolex:representation ?plural ;
wikibase:grammaticalFeature wd:Q146786 .
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tool: scribe-data
# All Igbo (Q33578) adverbs and the given forms.
# All Igbo (Q33578) 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,13 @@
# tool: scribe-data
# All Igbo (Q33578) nouns (Q1084) and the given forms.
# Enter this query at https://query.wikidata.org/.

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

WHERE {
?lexeme dct:language wd:Q33578 ;
wikibase:lexicalCategory wd:Q1084 ;
wikibase:lemma ?noun .
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# tool: scribe-data
# All Igbo (Q33578) 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
?contraction

WHERE {
?lexeme dct:language wd:Q33578 ;
wikibase:lexicalCategory wd:Q4833830 ;
wikibase:lemma ?preposition .

# MARK: Contraction

OPTIONAL {
?lexeme ontolex:lexicalForm ?contractionForm .
?contractionForm ontolex:representation ?contraction ;
wikibase:grammaticalFeature wd:Q126473 .
}
}

0 comments on commit aec9854

Please sign in to comment.