diff --git a/src/scribe_data/language_data_extraction/Esperanto/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Esperanto/adjectives/query_adjectives.sparql new file mode 100644 index 00000000..87e64c02 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Esperanto/adjectives/query_adjectives.sparql @@ -0,0 +1,17 @@ +# tool: scribe-data +# All Esperanto (Q143) adjectives. +# Enter this query at https://query.wikidata.org/. + +SELECT DISTINCT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adjective + +WHERE { + # Select lexemes in Esperanto that are adjectives + ?lexeme dct:language wd:Q143 ; + wikibase:lexicalCategory wd:Q34698 ; # Adjective category + wikibase:lemma ?adjective . + + # Ensure we get only the lexeme forms that are adjectives in Esperanto + FILTER(LANG(?adjective) = "eo") . +}