From 5124bb61676939a73c977afa9608add7ac30aaea Mon Sep 17 00:00:00 2001 From: Veronicah Waiganjo <162584326+VNW22@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:26:05 +0300 Subject: [PATCH 1/2] Update query_adjectives.sparql --- .../Swahili/adjectives/query_adjectives.sparql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Swahili/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Swahili/adjectives/query_adjectives.sparql index eb303730..f7d24a9c 100644 --- a/src/scribe_data/language_data_extraction/Swahili/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Swahili/adjectives/query_adjectives.sparql @@ -4,12 +4,12 @@ SELECT DISTINCT ?adjectiveForm WHERE { - # Retrieve Swahili lexemes - ?lexeme dct:language wd:Q7838 ; # Q7838 refers to Swahili - wikibase:lexicalCategory wd:Q34698 ; # Q34698 refers to adjectives + + ?lexeme dct:language wd:Q7838 ; + wikibase:lexicalCategory wd:Q34698 ; wikibase:lemma ?lemma . - # Optional block to retrieve adjective form + OPTIONAL { ?lexeme ontolex:lexicalForm ?adjectiveLexicalForm . ?adjectiveLexicalForm ontolex:representation ?adjectiveForm . From c8c49b689513f234f9c3ba264432a189929cb110 Mon Sep 17 00:00:00 2001 From: Veronicah Waiganjo <162584326+VNW22@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:25:56 +0300 Subject: [PATCH 2/2] Update query_adjectives.sparql