Skip to content

Commit

Permalink
Created query_adjectives.sparql to extract Esperanto adjectives from …
Browse files Browse the repository at this point in the history
…wikidata
  • Loading branch information
KesharwaniArpita authored Oct 6, 2024
1 parent 56436ef commit e1dcd46
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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") .
}

0 comments on commit e1dcd46

Please sign in to comment.