Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dagbani dir #416

Merged
merged 8 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 .
}
}
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 .
}
}
4 changes: 4 additions & 0 deletions src/scribe_data/resources/language_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"iso": "cs",
"qid": "Q9056"
},
"dagbani": {
"iso": "dag",
"qid": "Q32238"
},
"danish": {
"iso": "da",
"qid": "Q9035"
Expand Down
Loading