-
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.
Rename Igbo data queries SPARQL files
- Loading branch information
1 parent
c7d0f7a
commit d69ba6b
Showing
6 changed files
with
65 additions
and
78 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...on/Igbo/adjectives/adjective_query.sparql → ...n/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
69 changes: 0 additions & 69 deletions
69
src/scribe_data/language_data_extraction/Igbo/adverbs/adverb_query.sparql
This file was deleted.
Oops, something went wrong.
66 changes: 61 additions & 5 deletions
66
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,69 @@ | ||
# tool: scribe-data | ||
# All Igbo (Q33578) adverbs and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
# Igbo (Q33578) adverbs (Q380057) and their corresponding grammatical features. | ||
# Enter this query at https://query.wikidata.org/ | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?adverb | ||
|
||
?adverbialPhrase | ||
?pastParticiple | ||
?synonym | ||
?adverbial | ||
?determiner | ||
?futureTense | ||
?noun | ||
WHERE { | ||
?lexeme dct:language wd:Q33578 ; | ||
wikibase:lexicalCategory wd:Q380057 ; | ||
wikibase:lemma ?adverb . | ||
wikibase:lexicalCategory wd:Q380057 ; | ||
wikibase:lemma ?adverb . | ||
|
||
# MARK: Adverbial phrases | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?adverbialPhraseForm . | ||
?adverbialPhraseForm ontolex:representation ?adverbialPhrase ; | ||
wikibase:grammaticalFeature wd:Q3734650 . | ||
} | ||
|
||
# MARK: Past participles | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pastParticipleForm . | ||
?pastParticipleForm ontolex:representation ?pastParticiple ; | ||
wikibase:grammaticalFeature wd:Q12717679 . | ||
} | ||
|
||
# MARK: Synonyms | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?synonymForm . | ||
?synonymForm ontolex:representation ?synonym ; | ||
wikibase:grammaticalFeature wd:Q42106 . | ||
} | ||
|
||
# MARK: Adverbials | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?adverbialForm . | ||
?adverbialForm ontolex:representation ?adverbial ; | ||
wikibase:grammaticalFeature wd:Q380012. | ||
} | ||
|
||
# MARK: Determiners | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?determinerForm . | ||
?determinerForm ontolex:representation ?determiner ; | ||
wikibase:grammaticalFeature wd:Q576271 . | ||
} | ||
|
||
# MARK: Future tense forms | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?futureTenseForm . | ||
?futureTenseForm ontolex:representation ?futureTense ; | ||
wikibase:grammaticalFeature wd:Q501405 . | ||
} | ||
|
||
# MARK: Nouns | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?nounForm . | ||
?nounForm ontolex:representation ?noun ; | ||
wikibase:grammaticalFeature wd:Q1084 . | ||
} | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...extraction/Igbo/nouns/noun_query_1.sparql → ...xtraction/Igbo/nouns/query_nouns_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
...extraction/Igbo/nouns/noun_query_2.sparql → ...xtraction/Igbo/nouns/query_nouns_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
...gbo/prepositions/preposition_query.sparql → ...bo/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