diff --git a/src/scribe_data/check/check_query_identifiers.py b/src/scribe_data/check/check_query_identifiers.py index 387266969..3d1779e7a 100644 --- a/src/scribe_data/check/check_query_identifiers.py +++ b/src/scribe_data/check/check_query_identifiers.py @@ -173,6 +173,9 @@ def check_query_identifiers() -> None: if incorrect_languages or incorrect_data_types: sys.exit(1) + else: + print("All query language and data type QIDs are correct.") + if __name__ == "__main__": check_query_identifiers() diff --git a/src/scribe_data/resources/language_metadata.json b/src/scribe_data/resources/language_metadata.json index 045c9f6ce..e81f0165f 100755 --- a/src/scribe_data/resources/language_metadata.json +++ b/src/scribe_data/resources/language_metadata.json @@ -11,10 +11,6 @@ "iso": "bn", "qid": "Q9610" }, - "ibibio": { - "iso": "ibb", - "qid": "Q33792" - }, "chinese": { "sub_languages": { "mandarin": { diff --git a/src/scribe_data/wikidata/language_data_extraction/sami/northern/proper_nouns/query_proper_nouns.sparql b/src/scribe_data/wikidata/language_data_extraction/sami/northern/proper_nouns/query_proper_nouns.sparql index 2d0a70540..2dc9ffea7 100644 --- a/src/scribe_data/wikidata/language_data_extraction/sami/northern/proper_nouns/query_proper_nouns.sparql +++ b/src/scribe_data/wikidata/language_data_extraction/sami/northern/proper_nouns/query_proper_nouns.sparql @@ -7,7 +7,7 @@ SELECT ?properNoun WHERE { - ?lexeme dct:language wd:Q5146 ; + ?lexeme dct:language wd:Q33947 ; wikibase:lexicalCategory wd:Q147276 ; wikibase:lemma ?properNoun . } diff --git a/tests/load/test_update_utils.py b/tests/load/test_update_utils.py index 2df4048e4..264fe94cc 100644 --- a/tests/load/test_update_utils.py +++ b/tests/load/test_update_utils.py @@ -150,7 +150,6 @@ def test_list_all_languages(): "hausa", "hebrew", "hindi", - "ibibio", "igbo", "indonesian", "italian",