-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Created a folder for Dagbani language * Added verb query for Dagbani language * created a verb folder and moved verb_query.sparql for into it * Added adjectiven query for Dagbani language * Removed extra whitspace in query_nouns.sparql * Added noun query for Dagbani language * Remove repeat and empty files and fix queries * Add Dagbani to the metadata file --------- Co-authored-by: Andrew Tavis McAllister <[email protected]>
- Loading branch information
1 parent
6698840
commit d88a191
Showing
3 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
src/scribe_data/language_data_extraction/Dagbani/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 | ||
# Dagbani (Q32238) adjectives 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:Q32238 ; | ||
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 . | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
src/scribe_data/language_data_extraction/Dagbani/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# tool: scribe-data | ||
# Dagbani (Q32238) verbs and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?verb | ||
?presentContinuous | ||
?past | ||
?future | ||
?imperative | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q32238 ; | ||
wikibase:lexicalCategory wd:Q24905 ; | ||
wikibase:lemma ?verb . | ||
|
||
# MARK: Present Continuous | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?presentContinuousForm . | ||
?presentContinuousForm ontolex:representation ?presentContinuous ; | ||
wikibase:grammaticalFeature wd:Q7240943 . | ||
} | ||
|
||
# MARK: Past | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pastForm . | ||
?pastForm ontolex:representation ?past ; | ||
wikibase:grammaticalFeature wd:Q1994301 . | ||
} | ||
|
||
# MARK: Future | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?futureForm . | ||
?futureForm ontolex:representation ?future ; | ||
wikibase:grammaticalFeature wd:Q501405 . | ||
} | ||
|
||
# MARK: Imperative | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?imperativeForm . | ||
?imperativeForm ontolex:representation ?imperative ; | ||
wikibase:grammaticalFeature wd:Q22716 . | ||
} | ||
} |
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