diff --git a/docs/source/scribe_data/wikidata/query_profanity.rst b/docs/source/scribe_data/wikidata/query_profanity.rst index c0215a054..a6c2f198f 100644 --- a/docs/source/scribe_data/wikidata/query_profanity.rst +++ b/docs/source/scribe_data/wikidata/query_profanity.rst @@ -24,8 +24,7 @@ Queries all profane words from a given language to be removed from autosuggest o }. FILTER EXISTS {?sense wdt:P6191 ?filter.}. - - } + } ORDER BY lcase(?lemma) diff --git a/src/scribe_data/language_data_extraction/Hausa/proper_nouns/query_proper_nouns.sparql b/src/scribe_data/language_data_extraction/Hausa/proper_nouns/query_proper_nouns.sparql index 6bdf5f3cc..47eee9390 100644 --- a/src/scribe_data/language_data_extraction/Hausa/proper_nouns/query_proper_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Hausa/proper_nouns/query_proper_nouns.sparql @@ -1,5 +1,5 @@ # tool: scribe-data -# All Hausa (Q56475) nouns (Q1084) and the given forms. +# All Hausa (Q56475) proper nouns (Q147276) and the given forms. # Enter this query at https://query.wikidata.org/. SELECT diff --git a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/nouns/query_nouns.sparql index be7fa9da5..dcdad92af 100644 --- a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/nouns/query_nouns.sparql @@ -12,9 +12,9 @@ SELECT WHERE { ?lexeme dct:language wd:Q58635 ; - wikibase:lexicalCategory wd:Q1084 ; - wikibase:lemma ?singular . - FILTER(lang(?singular) = "pa") + wikibase:lexicalCategory wd:Q1084 ; + wikibase:lemma ?singular . + FILTER(lang(?singular) = "pa") # MARK: Plural diff --git a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/proper_nouns/query_proper_nouns.sparql b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/proper_nouns/query_proper_nouns.sparql index 126bd3fb4..3027ba33b 100644 --- a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/proper_nouns/query_proper_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/proper_nouns/query_proper_nouns.sparql @@ -12,9 +12,9 @@ SELECT WHERE { ?lexeme dct:language wd:Q58635 ; - wikibase:lexicalCategory wd:Q147276; - wikibase:lemma ?singular . - FILTER(lang(?singular) = "pa") + wikibase:lexicalCategory wd:Q147276; + wikibase:lemma ?singular . + FILTER(lang(?singular) = "pa") # MARK: Plural 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 fe2c97309..d5bb42538 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 @@ -10,6 +10,5 @@ WHERE { ?lexeme dct:language wd:Q5885 ; wikibase:lexicalCategory wd:Q34698 ; wikibase:lemma ?adjective . - - FILTER(lang(?adjective) = "ta") + FILTER(lang(?adjective) = "ta") } diff --git a/src/scribe_data/resources/lexeme_form_metadata.json b/src/scribe_data/resources/lexeme_form_metadata.json index 25a8758dd..5e8786c61 100644 --- a/src/scribe_data/resources/lexeme_form_metadata.json +++ b/src/scribe_data/resources/lexeme_form_metadata.json @@ -219,38 +219,34 @@ "qid": "Q1475560" }, "13": { - "label": "Perfect", - "qid": "Q1240211" - }, - "14": { "label": "Perfect", "qid": "Q625420" }, - "15": { + "14": { "label": "PresentPerfect", "qid": "Q1240211" }, - "16": { + "15": { "label": "PresentIndicative", "qid": "Q56682909" }, - "17": { + "16": { "label": "Imperfect", "qid": "Q108524486" }, - "18": { + "17": { "label": "PastImperfect", "qid": "Q12547192" }, - "19": { + "18": { "label": "PastPerfect", "qid": "Q64005357" }, - "20": { + "19": { "label": "Pluperfect", "qid": "Q623742" }, - "21": { + "20": { "label": "PastTransgressive", "qid": "Q12750232" } diff --git a/src/scribe_data/wikidata/query_profanity.sparql b/src/scribe_data/wikidata/query_profanity.sparql index a0b30dfb1..122764b5f 100644 --- a/src/scribe_data/wikidata/query_profanity.sparql +++ b/src/scribe_data/wikidata/query_profanity.sparql @@ -18,7 +18,6 @@ WHERE { }. FILTER EXISTS {?sense wdt:P6191 ?filter.}. - } ORDER BY