-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #434 from Ekikereabasi-Nk/Igbo_data_queries
Igbo data queries
- Loading branch information
Showing
7 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_1.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_2.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/scribe_data/language_data_extraction/Estonian/verbs/query_verbs.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/scribe_data/language_data_extraction/Igbo/adjectives/query_adjectives.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/scribe_data/language_data_extraction/Igbo/adverbs/query_adverbs.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/scribe_data/language_data_extraction/Igbo/nouns/query_nouns.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | ||
} |
22 changes: 22 additions & 0 deletions
22
src/scribe_data/language_data_extraction/Igbo/prepositions/query_prepositions.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | ||
} | ||
} |