From 367c0d6fdea212792ad1639b11aa40ec4056e605 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Mon, 7 Oct 2024 23:21:06 +0530 Subject: [PATCH 1/5] Create query_propernouns.sparql to extract Esperanto proper nouns --- .../Proper Nouns/query_propernouns.sparql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Esperanto/Proper Nouns/query_propernouns.sparql diff --git a/src/scribe_data/language_data_extraction/Esperanto/Proper Nouns/query_propernouns.sparql b/src/scribe_data/language_data_extraction/Esperanto/Proper Nouns/query_propernouns.sparql new file mode 100644 index 00000000..3823c3d0 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Esperanto/Proper Nouns/query_propernouns.sparql @@ -0,0 +1,17 @@ +# tool: scribe-data +# All Esperanto (Q143) Proper Nouns. +# Enter this query at https://query.wikidata.org/. + +SELECT DISTINCT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?propernouns + +WHERE { + + ?lexeme dct:language wd:Q143 ; # Esperanto + wikibase:lexicalCategory wd:Q147276 ; # Proper Nouns + wikibase:lemma ?propernouns . + + # Ensure we get only the lexeme forms that are adjectives in Esperanto + FILTER(LANG(?propernouns) = "eo") . +} From 3632d416122862ce152d118626d8444bec370fbf Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Mon, 7 Oct 2024 23:23:43 +0530 Subject: [PATCH 2/5] Create Query_personalpronouns.sparql to extract espranto personal pronouns --- .../Query_personalpronouns.sparql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Esperanto/Personal Pronouns/Query_personalpronouns.sparql diff --git a/src/scribe_data/language_data_extraction/Esperanto/Personal Pronouns/Query_personalpronouns.sparql b/src/scribe_data/language_data_extraction/Esperanto/Personal Pronouns/Query_personalpronouns.sparql new file mode 100644 index 00000000..015714f1 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Esperanto/Personal Pronouns/Query_personalpronouns.sparql @@ -0,0 +1,17 @@ +# tool: scribe-data +# All Esperanto (Q143) Personal Pronouns. +# Enter this query at https://query.wikidata.org/. + +SELECT DISTINCT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?personalpronouns + +WHERE { + + ?lexeme dct:language wd:Q143 ; # Esperanto + wikibase:lexicalCategory wd:Q468801 ; # Personal Pronouns + wikibase:lemma ?personalpronouns . + + # Ensure we get only the lexeme forms that are adjectives in Esperanto + FILTER(LANG(?personalpronouns) = "eo") . +} From dcf34b35659aa573c3988e543eb7486bd1c315e4 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Mon, 7 Oct 2024 23:25:13 +0530 Subject: [PATCH 3/5] Create query_adverbs.sparql --- .../Esperanto/Adverbs/query_adverbs.sparql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Esperanto/Adverbs/query_adverbs.sparql diff --git a/src/scribe_data/language_data_extraction/Esperanto/Adverbs/query_adverbs.sparql b/src/scribe_data/language_data_extraction/Esperanto/Adverbs/query_adverbs.sparql new file mode 100644 index 00000000..7976c2fb --- /dev/null +++ b/src/scribe_data/language_data_extraction/Esperanto/Adverbs/query_adverbs.sparql @@ -0,0 +1,17 @@ +# tool: scribe-data +# All Esperanto (Q143) adverbs. +# Enter this query at https://query.wikidata.org/. + +SELECT DISTINCT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adverb + +WHERE { + + ?lexeme dct:language wd:Q143 ; # Esperanto + wikibase:lexicalCategory wd:Q380057 ; # Adverbs + wikibase:lemma ?adverb . + + # Ensure we get only the lexeme forms that are adjectives in Esperanto + FILTER(LANG(?adverb) = "eo") . +} From 1895bf24574874f8c4fdf7a1e32588863d94aafb Mon Sep 17 00:00:00 2001 From: Andrew Tavis McAllister Date: Wed, 9 Oct 2024 02:11:44 +0200 Subject: [PATCH 4/5] Make proper noun selection clear + minor esperanto clean up --- .../Arabic/nouns/query_nouns.sparql | 2 +- .../Basque/nouns/query_nouns.sparql | 2 +- .../Bengali/nouns/query_nouns.sparql | 2 +- .../Bokm\303\245l/nouns/query_nouns.sparql" | 2 +- .../Czech/nouns/query_nouns.sparql | 2 +- .../Danish/nouns/query_nouns.sparql | 2 +- .../English/nouns/query_nouns.sparql | 2 +- .../Esperanto/Adverbs/query_adverbs.sparql | 8 +++----- .../Query_personalpronouns.sparql | 17 ----------------- .../Proper Nouns/query_propernouns.sparql | 17 ----------------- .../adjectives/query_adjectives.sparql | 9 +++------ .../Esperanto/nouns/query_nouns.sparql | 2 +- .../query_personal_pronouns.sparql | 14 ++++++++++++++ .../Estonian/nouns/query_nouns.sparql | 2 +- .../Finnish/nouns/query_nouns.sparql | 2 +- .../French/nouns/query_nouns.sparql | 2 +- .../German/nouns/query_nouns.sparql | 2 +- .../Greek/nouns/query_nouns.sparql | 2 +- .../Hausa/nouns/query_nouns.sparql | 2 +- .../Hebrew/nouns/query_nouns.sparql | 2 +- .../Hindi/nouns/query_nouns.sparql | 2 +- .../Indonesian/nouns/query_nouns.sparql | 2 +- .../Italian/nouns/query_nouns.sparql | 2 +- .../Japanese/nouns/query_nouns.sparql | 2 +- .../Kurmanji/nouns/query_nouns.sparql | 2 +- .../Latin/nouns/query_nouns.sparql | 2 +- .../Malay/nouns/query_nouns.sparql | 2 +- .../Malayalam/nouns/query_nouns.sparql | 2 +- .../Mandarin/nouns/query_nouns.sparql | 2 +- .../Nynorsk/nouns/query_nouns.sparql | 2 +- .../Polish/nouns/query_nouns.sparql | 2 +- .../Portuguese/nouns/query_nouns.sparql | 2 +- .../Russian/nouns/query_nouns.sparql | 2 +- .../Slovak/nouns/query_nouns.sparql | 2 +- .../Spanish/nouns/query_nouns.sparql | 2 +- .../Swedish/nouns/query_nouns.sparql | 2 +- .../Tajik/nouns/query_nouns.sparql | 2 +- .../Tamil/nouns/query_nouns.sparql | 2 +- .../Ukrainian/nouns/query_nouns.sparql | 2 +- .../Urdu/nouns/query_nouns.sparql | 2 +- 40 files changed, 55 insertions(+), 80 deletions(-) delete mode 100644 src/scribe_data/language_data_extraction/Esperanto/Personal Pronouns/Query_personalpronouns.sparql delete mode 100644 src/scribe_data/language_data_extraction/Esperanto/Proper Nouns/query_propernouns.sparql create mode 100644 src/scribe_data/language_data_extraction/Esperanto/personal_pronouns/query_personal_pronouns.sparql diff --git a/src/scribe_data/language_data_extraction/Arabic/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Arabic/nouns/query_nouns.sparql index cd479d76..1ddca86f 100644 --- a/src/scribe_data/language_data_extraction/Arabic/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?dual WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q13955 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Basque/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Basque/nouns/query_nouns.sparql index c3ebc9e6..198959ae 100644 --- a/src/scribe_data/language_data_extraction/Basque/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Basque/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?absPlural WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q8752 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Bengali/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Bengali/nouns/query_nouns.sparql index d19f6f18..f73976b2 100644 --- a/src/scribe_data/language_data_extraction/Bengali/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Bengali/nouns/query_nouns.sparql @@ -10,7 +10,7 @@ SELECT DISTINCT ?locative WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9610 ; wikibase:lexicalCategory ?nounTypes ; diff --git "a/src/scribe_data/language_data_extraction/Bokm\303\245l/nouns/query_nouns.sparql" "b/src/scribe_data/language_data_extraction/Bokm\303\245l/nouns/query_nouns.sparql" index 544a2ba4..54285152 100644 --- "a/src/scribe_data/language_data_extraction/Bokm\303\245l/nouns/query_nouns.sparql" +++ "b/src/scribe_data/language_data_extraction/Bokm\303\245l/nouns/query_nouns.sparql" @@ -12,7 +12,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q25167 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Czech/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Czech/nouns/query_nouns.sparql index 6091d541..a419766a 100644 --- a/src/scribe_data/language_data_extraction/Czech/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Czech/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9056 ; wikibase:lexicalCategory ?nounTypes . diff --git a/src/scribe_data/language_data_extraction/Danish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Danish/nouns/query_nouns.sparql index 6724a0bf..a70ae578 100644 --- a/src/scribe_data/language_data_extraction/Danish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Danish/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9035 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/English/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/English/nouns/query_nouns.sparql index 08e10b60..a740d1d8 100644 --- a/src/scribe_data/language_data_extraction/English/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/English/nouns/query_nouns.sparql @@ -8,7 +8,7 @@ SELECT DISTINCT ?plural WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q1860 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Esperanto/Adverbs/query_adverbs.sparql b/src/scribe_data/language_data_extraction/Esperanto/Adverbs/query_adverbs.sparql index 7976c2fb..27892bf6 100644 --- a/src/scribe_data/language_data_extraction/Esperanto/Adverbs/query_adverbs.sparql +++ b/src/scribe_data/language_data_extraction/Esperanto/Adverbs/query_adverbs.sparql @@ -8,10 +8,8 @@ SELECT DISTINCT WHERE { - ?lexeme dct:language wd:Q143 ; # Esperanto - wikibase:lexicalCategory wd:Q380057 ; # Adverbs + ?lexeme dct:language wd:Q143 ; + wikibase:lexicalCategory wd:Q380057 ; wikibase:lemma ?adverb . - - # Ensure we get only the lexeme forms that are adjectives in Esperanto - FILTER(LANG(?adverb) = "eo") . + FILTER(LANG(?adverb) = "eo") . } diff --git a/src/scribe_data/language_data_extraction/Esperanto/Personal Pronouns/Query_personalpronouns.sparql b/src/scribe_data/language_data_extraction/Esperanto/Personal Pronouns/Query_personalpronouns.sparql deleted file mode 100644 index 015714f1..00000000 --- a/src/scribe_data/language_data_extraction/Esperanto/Personal Pronouns/Query_personalpronouns.sparql +++ /dev/null @@ -1,17 +0,0 @@ -# tool: scribe-data -# All Esperanto (Q143) Personal Pronouns. -# Enter this query at https://query.wikidata.org/. - -SELECT DISTINCT - (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) - ?personalpronouns - -WHERE { - - ?lexeme dct:language wd:Q143 ; # Esperanto - wikibase:lexicalCategory wd:Q468801 ; # Personal Pronouns - wikibase:lemma ?personalpronouns . - - # Ensure we get only the lexeme forms that are adjectives in Esperanto - FILTER(LANG(?personalpronouns) = "eo") . -} diff --git a/src/scribe_data/language_data_extraction/Esperanto/Proper Nouns/query_propernouns.sparql b/src/scribe_data/language_data_extraction/Esperanto/Proper Nouns/query_propernouns.sparql deleted file mode 100644 index 3823c3d0..00000000 --- a/src/scribe_data/language_data_extraction/Esperanto/Proper Nouns/query_propernouns.sparql +++ /dev/null @@ -1,17 +0,0 @@ -# tool: scribe-data -# All Esperanto (Q143) Proper Nouns. -# Enter this query at https://query.wikidata.org/. - -SELECT DISTINCT - (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) - ?propernouns - -WHERE { - - ?lexeme dct:language wd:Q143 ; # Esperanto - wikibase:lexicalCategory wd:Q147276 ; # Proper Nouns - wikibase:lemma ?propernouns . - - # Ensure we get only the lexeme forms that are adjectives in Esperanto - FILTER(LANG(?propernouns) = "eo") . -} diff --git a/src/scribe_data/language_data_extraction/Esperanto/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Esperanto/adjectives/query_adjectives.sparql index 5353c3d7..ec51925c 100644 --- a/src/scribe_data/language_data_extraction/Esperanto/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Esperanto/adjectives/query_adjectives.sparql @@ -7,11 +7,8 @@ SELECT DISTINCT ?adjective WHERE { - # Select lexemes in Esperanto that are adjectives - ?lexeme dct:language wd:Q143 ; # Esperanto - wikibase:lexicalCategory wd:Q34698 ; # Adjective + ?lexeme dct:language wd:Q143 ; + wikibase:lexicalCategory wd:Q34698 ; wikibase:lemma ?adjective . - - # Ensure we get only the lexeme forms that are adjectives in Esperanto - FILTER(LANG(?adjective) = "eo") . + FILTER(LANG(?adjective) = "eo") . } diff --git a/src/scribe_data/language_data_extraction/Esperanto/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Esperanto/nouns/query_nouns.sparql index 6dea8787..4074b428 100644 --- a/src/scribe_data/language_data_extraction/Esperanto/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Esperanto/nouns/query_nouns.sparql @@ -10,7 +10,7 @@ SELECT DISTINCT ?accPlural WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q143 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Esperanto/personal_pronouns/query_personal_pronouns.sparql b/src/scribe_data/language_data_extraction/Esperanto/personal_pronouns/query_personal_pronouns.sparql new file mode 100644 index 00000000..007f374a --- /dev/null +++ b/src/scribe_data/language_data_extraction/Esperanto/personal_pronouns/query_personal_pronouns.sparql @@ -0,0 +1,14 @@ +# tool: scribe-data +# All Esperanto (Q143) personal pronouns. +# Enter this query at https://query.wikidata.org/. + +SELECT DISTINCT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?personalPronouns + +WHERE { + ?lexeme dct:language wd:Q143 ; + wikibase:lexicalCategory wd:Q468801 ; + wikibase:lemma ?personalPronouns . + FILTER(LANG(?personalPronouns) = "eo") . +} diff --git a/src/scribe_data/language_data_extraction/Estonian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Estonian/nouns/query_nouns.sparql index 3ddab93d..e46a8e37 100644 --- a/src/scribe_data/language_data_extraction/Estonian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/nouns/query_nouns.sparql @@ -8,7 +8,7 @@ SELECT DISTINCT ?plural WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9072 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Finnish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Finnish/nouns/query_nouns.sparql index 4a31ef9c..4e781d3b 100644 --- a/src/scribe_data/language_data_extraction/Finnish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Finnish/nouns/query_nouns.sparql @@ -8,7 +8,7 @@ SELECT DISTINCT ?nomPlural WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q1412 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/French/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/French/nouns/query_nouns.sparql index 3c7b2f09..4bafa17e 100644 --- a/src/scribe_data/language_data_extraction/French/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/French/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q150 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/German/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/German/nouns/query_nouns.sparql index bc25f070..f2847e11 100644 --- a/src/scribe_data/language_data_extraction/German/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/German/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q188 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Greek/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Greek/nouns/query_nouns.sparql index 98381e2d..f1e2d8a0 100644 --- a/src/scribe_data/language_data_extraction/Greek/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Greek/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q36510; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Hausa/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Hausa/nouns/query_nouns.sparql index 7fce9e8e..cfed7704 100644 --- a/src/scribe_data/language_data_extraction/Hausa/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Hausa/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q56475 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Hebrew/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Hebrew/nouns/query_nouns.sparql index 968d3aa2..382ba475 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9288 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Hindi/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Hindi/nouns/query_nouns.sparql index 41a63417..831ecdbd 100644 --- a/src/scribe_data/language_data_extraction/Hindi/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Hindi/nouns/query_nouns.sparql @@ -10,7 +10,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q11051 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Indonesian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Indonesian/nouns/query_nouns.sparql index dc852999..084a6776 100644 --- a/src/scribe_data/language_data_extraction/Indonesian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Indonesian/nouns/query_nouns.sparql @@ -7,7 +7,7 @@ SELECT DISTINCT ?noun WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9240 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Italian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Italian/nouns/query_nouns.sparql index c821cc26..8bd98370 100644 --- a/src/scribe_data/language_data_extraction/Italian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Italian/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q652 ; wikibase:lexicalCategory ?nounTypes ; wikibase:lemma ?singular . diff --git a/src/scribe_data/language_data_extraction/Japanese/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Japanese/nouns/query_nouns.sparql index 39197e59..8945f678 100644 --- a/src/scribe_data/language_data_extraction/Japanese/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Japanese/nouns/query_nouns.sparql @@ -7,7 +7,7 @@ SELECT DISTINCT ?noun WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q5287 ; wikibase:lexicalCategory ?nounType ; diff --git a/src/scribe_data/language_data_extraction/Kurmanji/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Kurmanji/nouns/query_nouns.sparql index 3b3df8c9..0c9946b5 100644 --- a/src/scribe_data/language_data_extraction/Kurmanji/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Kurmanji/nouns/query_nouns.sparql @@ -8,7 +8,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q36163 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns.sparql index 49b420be..431df1c4 100644 --- a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns.sparql @@ -8,7 +8,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q397 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Malay/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Malay/nouns/query_nouns.sparql index 4ebbf021..64163259 100644 --- a/src/scribe_data/language_data_extraction/Malay/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Malay/nouns/query_nouns.sparql @@ -7,7 +7,7 @@ SELECT DISTINCT ?noun WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9237 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Malayalam/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Malayalam/nouns/query_nouns.sparql index 666ded0e..63f0f61b 100644 --- a/src/scribe_data/language_data_extraction/Malayalam/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Malayalam/nouns/query_nouns.sparql @@ -8,7 +8,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q36236 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Mandarin/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Mandarin/nouns/query_nouns.sparql index 117499d2..1d672c3c 100644 --- a/src/scribe_data/language_data_extraction/Mandarin/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Mandarin/nouns/query_nouns.sparql @@ -7,7 +7,7 @@ SELECT DISTINCT ?noun WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q727694 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Nynorsk/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Nynorsk/nouns/query_nouns.sparql index 75606a66..5aac17ef 100644 --- a/src/scribe_data/language_data_extraction/Nynorsk/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Nynorsk/nouns/query_nouns.sparql @@ -12,7 +12,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q25164 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Polish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Polish/nouns/query_nouns.sparql index 2399d462..711b3580 100644 --- a/src/scribe_data/language_data_extraction/Polish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Polish/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q809 ; wikibase:lexicalCategory ?nounTypes . diff --git a/src/scribe_data/language_data_extraction/Portuguese/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Portuguese/nouns/query_nouns.sparql index fe164833..e630b490 100644 --- a/src/scribe_data/language_data_extraction/Portuguese/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Portuguese/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q5146 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Russian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Russian/nouns/query_nouns.sparql index fc3359f2..7b3bd630 100644 --- a/src/scribe_data/language_data_extraction/Russian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Russian/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q7737 ; wikibase:lexicalCategory ?nounTypes . diff --git a/src/scribe_data/language_data_extraction/Slovak/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Slovak/nouns/query_nouns.sparql index baea4c23..7b6ff27a 100644 --- a/src/scribe_data/language_data_extraction/Slovak/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9058 ; wikibase:lexicalCategory ?nounTypes . diff --git a/src/scribe_data/language_data_extraction/Spanish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Spanish/nouns/query_nouns.sparql index e0312719..afc2ebaf 100644 --- a/src/scribe_data/language_data_extraction/Spanish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/nouns/query_nouns.sparql @@ -14,7 +14,7 @@ SELECT DISTINCT ?femPlural WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q1321 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Swedish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Swedish/nouns/query_nouns.sparql index f7a14753..662e6550 100644 --- a/src/scribe_data/language_data_extraction/Swedish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Swedish/nouns/query_nouns.sparql @@ -15,7 +15,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9027 ; wikibase:lexicalCategory ?nounTypes . diff --git a/src/scribe_data/language_data_extraction/Tajik/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Tajik/nouns/query_nouns.sparql index 7d85312b..11ffb571 100644 --- a/src/scribe_data/language_data_extraction/Tajik/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Tajik/nouns/query_nouns.sparql @@ -7,7 +7,7 @@ SELECT DISTINCT ?noun WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q9260 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Tamil/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Tamil/nouns/query_nouns.sparql index 89b22282..16ceb45f 100644 --- a/src/scribe_data/language_data_extraction/Tamil/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Tamil/nouns/query_nouns.sparql @@ -8,7 +8,7 @@ SELECT DISTINCT ?nomPlural WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q5885 ; wikibase:lexicalCategory ?nounTypes . diff --git a/src/scribe_data/language_data_extraction/Ukrainian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Ukrainian/nouns/query_nouns.sparql index b71e5118..3f37c4ce 100644 --- a/src/scribe_data/language_data_extraction/Ukrainian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Ukrainian/nouns/query_nouns.sparql @@ -9,7 +9,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q8798 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Urdu/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Urdu/nouns/query_nouns.sparql index 96b23fb7..456db9a3 100644 --- a/src/scribe_data/language_data_extraction/Urdu/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Urdu/nouns/query_nouns.sparql @@ -10,7 +10,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns ?lexeme dct:language wd:Q11051 ; wikibase:lexicalCategory ?nounTypes ; From 260a59004431ecefdd941af6203667a0a3a04fc7 Mon Sep 17 00:00:00 2001 From: Andrew Tavis McAllister Date: Wed, 9 Oct 2024 02:14:39 +0200 Subject: [PATCH 5/5] Revert Norwegian edits to fix merge conflicts --- .../Bokm\303\245l/nouns/query_nouns.sparql" | 2 +- .../language_data_extraction/Nynorsk/nouns/query_nouns.sparql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git "a/src/scribe_data/language_data_extraction/Bokm\303\245l/nouns/query_nouns.sparql" "b/src/scribe_data/language_data_extraction/Bokm\303\245l/nouns/query_nouns.sparql" index 54285152..544a2ba4 100644 --- "a/src/scribe_data/language_data_extraction/Bokm\303\245l/nouns/query_nouns.sparql" +++ "b/src/scribe_data/language_data_extraction/Bokm\303\245l/nouns/query_nouns.sparql" @@ -12,7 +12,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns ?lexeme dct:language wd:Q25167 ; wikibase:lexicalCategory ?nounTypes ; diff --git a/src/scribe_data/language_data_extraction/Nynorsk/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Nynorsk/nouns/query_nouns.sparql index 5aac17ef..75606a66 100644 --- a/src/scribe_data/language_data_extraction/Nynorsk/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Nynorsk/nouns/query_nouns.sparql @@ -12,7 +12,7 @@ SELECT DISTINCT ?gender WHERE { - VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns + VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns ?lexeme dct:language wd:Q25164 ; wikibase:lexicalCategory ?nounTypes ;