Skip to content

Commit

Permalink
Merge pull request #299 from KesharwaniArpita/AKFrench
Browse files Browse the repository at this point in the history
Added Adverbs, Prepositions and Adjective for French
  • Loading branch information
andrewtavis authored Oct 9, 2024
2 parents e2ce7d1 + 8579567 commit 0129ce0
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# tool: scribe-data
# All French (Q150) adjectives.
# Enter this query at https://query.wikidata.org/.

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

WHERE {
?lexeme dct:language wd:Q150 ;
wikibase:lexicalCategory wd:Q34698 ;
wikibase:lemma ?adjective .
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# tool: scribe-data
# All French (Q150) 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:Q150 ;
wikibase:lexicalCategory wd:Q380057 ;
wikibase:lemma ?adverb .
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# tool: scribe-data
# All French (Q150) 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:Q150 ;
wikibase:lexicalCategory wd:Q4833830 ;
wikibase:lemma ?preposition .
}
1 change: 1 addition & 0 deletions tests/cli/test_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def test_list_data_types_all_languages(self, mock_print):
call("Available data types: All languages"),
call("-----------------------------------"),
call("adjectives"),
call("adverbs"),
call("emoji-keywords"),
call("nouns"),
call("prepositions"),
Expand Down

0 comments on commit 0129ce0

Please sign in to comment.