-
Notifications
You must be signed in to change notification settings - Fork 61
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 #314 from VNW22/Expand-Japanese-data-queries
Added adverbs and prepositions for japanese
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/scribe_data/language_data_extraction/Japanese/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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# tool: scribe-data | ||
# All Japanese (Q5287) adverbs. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?adverb | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q5287 ; | ||
wikibase:lexicalCategory wd:Q380057 ; | ||
wikibase:lemma ?adverb . | ||
FILTER(lang(?adverb) = "ja-hira") | ||
} |
14 changes: 14 additions & 0 deletions
14
src/scribe_data/language_data_extraction/Japanese/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,14 @@ | ||
# tool: scribe-data | ||
# All Japanese (Q5287) prepositions. | ||
# 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:Q5287 ; | ||
wikibase:lexicalCategory wd:Q4833830 ; | ||
wikibase:lemma ?preposition . | ||
FILTER(lang(?preposition) = "ja-hira") | ||
} |