From 13f4728f84acad890404656c6dab13df1d2f246b Mon Sep 17 00:00:00 2001 From: Angel osim <69635048+Otom-obhazi@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:33:41 +0100 Subject: [PATCH 1/2] Update query_adverbs.sparql added comparative --- .../Spanish/adverbs/query_adverbs.sparql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/scribe_data/language_data_extraction/Spanish/adverbs/query_adverbs.sparql b/src/scribe_data/language_data_extraction/Spanish/adverbs/query_adverbs.sparql index 2abb5033f..8188fc5e8 100644 --- a/src/scribe_data/language_data_extraction/Spanish/adverbs/query_adverbs.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/adverbs/query_adverbs.sparql @@ -7,6 +7,7 @@ SELECT ?adverb ?diminutive ?superlative + ?comparative WHERE { ?lexeme dct:language wd:Q1321 ; @@ -28,4 +29,12 @@ WHERE { ?superlativeForm ontolex:representation ?superlative ; wikibase:grammaticalFeature wd:Q1817208 . } + + # MARK: Comparative + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?comparativeForm . + ?comparativeForm ontolex:representation ?comparative ; + wikibase:grammaticalFeature wd:Q14169499 . + } } From 7201596da68b6b5252c6980f45e95b7547780f78 Mon Sep 17 00:00:00 2001 From: Andrew Tavis McAllister Date: Fri, 18 Oct 2024 00:45:43 +0200 Subject: [PATCH 2/2] Remove forms that were accidentally added --- .../Spanish/adverbs/query_adverbs.sparql | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Spanish/adverbs/query_adverbs.sparql b/src/scribe_data/language_data_extraction/Spanish/adverbs/query_adverbs.sparql index 8188fc5e8..084da843f 100644 --- a/src/scribe_data/language_data_extraction/Spanish/adverbs/query_adverbs.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/adverbs/query_adverbs.sparql @@ -5,36 +5,9 @@ SELECT (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) ?adverb - ?diminutive - ?superlative - ?comparative WHERE { ?lexeme dct:language wd:Q1321 ; wikibase:lexicalCategory wd:Q380057 ; wikibase:lemma ?adverb . - - # MARK: Diminutive - - OPTIONAL { - ?lexeme ontolex:lexicalForm ?diminutiveForm . - ?diminutiveForm ontolex:representation ?diminutive ; - wikibase:grammaticalFeature wd:Q108709 . - } - - # MARK: Superlative - - OPTIONAL { - ?lexeme ontolex:lexicalForm ?superlativeForm . - ?superlativeForm ontolex:representation ?superlative ; - wikibase:grammaticalFeature wd:Q1817208 . - } - - # MARK: Comparative - - OPTIONAL { - ?lexeme ontolex:lexicalForm ?comparativeForm . - ?comparativeForm ontolex:representation ?comparative ; - wikibase:grammaticalFeature wd:Q14169499 . - } }