Skip to content

Commit

Permalink
Merge pull request #430 from VNW22/Expand-Tajik-Data-Queries
Browse files Browse the repository at this point in the history
Add Dagbani adverbs and prepositions
  • Loading branch information
andrewtavis authored Oct 19, 2024
2 parents c838e3a + 1500a4e commit ad0d6d6
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# tool: scribe-data
# All Dagbani (Q32238) adverbs and the given forms.
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?adverb
?adverbial
?plural
?presentTense
?adverbialLocation
?pastTense
?singular
?adverbOfManner
?phrase
?locativeAdverb

WHERE {
?lexeme dct:language wd:Q32238 ;
wikibase:lexicalCategory wd:Q380057 ;
wikibase:lemma ?adverb .

OPTIONAL {
?lexeme ontolex:lexicalForm ?adverbialForm .
?adverbialForm ontolex:representation ?adverbial ;
wikibase:grammaticalFeature wd:Q380012 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pluralForm .
?pluralForm ontolex:representation ?plural ;
wikibase:grammaticalFeature wd:Q146786 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presentTenseForm .
?presentTenseForm ontolex:representation ?presentTense ;
wikibase:grammaticalFeature wd:Q192613 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?adverbialLocationForm .
?adverbialLocationForm ontolex:representation ?adverbialLocation ;
wikibase:grammaticalFeature wd:Q5978303 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTenseForm .
?pastTenseForm ontolex:representation ?pastTense ;
wikibase:grammaticalFeature wd:Q1994301 .
}

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

OPTIONAL {
?lexeme ontolex:lexicalForm ?adverbOfMannerForm .
?adverbOfMannerForm ontolex:representation ?adverbOfManner ;
wikibase:grammaticalFeature wd:Q113320444 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?phraseForm .
?phraseForm ontolex:representation ?phrase ;
wikibase:grammaticalFeature wd:Q187931 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?locativeAdverbForm .
?locativeAdverbForm ontolex:representation ?locativeAdverb ;
wikibase:grammaticalFeature wd:Q1522423 .
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# tool: scribe-data
# All Dagbani (Q32238) prepositions and the given forms.
# Enter this query at https://query.wikidata.org/.

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

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

0 comments on commit ad0d6d6

Please sign in to comment.