From f1f5d806febe6a3909a1321a8bbae29cf1bf51a4 Mon Sep 17 00:00:00 2001 From: Omar Agiez Date: Wed, 16 Oct 2024 16:41:14 +0300 Subject: [PATCH] simple sparql query for fetching Tamil adjectives from wikidata --- .../Tamil/adjectives/query_adjectives.sparql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/scribe_data/language_data_extraction/Tamil/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Tamil/adjectives/query_adjectives.sparql index e69de29bb..059f1ce28 100644 --- a/src/scribe_data/language_data_extraction/Tamil/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Tamil/adjectives/query_adjectives.sparql @@ -0,0 +1,15 @@ +# tool: scribe-data +# All Tamil (Q5885) 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:Q5885 ; + wikibase:lexicalCategory wd:Q34698 ; + wikibase:lemma ?adjective . + + FILTER(lang(?adjective) = "ta") +}