diff --git a/docs/source/conf.py b/docs/source/conf.py index 8d6e22d30..0c9e706d5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -63,7 +63,7 @@ "pytest-cov", "ruff", "SPARQLWrapper", - "tqdm" + "tqdm", ] # Add any paths that contain templates here, relative to this directory. @@ -91,7 +91,7 @@ html_theme = "sphinx_rtd_theme" -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +html_theme_path = [sphinx_rtd_theme] # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/requirements.txt b/requirements.txt index 16c262084..abbd5e443 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,5 +16,5 @@ regex>=2023.3.23 rich>=10.0.0 ruff>=0.3.3 SPARQLWrapper>=2.0.0 -sphinx-rtd-theme>=2.0.0 +sphinx-rtd-theme>=3.0.0 tqdm==4.66.4 diff --git a/src/scribe_data/cli/get.py b/src/scribe_data/cli/get.py index c3d5eecc9..3cbea6980 100644 --- a/src/scribe_data/cli/get.py +++ b/src/scribe_data/cli/get.py @@ -154,5 +154,5 @@ def get_data( "\nThe Scribe-Data emoji functionality is powered by PyICU, which is currently not installed." ) print( - "Please check the installation steps at https://gitlab.pyicu.org/main/pyicu for more information.\n" + "Please check the installation guide at https://github.com/scribe-org/Scribe-Data/blob/main/src/scribe_data/unicode/UNICODE_INSTALLTION.md for more information.\n" ) diff --git a/src/scribe_data/language_data_extraction/Arabic/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Arabic/adjectives/query_adjectives.sparql index 0f9851c8d..fd0e78859 100644 --- a/src/scribe_data/language_data_extraction/Arabic/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/adjectives/query_adjectives.sparql @@ -42,60 +42,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularNominativeIndefForm . ?femSingularNominativeIndefForm ontolex:representation ?femSingularNominativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q131105, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularNominativeIndefForm . ?masSingularNominativeIndefForm ontolex:representation ?masSingularNominativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q131105, wd:Q53997857 . + } # Dual OPTIONAL { ?lexeme ontolex:lexicalForm ?femDualNominativeIndefForm . ?femDualNominativeIndefForm ontolex:representation ?femDualNominativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q131105, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masDualNominativeIndefForm . ?masDualNominativeIndefForm ontolex:representation ?masDualNominativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q131105, wd:Q53997857 . + } # Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralNominativeIndefForm . ?femPluralNominativeIndefForm ontolex:representation ?femPluralNominativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q131105, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralNominativeIndefForm . ?masPluralNominativeIndefForm ontolex:representation ?masPluralNominativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q131105, wd:Q53997857 . + } # MARK: Accusative @@ -104,60 +86,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularAccusativeIndefForm . ?femSingularAccusativeIndefForm ontolex:representation ?femSingularAccusativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146078, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularAccusativeIndefForm . ?masSingularAccusativeIndefForm ontolex:representation ?masSingularAccusativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146078, wd:Q53997857 . + } # Dual OPTIONAL { ?lexeme ontolex:lexicalForm ?femDualAccusativeIndefForm . ?femDualAccusativeIndefForm ontolex:representation ?femDualAccusativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146078, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masDualAccusativeIndefForm . ?masDualAccusativeIndefForm ontolex:representation ?masDualAccusativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146078, wd:Q53997857 . + } # Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralAccusativeIndefForm . ?femPluralAccusativeIndefForm ontolex:representation ?femPluralAccusativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146078, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralAccusativeIndefForm . ?masPluralAccusativeIndefForm ontolex:representation ?masPluralAccusativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146078, wd:Q53997857 . + } # MARK: Genitive @@ -166,60 +130,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularGanitiveIndefForm . ?femSingularGanitiveIndefForm ontolex:representation ?femSingularGanitiveIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146233, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularGanitiveIndefForm . ?masSingularGanitiveIndefForm ontolex:representation ?masSingularGanitiveIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146233, wd:Q53997857 . + } # Dual OPTIONAL { ?lexeme ontolex:lexicalForm ?femDualGanitiveIndefForm . ?femDualGanitiveIndefForm ontolex:representation ?femDualGanitiveIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146233, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masDualGanitiveIndefForm . ?masDualGanitiveIndefForm ontolex:representation ?masDualGanitiveIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146233, wd:Q53997857 . + } # Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralGanitiveIndefForm . ?femPluralGanitiveIndefForm ontolex:representation ?femPluralGanitiveIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146233, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralGanitiveIndefForm . ?masPluralGanitiveIndefForm ontolex:representation ?masPluralGanitiveIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146233, wd:Q53997857 . + } # MARK: Pausal @@ -228,58 +174,40 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularPausalIndefForm . ?femSingularPausalIndefForm ontolex:representation ?femSingularPausalIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q117262361, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularPausalIndefForm . ?masSingularPausalIndefForm ontolex:representation ?masSingularPausalIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q117262361, wd:Q53997857 . + } # Dual OPTIONAL { ?lexeme ontolex:lexicalForm ?femDualPausalIndefForm . ?femDualPausalIndefForm ontolex:representation ?femDualPausalIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q117262361, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masDualPausalIndefForm . ?masDualPausalIndefForm ontolex:representation ?masDualPausalIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q117262361, wd:Q53997857 . + } # Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralPausalIndefForm . ?femPluralPausalIndefForm ontolex:representation ?femPluralPausalIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q117262361, wd:Q53997857 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralPausalIndefForm . ?masPluralPausalIndefForm ontolex:representation ?masPluralPausalIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q117262361, wd:Q53997857 . + } } 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 56e8b42c1..dda8f26bf 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 @@ -48,19 +48,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularNominativeIndefForm . ?femSingularNominativeIndefForm ontolex:representation ?femSingularNominativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q131105, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularNominativeIndefForm . ?masSingularNominativeIndefForm ontolex:representation ?masSingularNominativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q131105, wd:Q53997857 ; } . # Dual @@ -68,19 +62,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femDualNominativeIndefForm . ?femDualNominativeIndefForm ontolex:representation ?femDualNominativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q131105, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masDualNominativeIndefForm . ?masDualNominativeIndefForm ontolex:representation ?masDualNominativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q131105, wd:Q53997857 ; } . # Plural @@ -88,19 +76,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralNominativeIndefForm . ?femPluralNominativeIndefForm ontolex:representation ?femPluralNominativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q131105, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralNominativeIndefForm . ?masPluralNominativeIndefForm ontolex:representation ?masPluralNominativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q131105, wd:Q53997857 ; } . # MARK: Accusative @@ -110,19 +92,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularAccusativeIndefForm . ?femSingularAccusativeIndefForm ontolex:representation ?femSingularAccusativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146078, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularAccusativeIndefForm . ?masSingularAccusativeIndefForm ontolex:representation ?masSingularAccusativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146078, wd:Q53997857 ; } . # Dual @@ -130,19 +106,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femDualAccusativeIndefForm . ?femDualAccusativeIndefForm ontolex:representation ?femDualAccusativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146078, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masDualAccusativeIndefForm . ?masDualAccusativeIndefForm ontolex:representation ?masDualAccusativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146078, wd:Q53997857 ; } . # Plural @@ -150,19 +120,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralAccusativeIndefForm . ?femPluralAccusativeIndefForm ontolex:representation ?femPluralAccusativeIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146078, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralAccusativeIndefForm . ?masPluralAccusativeIndefForm ontolex:representation ?masPluralAccusativeIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146078, wd:Q53997857 ; } . # MARK: Genitive @@ -172,19 +136,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularGanitiveIndefForm . ?femSingularGanitiveIndefForm ontolex:representation ?femSingularGanitiveIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146233, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularGanitiveIndefForm . ?masSingularGanitiveIndefForm ontolex:representation ?masSingularGanitiveIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146233, wd:Q53997857 ; } . # Dual @@ -192,19 +150,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femDualGanitiveIndefForm . ?femDualGanitiveIndefForm ontolex:representation ?femDualGanitiveIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146233, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masDualGanitiveIndefForm . ?masDualGanitiveIndefForm ontolex:representation ?masDualGanitiveIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146233, wd:Q53997857 ; } . # Plural @@ -212,19 +164,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralGanitiveIndefForm . ?femPluralGanitiveIndefForm ontolex:representation ?femPluralGanitiveIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146233, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralGanitiveIndefForm . ?masPluralGanitiveIndefForm ontolex:representation ?masPluralGanitiveIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146233, wd:Q53997857 ; } . # MARK: Pausal @@ -234,19 +180,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularPausalIndefForm . ?femSingularPausalIndefForm ontolex:representation ?femSingularPausalIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q117262361, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularPausalIndefForm . ?masSingularPausalIndefForm ontolex:representation ?masSingularPausalIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q117262361, wd:Q53997857 ; } . # Dual @@ -254,19 +194,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femDualPausalIndefForm . ?femDualPausalIndefForm ontolex:representation ?femDualPausalIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q117262361, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masDualPausalIndefForm . ?masDualPausalIndefForm ontolex:representation ?masDualPausalIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q117262361, wd:Q53997857 ; } . # Plural @@ -274,18 +208,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralPausalIndefForm . ?femPluralPausalIndefForm ontolex:representation ?femPluralPausalIndef ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q117262361, wd:Q53997857 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralPausalIndefForm . ?masPluralPausalIndefForm ontolex:representation ?masPluralPausalIndef ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q117262361 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q117262361, wd:Q53997857 ; } . } diff --git a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_1.sparql index 5eebe5578..a547e9dd5 100644 --- a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_1.sparql @@ -19,111 +19,66 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSMForm . ?presSPSMForm ontolex:representation ?presSPSM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSFForm . ?presSPSFForm ontolex:representation ?presSPSF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSMForm . ?presTPSMForm ontolex:representation ?presTPSM ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSFForm . ?presTPSFForm ontolex:representation ?presTPSF ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPDForm . ?presSPDForm ontolex:representation ?presSPD ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPDMForm . ?presTPDMForm ontolex:representation ?presTPDM ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q499327, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPDFForm . ?presTPDFForm ontolex:representation ?presTPDF ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q1775415, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPMForm . ?presSPPMForm ontolex:representation ?presSPPM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPFForm . ?presSPPFForm ontolex:representation ?presSPPF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q682111, wd:Q12230930 } . - - SERVICE wikibase:label { - bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". - } } diff --git a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_2.sparql index 83d6455d6..6c00b9313 100644 --- a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_2.sparql @@ -19,111 +19,66 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pastFPSForm . ?pastFPSForm ontolex:representation ?pastFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPSMForm . ?pastSPSMForm ontolex:representation ?pastSPSM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPSFForm . ?pastSPSFForm ontolex:representation ?pastSPSF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastTPSMForm . ?pastTPSMForm ontolex:representation ?pastTPSM ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q499327, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastTPSFForm . ?pastTPSFForm ontolex:representation ?pastTPSF ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q1775415, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPDForm . ?pastSPDForm ontolex:representation ?pastSPD ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastTPDMForm . ?pastTPDMForm ontolex:representation ?pastTPDM ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q499327, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastTPDFForm . ?pastTPDFForm ontolex:representation ?pastTPDF ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q1775415, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastFPPForm . ?pastFPPForm ontolex:representation ?pastFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPPMForm . ?pastSPPMForm ontolex:representation ?pastSPPM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q1317831, wd:Q124351233 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPPFForm . ?pastSPPFForm ontolex:representation ?pastSPPF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q124351233 + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q1317831, wd:Q124351233 } . - - SERVICE wikibase:label { - bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". - } } diff --git a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_3.sparql b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_3.sparql index 0be3daa9c..9496f6175 100644 --- a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_3.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_3.sparql @@ -18,53 +18,30 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSMForm . ?impSPSMForm ontolex:representation ?impSPSM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSFForm . ?impSPSFForm ontolex:representation ?impSPSF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPDForm . ?impSPDForm ontolex:representation ?impSPD ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110022 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPMForm . ?impSPPMForm ontolex:representation ?impSPPM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q682111, wd:Q12230930 } . OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPFForm . ?impSPPFForm ontolex:representation ?impSPPF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12230930 + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q682111, wd:Q12230930 } . - - SERVICE wikibase:label { - bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". - } } 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 19314c81a..fffe5c3f5 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 @@ -20,8 +20,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?absSingularForm . ?absSingularForm ontolex:representation ?absSingular ; - wikibase:grammaticalFeature wd:Q332734 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q332734, wd:Q110786 ; } . # MARK: Absolutive Plural @@ -29,7 +28,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?absPluralForm . ?absPluralForm ontolex:representation ?absPlural ; - wikibase:grammaticalFeature wd:Q332734 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q332734, wd:Q146786 ; } . } diff --git a/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_2.sparql index 43e34962f..0b08d5ff6 100644 --- a/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_2.sparql @@ -6,7 +6,7 @@ SELECT (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) ?adjective ?genitive - + WHERE { ?lexeme dct:language wd:Q9056 ; wikibase:lexicalCategory wd:Q34698 ; 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 77cbb579d..bd290458e 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 @@ -19,8 +19,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 ; } . # MARK: Nominative Plural @@ -28,8 +27,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_1.sparql index 9df606f68..a52fcd2bd 100644 --- a/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_1.sparql @@ -31,55 +31,37 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # MARK: Imperative @@ -87,25 +69,19 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?FPPImpForm . ?FPPImpForm ontolex:representation ?FPPImp ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q22716 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q22716 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?SPSImpForm . ?SPSImpForm ontolex:representation ?SPSImp ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q22716 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?SPPImpForm . ?SPPImpForm ontolex:representation ?SPPImp ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q22716 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716 ; } . # MARK: Active Participle @@ -113,64 +89,48 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularActivePartForm . ?femSingularActivePartForm ontolex:representation ?femSingularActivePart ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q72249355 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimateSingularActivePartForm . ?masAnimateSingularActivePartForm ontolex:representation ?masAnimateSingularActivePart ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q72249355 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimateSingularActivePartForm . ?masInanimateSingularActivePartForm ontolex:representation ?masInanimateSingularActivePart ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q72249355 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?neutSingularActivePartForm . ?neutSingularActivePartForm ontolex:representation ?neutSingularActivePart ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q72249355 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralActivePartForm . ?femPluralActivePartForm ontolex:representation ?femPluralActivePart ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q72249355 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimatePluralActivePartForm . ?masAnimatePluralActivePartForm ontolex:representation ?masAnimatePluralActivePart ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q72249355 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimatePluralActivePartForm . ?masInanimatePluralActivePartForm ontolex:representation ?masInanimatePluralActivePart ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q72249355 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?neutPluralActivePartForm . ?neutPluralActivePartForm ontolex:representation ?neutPluralActivePart ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q72249355 ; } . } diff --git a/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_2.sparql index 0356fe03d..c9aa157be 100644 --- a/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_2.sparql @@ -32,65 +32,49 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularPassivePartForm . ?femSingularPassivePartForm ontolex:representation ?femSingularPassivePart ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q72249544 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimateSingularPassivePartForm . ?masAnimateSingularPassivePartForm ontolex:representation ?masAnimateSingularPassivePart ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q72249544 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimateSingularPassivePartForm . ?masInanimateSingularPassivePartForm ontolex:representation ?masInanimateSingularPassivePart ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q72249544 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?neutSingularPassivePartForm . ?neutSingularPassivePartForm ontolex:representation ?neutSingularPassivePart ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q72249544 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralPassivePartForm . ?femPluralPassivePartForm ontolex:representation ?femPluralPassivePart ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q72249544 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimatePluralPassivePartForm . ?masAnimatePluralPassivePartForm ontolex:representation ?masAnimatePluralPassivePart ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q72249544 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimatePluralPassivePartForm . ?masInanimatePluralPassivePartForm ontolex:representation ?masInanimatePluralPassivePart ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q72249544 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?neutPluralPassivePartForm . ?neutPluralPassivePartForm ontolex:representation ?neutPluralPassivePart ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q72249544 ; } . # MARK: Past Transgressive @@ -98,64 +82,48 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularPastTransgressiveForm . ?femSingularPastTransgressiveForm ontolex:representation ?femSingularPastTransgressive ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q12750232 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q12750232 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimateSingularPastTransgressiveForm . ?masAnimateSingularPastTransgressiveForm ontolex:representation ?masAnimateSingularPastTransgressive ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q12750232 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q12750232 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimateSingularPastTransgressiveForm . ?masInanimateSingularPastTransgressiveForm ontolex:representation ?masInanimateSingularPastTransgressive ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q12750232 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q12750232 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?neutSingularPastTransgressiveForm . ?neutSingularPastTransgressiveForm ontolex:representation ?neutSingularPastTransgressive ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q12750232 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q12750232 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralPastTransgressiveForm . ?femPluralPastTransgressiveForm ontolex:representation ?femPluralPastTransgressive ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q12750232 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q12750232 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimatePluralPastTransgressiveForm . ?masAnimatePluralPastTransgressiveForm ontolex:representation ?masAnimatePluralPastTransgressive ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q12750232 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q12750232 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimatePluralPastTransgressiveForm . ?masInanimatePluralPastTransgressiveForm ontolex:representation ?masInanimatePluralPastTransgressive ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q12750232 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q12750232 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?neutPluralPastTransgressiveForm . ?neutPluralPastTransgressiveForm ontolex:representation ?neutPluralPastTransgressive ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q12750232 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q12750232 ; } . } diff --git a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_1.sparql index e310ea383..a1d0c659f 100644 --- a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_1.sparql +++ b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_1.sparql @@ -18,18 +18,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?commonSingularIndefiniteForm . ?commonSingularIndefiniteForm ontolex:representation ?commonSingularIndefinite ; - wikibase:grammaticalFeature wd:Q1305037 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q53997857 ; - wikibase:grammaticalFeature wd:Q3482678 . + wikibase:grammaticalFeature wd:Q1305037, wd:Q110786, wd:Q53997857, wd:Q3482678 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterSingularIndefiniteForm . ?neuterSingularIndefiniteForm ontolex:representation ?neuterSingularIndefinite ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q53997857 ; - wikibase:grammaticalFeature wd:Q3482678 . + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q53997857, wd:Q3482678 . } . } diff --git a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_2.sparql index 508b65120..42aa720b0 100644 --- a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_2.sparql @@ -19,9 +19,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?singularDefiniteForm . ?singularDefiniteForm ontolex:representation ?singularDefinite ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q53997851 ; - wikibase:grammaticalFeature wd:Q3482678 . + wikibase:grammaticalFeature wd:Q110786, wd:Q53997851, wd:Q3482678 . } . # MARK: Plural @@ -29,15 +27,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralPositiveForm . ?pluralPositiveForm ontolex:representation ?pluralPositive ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q3482678 . + wikibase:grammaticalFeature wd:Q146786, wd:Q3482678 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralSuperlativeForm . ?pluralSuperlativeForm ontolex:representation ?pluralSuperlative ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1817208 . + wikibase:grammaticalFeature wd:Q146786, wd:Q1817208 . } . # MARK: Comparative diff --git a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_3.sparql b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_3.sparql index eddb0dacb..59a0e7865 100644 --- a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_3.sparql +++ b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_3.sparql @@ -18,16 +18,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?indefiniteSuperlativeForm . ?indefiniteSuperlativeFrom ontolex:representation ?indefiniteSuperlative ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q53997857 ; - wikibase:grammaticalFeature wd:Q1817208 . + wikibase:grammaticalFeature wd:Q110786, wd:Q53997857, wd:Q1817208 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?definiteSuperlativeForm . ?definiteSuperlativeForm ontolex:representation ?definiteSuperlative ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q53997851 ; - wikibase:grammaticalFeature wd:Q1817208 . + wikibase:grammaticalFeature wd:Q110786, wd:Q53997851, wd:Q1817208 . } . } diff --git a/src/scribe_data/language_data_extraction/Danish/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Danish/verbs/query_verbs.sparql index ae806dfd9..818d7b2dd 100644 --- a/src/scribe_data/language_data_extraction/Danish/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Danish/verbs/query_verbs.sparql @@ -27,8 +27,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?infActiveForm . ?infActiveForm ontolex:representation ?infActive ; - wikibase:grammaticalFeature wd:Q179230 ; - wikibase:grammaticalFeature wd:Q1317831 . + wikibase:grammaticalFeature wd:Q179230, wd:Q1317831 . } # MARK: Present Active @@ -36,8 +35,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presActiveForm . ?presActiveForm ontolex:representation ?presActive ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q1317831 . + wikibase:grammaticalFeature wd:Q192613, wd:Q1317831 . } # MARK: Preterite Active @@ -45,8 +43,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretActiveForm . ?pretActiveForm ontolex:representation ?pretActive ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q1317831 . + wikibase:grammaticalFeature wd:Q442485, wd:Q1317831 . } # MARK: Past Participle @@ -78,8 +75,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presPassiveForm . ?presPassiveForm ontolex:representation ?presPassive ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q1194697 . + wikibase:grammaticalFeature wd:Q442485, wd:Q1194697 . } # MARK: Preterite Passive @@ -87,8 +83,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretPassiveForm . ?pretPassiveForm ontolex:representation ?pretPassive ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q1194697 . + wikibase:grammaticalFeature wd:Q442485, wd:Q1194697 . } # MARK: Infinitive Passive @@ -96,7 +91,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?infPassiveForm . ?infPassiveForm ontolex:representation ?infPassive ; - wikibase:grammaticalFeature wd:Q179230 ; - wikibase:grammaticalFeature wd:Q1194697 . + wikibase:grammaticalFeature wd:Q179230, wd:Q1194697 . } } 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 9271cdfbe..725d1e712 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 @@ -21,8 +21,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?accSingularForm . ?accSingularForm ontolex:representation ?accSingular ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q146078, wd:Q110786 ; } . # MARK: Nominative Plural @@ -30,8 +29,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . # MARK: Accusative Plural @@ -39,7 +37,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?accPluralForm . ?accPluralForm ontolex:representation ?accPlural ; - wikibase:grammaticalFeature wd:Q146078 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q146078, wd:Q146786 ; } . } diff --git a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_1.sparql index 15898170f..63f9a91ef 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_1.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_1.sparql @@ -22,15 +22,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . } . # MARK: Genitive @@ -38,15 +36,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?genSingularForm . ?genSingularForm ontolex:representation ?genSingular ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q146233, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?genPluralForm . ?genPluralForm ontolex:representation ?genPlural ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q146233, wd:Q146786 . } . # MARK: Partitive @@ -54,14 +50,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?partSingularForm . ?partSingularForm ontolex:representation ?partSingular ; - wikibase:grammaticalFeature wd:Q857325 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q857325, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?partPluralForm . ?partPluralForm ontolex:representation ?partPlural ; - wikibase:grammaticalFeature wd:Q857325 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q857325, wd:Q146786 . } . } diff --git a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_2.sparql index 158844fea..986fd44cf 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_2.sparql @@ -24,15 +24,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?illSingularForm . ?illSingularForm ontolex:representation ?illSingular ; - wikibase:grammaticalFeature wd:Q474668 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q474668, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?illPluralForm . ?illPluralForm ontolex:representation ?illPlural ; - wikibase:grammaticalFeature wd:Q474668 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q474668, wd:Q146786 . } . # MARK: Inessive @@ -40,15 +38,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?ineSingularForm . ?ineSingularForm ontolex:representation ?ineSingular ; - wikibase:grammaticalFeature wd:Q282031 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q282031, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?inePluralForm . ?inePluralForm ontolex:representation ?inePlural ; - wikibase:grammaticalFeature wd:Q282031 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q282031, wd:Q146786 . } . # MARK: Elative @@ -56,15 +52,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?elaSingularForm . ?elaSingularForm ontolex:representation ?elaSingular ; - wikibase:grammaticalFeature wd:Q394253 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q394253, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?elaPluralForm . ?elaPluralForm ontolex:representation ?elaPlural ; - wikibase:grammaticalFeature wd:Q394253 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q394253, wd:Q146786 . } . # MARK: Allative @@ -72,14 +66,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?allSingularForm . ?allSingularForm ontolex:representation ?allSingular ; - wikibase:grammaticalFeature wd:Q655020 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q655020, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?allPluralForm . ?allPluralForm ontolex:representation ?allPlural ; - wikibase:grammaticalFeature wd:Q655020 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q655020, wd:Q146786 . } . } diff --git a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_3.sparql b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_3.sparql index f9c9f708c..47a110802 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_3.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_3.sparql @@ -23,15 +23,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?adeSingularForm . ?adeSingularForm ontolex:representation ?adeSingular ; - wikibase:grammaticalFeature wd:Q281954 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q281954, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?adePluralForm . ?adePluralForm ontolex:representation ?adePlural ; - wikibase:grammaticalFeature wd:Q281954 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q281954, wd:Q146786 . } . # MARK: Ablative @@ -39,15 +37,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?ablSingularForm . ?ablSingularForm ontolex:representation ?ablSingular ; - wikibase:grammaticalFeature wd:Q156986 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q156986, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?ablPluralForm . ?ablPluralForm ontolex:representation ?ablPlural ; - wikibase:grammaticalFeature wd:Q156986 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q156986, wd:Q146786 . } . # MARK: Translative @@ -56,15 +52,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?transSingularForm . ?transSingularForm ontolex:representation ?transSingular ; - wikibase:grammaticalFeature wd:Q950170 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q950170, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?transPluralForm . ?transPluralForm ontolex:representation ?transPlural ; - wikibase:grammaticalFeature wd:Q950170 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q950170, wd:Q146786 . } . # MARK: Terminative @@ -72,14 +66,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?termSingularForm . ?termSingularForm ontolex:representation ?termSingular ; - wikibase:grammaticalFeature wd:Q747019 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q747019, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?termPluralForm . ?termPluralForm ontolex:representation ?termPlural ; - wikibase:grammaticalFeature wd:Q747019 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q747019, wd:Q146786 . } . } diff --git a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_4.sparql b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_4.sparql index 759b95bdb..b5a2eeab3 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_4.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_4.sparql @@ -20,15 +20,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?essSingularForm . ?essSingularForm ontolex:representation ?essSingular ; - wikibase:grammaticalFeature wd:Q148465 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q148465, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?essPluralForm . ?essPluralForm ontolex:representation ?essPlural ; - wikibase:grammaticalFeature wd:Q148465 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q148465, wd:Q146786 . } . # MARK: Abessive @@ -36,15 +34,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?abeSingularForm . ?abeSingularForm ontolex:representation ?abeSingular ; - wikibase:grammaticalFeature wd:Q319822 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q319822, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?abePluralForm . ?abePluralForm ontolex:representation ?abePlural ; - wikibase:grammaticalFeature wd:Q319822 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q319822, wd:Q146786 . } . # MARK: Comitative @@ -52,14 +48,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?comSingularForm . ?comSingularForm ontolex:representation ?comSingular ; - wikibase:grammaticalFeature wd:Q838581 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q838581, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?comPluralForm . ?comPluralForm ontolex:representation ?comPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . } . } diff --git a/src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_1.sparql b/src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_1.sparql index a251d58c1..ba9a1d30d 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_1.sparql @@ -30,15 +30,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nominativeSingularForm . ?nominativeSingularForm ontolex:representation ?nominativeSingular ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?nominativePluralForm . ?nominativePluralForm ontolex:representation ?nominativePlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . } # MARK: Genitive @@ -46,15 +44,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?genitiveSingularForm . ?genitiveSingularForm ontolex:representation ?genitiveSingular ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q146233, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?genitivePluralForm . ?genitivePluralForm ontolex:representation ?genitivePlural ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q146233, wd:Q146786 . } # MARK: Partive @@ -62,15 +58,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?partitiveSingularForm . ?partitiveSingularForm ontolex:representation ?partitiveSingular ; - wikibase:grammaticalFeature wd:Q857325 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q857325, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?partitivePluralForm . ?partitivePluralForm ontolex:representation ?partitivePlural ; - wikibase:grammaticalFeature wd:Q857325 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q857325, wd:Q146786 . } # MARK: Illative @@ -78,15 +72,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?illativeSingularForm . ?illativeSingularForm ontolex:representation ?illativeSingular ; - wikibase:grammaticalFeature wd:Q474668 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q474668, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?illativePluralForm . ?illativePluralForm ontolex:representation ?illativePlural ; - wikibase:grammaticalFeature wd:Q474668 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q474668, wd:Q146786 . } # MARK: Inessive @@ -94,15 +86,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?inessiveSingularForm . ?inessiveSingularForm ontolex:representation ?inessiveSingular ; - wikibase:grammaticalFeature wd:Q282031 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q282031, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?inessivePluralForm . ?inessivePluralForm ontolex:representation ?inessivePlural ; - wikibase:grammaticalFeature wd:Q282031 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q282031, wd:Q146786 . } # MARK: Elative @@ -110,15 +100,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?elativeSingularForm . ?elativeSingularForm ontolex:representation ?elativeSingular ; - wikibase:grammaticalFeature wd:Q394253 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q394253, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?elativePluralForm . ?elativePluralForm ontolex:representation ?elativePlural ; - wikibase:grammaticalFeature wd:Q394253 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q394253, wd:Q146786 . } # MARK: Allative @@ -126,14 +114,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?allativeSingularForm . ?allativeSingularForm ontolex:representation ?allativeSingular ; - wikibase:grammaticalFeature wd:Q655020 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q655020, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?allativePluralForm . ?allativePluralForm ontolex:representation ?allativePlural ; - wikibase:grammaticalFeature wd:Q655020 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q655020, wd:Q146786 . } } diff --git a/src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_2.sparql b/src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_2.sparql index 48119a3b5..1726f1eb0 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_2.sparql @@ -30,15 +30,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?adessiveSingularForm . ?adessiveSingularForm ontolex:representation ?adessiveSingular ; - wikibase:grammaticalFeature wd:Q281954 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q281954, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?adessivePluralForm . ?adessivePluralForm ontolex:representation ?adessivePlural ; - wikibase:grammaticalFeature wd:Q281954 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q281954, wd:Q146786 . } # MARK: Ablative @@ -46,15 +44,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?ablativeSingularForm . ?ablativeSingularForm ontolex:representation ?ablativeSingular ; - wikibase:grammaticalFeature wd:Q156986 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q156986, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?ablativePluralForm . ?ablativePluralForm ontolex:representation ?ablativePlural ; - wikibase:grammaticalFeature wd:Q156986 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q156986, wd:Q146786 . } # MARK: Translative @@ -62,15 +58,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?translativeSingularForm . ?translativeSingularForm ontolex:representation ?translativeSingular ; - wikibase:grammaticalFeature wd:Q950170 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q950170, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?translativePluralForm . ?translativePluralForm ontolex:representation ?translativePlural ; - wikibase:grammaticalFeature wd:Q950170 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q950170, wd:Q146786 . } # MARK: Terminative @@ -78,15 +72,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?terminativeSingularForm . ?terminativeSingularForm ontolex:representation ?terminativeSingular ; - wikibase:grammaticalFeature wd:Q747019 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q747019, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?terminativePluralForm . ?terminativePluralForm ontolex:representation ?terminativePlural ; - wikibase:grammaticalFeature wd:Q747019 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q747019, wd:Q146786 . } # MARK: Essive @@ -94,15 +86,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?essiveSingularForm . ?essiveSingularForm ontolex:representation ?essiveSingular ; - wikibase:grammaticalFeature wd:Q148465 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q148465, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?essivePluralForm . ?essivePluralForm ontolex:representation ?essivePlural ; - wikibase:grammaticalFeature wd:Q148465 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q148465, wd:Q146786 . } # MARK: Abessive @@ -110,15 +100,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?abessiveSingularForm . ?abessiveSingularForm ontolex:representation ?abessiveSingular ; - wikibase:grammaticalFeature wd:Q319822 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q319822, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?abessivePluralForm . ?abessivePluralForm ontolex:representation ?abessivePlural ; - wikibase:grammaticalFeature wd:Q319822 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q319822, wd:Q146786 . } # MARK: Comitative @@ -126,14 +114,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?comitativeSingularForm . ?comitativeSingularForm ontolex:representation ?comitativeSingular ; - wikibase:grammaticalFeature wd:Q838581 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q838581, wd:Q110786 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?comitativePluralForm . ?comitativePluralForm ontolex:representation ?comitativePlural ; - wikibase:grammaticalFeature wd:Q838581 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q838581, wd:Q146786 . } } 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 011f0b946..a64dc7188 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 @@ -19,7 +19,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . } 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 f11c4a097..fe16757c8 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 @@ -19,7 +19,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . } diff --git a/src/scribe_data/language_data_extraction/French/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/French/verbs/query_verbs_1.sparql index 09262e02b..3e4a4530b 100644 --- a/src/scribe_data/language_data_extraction/French/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/French/verbs/query_verbs_1.sparql @@ -26,60 +26,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # MARK: Indicative Preterite @@ -88,59 +70,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPSForm . ?pretFPSForm ontolex:representation ?pretFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q442485 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPSForm . ?pretSPSForm ontolex:representation ?pretSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q442485 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPSForm . ?pretTPSForm ontolex:representation ?pretTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q442485 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPPForm . ?pretFPPForm ontolex:representation ?pretFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q442485 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPPForm . ?pretSPPForm ontolex:representation ?pretSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q442485 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPPForm . ?pretTPPForm ontolex:representation ?pretTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q442485 ; } . } diff --git a/src/scribe_data/language_data_extraction/French/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/French/verbs/query_verbs_2.sparql index 6c18e7112..69f7915e3 100644 --- a/src/scribe_data/language_data_extraction/French/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/French/verbs/query_verbs_2.sparql @@ -26,60 +26,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPSForm . ?impFPSForm ontolex:representation ?impFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q108524486 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q108524486 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSForm . ?impSPSForm ontolex:representation ?impSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q108524486 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q108524486 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPSForm . ?impTPSForm ontolex:representation ?impTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q108524486 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q108524486 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPPForm . ?impFPPForm ontolex:representation ?impFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q108524486 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q108524486 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPForm . ?impSPPForm ontolex:representation ?impSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q108524486 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q108524486 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPPForm . ?impTPPForm ontolex:representation ?impTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q108524486 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q108524486 ; } . # MARK: Future @@ -88,59 +70,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futFPSForm . ?futFPSForm ontolex:representation ?futFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1475560 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q1475560 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPSForm . ?futSPSForm ontolex:representation ?futSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1475560 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q1475560 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPSForm . ?futTPSForm ontolex:representation ?futTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1475560 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q1475560 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?futFPPForm . ?futFPPForm ontolex:representation ?futFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1475560 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q1475560 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPPForm . ?futSPPForm ontolex:representation ?futSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1475560 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q1475560 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPPForm . ?futTPPForm ontolex:representation ?futTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1475560 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q1475560 ; } . } 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 bda5d2b30..81c17c0ea 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 @@ -20,8 +20,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q131105 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q131105 ; } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/German/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/German/verbs/query_verbs_1.sparql index e255fb7bc..9e8db2d5e 100644 --- a/src/scribe_data/language_data_extraction/German/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/German/verbs/query_verbs_1.sparql @@ -24,50 +24,32 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; } . SERVICE wikibase:label { diff --git a/src/scribe_data/language_data_extraction/German/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/German/verbs/query_verbs_2.sparql index e209dcc48..b9761eab8 100644 --- a/src/scribe_data/language_data_extraction/German/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/German/verbs/query_verbs_2.sparql @@ -38,50 +38,32 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPSForm . ?pretFPSForm ontolex:representation ?pretFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q442485 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPSForm . ?pretSPSForm ontolex:representation ?pretSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q442485 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPSForm . ?pretTPSForm ontolex:representation ?pretTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q442485 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPPForm . ?pretFPPForm ontolex:representation ?pretFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q442485 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPPForm . ?pretSPPForm ontolex:representation ?pretSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q442485 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPPForm . ?pretTPPForm ontolex:representation ?pretTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q442485 ; } . SERVICE wikibase:label { 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 ca48a52ff..daf293748 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 @@ -20,8 +20,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/Greek/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Greek/verbs/query_verbs.sparql index ea669818d..881484cb8 100644 --- a/src/scribe_data/language_data_extraction/Greek/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Greek/verbs/query_verbs.sparql @@ -21,46 +21,40 @@ WHERE { wikibase:grammaticalFeature wd:Q179230 ; # MARK: Present + OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q192613 ; } . + OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q192613 ; } . + OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q192613 ; } . + OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q192613 ; } . + OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q192613 ; } . + OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q192613 ; } . } diff --git a/src/scribe_data/language_data_extraction/Hebrew/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Hebrew/adjectives/query_adjectives.sparql index a1a5daad4..07de5f58e 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/adjectives/query_adjectives.sparql @@ -25,8 +25,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularForm . ?femSingularForm ontolex:representation ?femSingular ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 ; FILTER NOT EXISTS { ?femSingularForm wikibase:grammaticalFeature wd:Q1641446 . } @@ -36,17 +35,14 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularConstructForm . ?femSingularConstructForm ontolex:representation ?femSingularConstruct ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1641446 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1641446 ; FILTER(lang(?femSingularConstruct) = "he") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralForm . ?femPluralForm ontolex:representation ?femPlural ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786 ; FILTER NOT EXISTS { ?femPluralForm wikibase:grammaticalFeature wd:Q1641446 . } @@ -56,9 +52,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralConstructForm . ?femPluralConstructForm ontolex:representation ?femPluralConstruct ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1641446 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1641446 ; FILTER(lang(?femPluralConstruct) = "he") } . @@ -67,8 +61,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularForm . ?masSingularForm ontolex:representation ?masSingular ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786 ; FILTER NOT EXISTS { ?masSingularForm wikibase:grammaticalFeature wd:Q1641446 . } @@ -78,17 +71,14 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularConstructForm . ?masSingularConstructForm ontolex:representation ?masSingularConstruct ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1641446 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1641446 ; FILTER(lang(?masSingularConstruct) = "he") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralForm . ?masPluralForm ontolex:representation ?masPlural ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786 ; FILTER NOT EXISTS { ?masPluralForm wikibase:grammaticalFeature wd:Q1641446 . } @@ -98,9 +88,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralConstructForm . ?masPluralConstructForm ontolex:representation ?masPluralConstruct ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1641446 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1641446 ; FILTER(lang(?masPluralConstruct) = "he") } . } diff --git a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_1.sparql index 14c361444..abaf481b2 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_1.sparql @@ -19,9 +19,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presSFForm . ?presSFForm ontolex:representation ?presSF ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q192613, wd:Q1775415 ; FILTER(lang(?presSF) = "he") } . @@ -29,9 +27,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presSMForm . ?presSMForm ontolex:representation ?presSM ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q192613, wd:Q499327 ; FILTER(lang(?presSM) = "he") } . @@ -39,9 +35,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presPFForm . ?presPFForm ontolex:representation ?presPF ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q192613, wd:Q1775415 ; FILTER(lang(?presPF) = "he") } . @@ -49,9 +43,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presPMForm . ?presPMForm ontolex:representation ?presPM ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q192613, wd:Q499327 ; FILTER(lang(?presPM) = "he") } . } diff --git a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_2.sparql index fefb8547d..1eb7b1c1b 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_2.sparql @@ -17,10 +17,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSMForm . ?impSPSMForm ontolex:representation ?impSPSM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q22716 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716, wd:Q1775415 ; FILTER(lang(?impSPSM) = "he") } . @@ -28,10 +25,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSMForm . ?impSPSMForm ontolex:representation ?impSPSM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q22716 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716, wd:Q1775415 ; FILTER(lang(?impSPSM) = "he") } . @@ -39,10 +33,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPFForm . ?impSPPFForm ontolex:representation ?impSPPF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q22716 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716, wd:Q1775415 ; FILTER(lang(?impSPPF) = "he") } . @@ -50,10 +41,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPMForm . ?impSPPMForm ontolex:representation ?impSPPM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q22716 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716, wd:Q499327 ; FILTER(lang(?impSPPM) = "he") } . } diff --git a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_3.sparql b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_3.sparql index e38e2025d..240046505 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_3.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_3.sparql @@ -18,8 +18,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastTPPForm . ?pastTPPForm ontolex:representation ?pastTPP ; wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1994301 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301 ; FILTER(lang(?pastTPP) = "he") } . @@ -28,9 +27,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastSPSFForm . ?pastSPSFForm ontolex:representation ?pastSPSF ; wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q1775415 ; FILTER(lang(?pastSPSF) = "he") } . @@ -39,9 +36,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastSPSMForm . ?pastSPSMForm ontolex:representation ?pastSPSM ; wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q499327 ; FILTER(lang(?pastSPSM) = "he") } . @@ -50,9 +45,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastTPSFForm . ?pastTPSFForm ontolex:representation ?pastTPSF ; wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q1775415 ; FILTER(lang(?pastTPSF) = "he") } . @@ -61,9 +54,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastTPSMForm . ?pastTPSMForm ontolex:representation ?pastTPSM ; wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q499327 ; FILTER(lang(?pastTPSM) = "he") } . @@ -72,8 +63,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastFPPForm . ?pastFPPForm ontolex:representation ?pastFPP ; wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1994301 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301 ; FILTER(lang(?pastFPP) = "he") } . @@ -82,9 +72,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastSPPFForm . ?pastSPPFForm ontolex:representation ?pastSPPF ; wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q1775415 ; FILTER(lang(?pastSPPF) = "he") } . @@ -93,9 +81,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastSPPMForm . ?pastSPPMForm ontolex:representation ?pastSPPM ; wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q499327 ; FILTER(lang(?pastSPPM) = "he") } . @@ -104,9 +90,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastTPPFForm . ?pastTPPFForm ontolex:representation ?pastTPPF ; wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q1775415 ; FILTER(lang(?pastTPPF) = "he") } . @@ -115,9 +99,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastTPPMForm . ?pastTPPMForm ontolex:representation ?pastTPPM ; wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q499327 ; FILTER(lang(?pastTPPM) = "he") } . } diff --git a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_4.sparql b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_4.sparql index 02c3d9ad4..e8b305ff1 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_4.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_4.sparql @@ -17,9 +17,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futFPSForm . ?futFPSForm ontolex:representation ?futFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q501405 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q501405 ; FILTER(lang(?futFPS) = "he") } . @@ -27,10 +25,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPSFForm . ?futSPSFForm ontolex:representation ?futSPSF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q501405 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q501405, wd:Q1775415 ; FILTER(lang(?futSPSF) = "he") } . @@ -38,10 +33,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPSMForm . ?futSPSMForm ontolex:representation ?futSPSM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q501405 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q501405, wd:Q499327 ; FILTER(lang(?futSPSM) = "he") } . @@ -49,10 +41,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPSFForm . ?futTPSFForm ontolex:representation ?futTPSF ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q501405 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q501405, wd:Q1775415 ; FILTER(lang(?futTPSF) = "he") } . @@ -60,10 +49,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPSMForm . ?futTPSMForm ontolex:representation ?futTPSM ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q501405 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q501405, wd:Q499327 ; FILTER(lang(?futTPSM) = "he") } . @@ -71,9 +57,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futFPPForm . ?futFPPForm ontolex:representation ?futFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q501405 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q501405 ; FILTER(lang(?futFPP) = "he") } . @@ -81,10 +65,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPPFForm . ?futSPPFForm ontolex:representation ?futSPPF ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q501405 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q501405, wd:Q1775415 ; FILTER(lang(?futSPPF) = "he") } . @@ -92,10 +73,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPPMForm . ?futSPPMForm ontolex:representation ?futSPPM ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q501405 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q501405, wd:Q499327 ; FILTER(lang(?futSPPM) = "he") } . @@ -103,10 +81,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPPFForm . ?futTPPFForm ontolex:representation ?futTPPF ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q501405 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q501405, wd:Q1775415 ; FILTER(lang(?futTPPF) = "he") } . @@ -114,10 +89,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPPMForm . ?futTPPMForm ontolex:representation ?futTPPM ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q501405 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q501405, wd:Q499327 ; FILTER(lang(?futTPPM) = "he") } . } diff --git a/src/scribe_data/language_data_extraction/Hindustani/Hindi/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Hindustani/Hindi/adjectives/query_adjectives.sparql index b1bba3c61..e0ba2880f 100644 --- a/src/scribe_data/language_data_extraction/Hindustani/Hindi/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Hindustani/Hindi/adjectives/query_adjectives.sparql @@ -51,36 +51,28 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularDirectForm . ?femSingularDirectForm ontolex:representation ?femSingularDirect ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1751855 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1751855 ; FILTER(LANG(?femSingularDirect) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularDirectForm . ?masSingularDirectForm ontolex:representation ?masSingularDirect ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1751855 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1751855 ; FILTER(LANG(?masSingularDirect) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralDirectForm . ?femPluralDirectForm ontolex:representation ?femPluralDirect ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1751855 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1751855 ; FILTER(LANG(?femPluralDirect) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralDirectForm . ?masPluralDirectForm ontolex:representation ?masPluralDirect ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1751855 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1751855 ; FILTER(LANG(?masPluralDirect) = "hi") } . @@ -89,36 +81,28 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularObliqueForm . ?femSingularObliqueForm ontolex:representation ?femSingularOblique ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1233197 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1233197 ; FILTER(LANG(?femSingularOblique) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularObliqueForm . ?masSingularObliqueForm ontolex:representation ?masSingularOblique ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1233197 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1233197 ; FILTER(LANG(?masSingularOblique) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralObliqueForm . ?femPluralObliqueForm ontolex:representation ?femPluralOblique ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1233197 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1233197 ; FILTER(LANG(?femPluralOblique) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralObliqueForm . ?masPluralObliqueForm ontolex:representation ?masPluralOblique ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1233197 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1233197 ; FILTER(LANG(?masPluralOblique) = "hi") } . @@ -127,36 +111,28 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularVocativeForm . ?femSingularVocativeForm ontolex:representation ?femSingularVocative ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q185077 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q185077 ; FILTER(LANG(?femSingularVocative) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularVocativeForm . ?masSingularVocativeForm ontolex:representation ?masSingularVocative ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q185077 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q185077 ; FILTER(LANG(?masSingularVocative) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralVocativeForm . ?femPluralVocativeForm ontolex:representation ?femPluralVocative ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q185077 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q185077 ; FILTER(LANG(?femPluralVocative) = "hi") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralVocativeForm . ?masPluralVocativeForm ontolex:representation ?masPluralVocative ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q185077 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q185077 ; FILTER(LANG(?masPluralVocative) = "hi") } . } diff --git a/src/scribe_data/language_data_extraction/Hindustani/Urdu/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Hindustani/Urdu/adjectives/query_adjectives.sparql index a4f18e40f..36bf5a27b 100644 --- a/src/scribe_data/language_data_extraction/Hindustani/Urdu/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Hindustani/Urdu/adjectives/query_adjectives.sparql @@ -51,36 +51,28 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularDirectForm . ?femSingularDirectForm ontolex:representation ?femSingularDirect ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1751855 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1751855 ; FILTER(LANG(?femSingularDirect) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularDirectForm . ?masSingularDirectForm ontolex:representation ?masSingularDirect ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1751855 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1751855 ; FILTER(LANG(?masSingularDirect) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralDirectForm . ?femPluralDirectForm ontolex:representation ?femPluralDirect ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1751855 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1751855 ; FILTER(LANG(?femPluralDirect) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralDirectForm . ?masPluralDirectForm ontolex:representation ?masPluralDirect ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1751855 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1751855 ; FILTER(LANG(?masPluralDirect) = "ur") } . @@ -89,36 +81,28 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularObliqueForm . ?femSingularObliqueForm ontolex:representation ?femSingularOblique ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1233197 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1233197 ; FILTER(LANG(?femSingularOblique) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularObliqueForm . ?masSingularObliqueForm ontolex:representation ?masSingularOblique ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1233197 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1233197 ; FILTER(LANG(?masSingularOblique) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralObliqueForm . ?femPluralObliqueForm ontolex:representation ?femPluralOblique ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1233197 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1233197 ; FILTER(LANG(?femPluralOblique) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralObliqueForm . ?masPluralObliqueForm ontolex:representation ?masPluralOblique ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1233197 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1233197 ; FILTER(LANG(?masPluralOblique) = "ur") } . @@ -127,36 +111,28 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularVocativeForm . ?femSingularVocativeForm ontolex:representation ?femSingularVocative ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q185077 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q185077 ; FILTER(LANG(?femSingularVocative) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularVocativeForm . ?masSingularVocativeForm ontolex:representation ?masSingularVocative ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q185077 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q185077 ; FILTER(LANG(?masSingularVocative) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralVocativeForm . ?femPluralVocativeForm ontolex:representation ?femPluralVocative ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q185077 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q185077 ; FILTER(LANG(?femPluralVocative) = "ur") } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralVocativeForm . ?masPluralVocativeForm ontolex:representation ?masPluralVocative ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q185077 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q185077 ; FILTER(LANG(?masPluralVocative) = "ur") } . } diff --git a/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/scribe_data/language_data_extraction/Indonesian/adverbs/query_adverbs.sparql b/src/scribe_data/language_data_extraction/Indonesian/adverbs/query_adverbs.sparql new file mode 100644 index 000000000..1747d1c36 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Indonesian/adverbs/query_adverbs.sparql @@ -0,0 +1,13 @@ +# tool: scribe-data +# All Indonesian (Q9240) adverbs. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adverb + +WHERE { + ?lexeme dct:language wd:Q9240 ; + wikibase:lexicalCategory wd:Q380057 ; + wikibase:lemma ?adverb . +} diff --git a/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/__init__.py @@ -0,0 +1 @@ + diff --git a/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/genetate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/genetate_emoji_keywords.py new file mode 100644 index 000000000..c223516db --- /dev/null +++ b/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/genetate_emoji_keywords.py @@ -0,0 +1,46 @@ +""" +Generates keyword-emoji relationships from a selection of Slovak words. + +.. raw:: html + +""" + +import argparse + +from scribe_data.unicode.process_unicode import gen_emoji_lexicon +from scribe_data.utils import export_formatted_data + +LANGUAGE = "Indonesian" +DATA_TYPE = "emoji-keywords" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser() +parser.add_argument("--file-path") +args = parser.parse_args() + +if emoji_keywords_dict := gen_emoji_lexicon( + language=LANGUAGE, + emojis_per_keyword=emojis_per_keyword, +): + export_formatted_data( + file_path=args.file_path, + formatted_data=emoji_keywords_dict, + query_data_in_use=True, + language=LANGUAGE, + data_type=DATA_TYPE, + ) diff --git a/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_1.sparql index aefadd191..6f220dde8 100644 --- a/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_1.sparql @@ -21,48 +21,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q56682909 ; - wikibase:grammaticalFeature wd:Q51929218 ; + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929218 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q56682909 ; - wikibase:grammaticalFeature wd:Q51929369 ; + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929369 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q56682909 ; - wikibase:grammaticalFeature wd:Q51929447 ; + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929447 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q56682909 ; - wikibase:grammaticalFeature wd:Q51929290 ; + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929290 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q56682909 ; - wikibase:grammaticalFeature wd:Q51929403 ; + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929403 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q56682909 ; - wikibase:grammaticalFeature wd:Q51929517 ; + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929517 ; } . # MARK: Preterite @@ -71,47 +65,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPSForm . ?pretFPSForm ontolex:representation ?pretFPS ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q51929218 ; + wikibase:grammaticalFeature wd:Q442485, wd:Q51929218 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPSForm . ?pretSPSForm ontolex:representation ?pretSPS ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q51929369 ; + wikibase:grammaticalFeature wd:Q442485, wd:Q51929369 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPSForm . ?pretTPSForm ontolex:representation ?pretTPS ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q51929447 ; + wikibase:grammaticalFeature wd:Q442485, wd:Q51929447 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPPForm . ?pretFPPForm ontolex:representation ?pretFPP ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q51929290 ; + wikibase:grammaticalFeature wd:Q442485, wd:Q51929290 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPPForm . ?pretSPPForm ontolex:representation ?pretSPP ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q51929403 ; + wikibase:grammaticalFeature wd:Q442485, wd:Q51929403 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPPForm . ?pretTPPForm ontolex:representation ?pretTPP ; - wikibase:grammaticalFeature wd:Q442485 ; - wikibase:grammaticalFeature wd:Q51929517 ; + wikibase:grammaticalFeature wd:Q442485, wd:Q51929517 ; } . } diff --git a/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_2.sparql index c3cb46af6..ba306e219 100644 --- a/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_2.sparql @@ -19,47 +19,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPSForm . ?impFPSForm ontolex:representation ?impFPS ; - wikibase:grammaticalFeature wd:Q12547192 ; - wikibase:grammaticalFeature wd:Q51929218 ; + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929218 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSForm . ?impSPSForm ontolex:representation ?impSPS ; - wikibase:grammaticalFeature wd:Q12547192 ; - wikibase:grammaticalFeature wd:Q51929369 ; + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929369 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPSForm . ?impTPSForm ontolex:representation ?impTPS ; - wikibase:grammaticalFeature wd:Q12547192 ; - wikibase:grammaticalFeature wd:Q51929447 ; + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929447 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPPForm . ?impFPPForm ontolex:representation ?impFPP ; - wikibase:grammaticalFeature wd:Q12547192 ; - wikibase:grammaticalFeature wd:Q51929290 ; + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929290 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPForm . ?impSPPForm ontolex:representation ?impSPP ; - wikibase:grammaticalFeature wd:Q12547192 ; - wikibase:grammaticalFeature wd:Q51929403 ; + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929403 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPPForm . ?impTPPForm ontolex:representation ?impTPP ; - wikibase:grammaticalFeature wd:Q12547192 ; - wikibase:grammaticalFeature wd:Q51929517 ; + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929517 ; } . } diff --git a/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_1.sparql index 6f735ed24..cea9b3708 100644 --- a/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_1.sparql +++ b/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_1.sparql @@ -7,7 +7,7 @@ SELECT ?adjective ?nomSingular ?nomPlural - + WHERE { ?lexeme dct:language wd:Q397 ; wikibase:lexicalCategory wd:Q34698 ; @@ -18,14 +18,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . } . } diff --git a/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_2.sparql index 940f6ce4f..a1bbd8b93 100644 --- a/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_2.sparql @@ -18,14 +18,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?genSingularForm . ?genSingularForm ontolex:representation ?genSingular ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q146233, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?genPluralForm . ?genPluralForm ontolex:representation ?genPlural ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q146233, wd:Q146786 . } . } diff --git a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_1.sparql b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_1.sparql index 165a9f3dc..b0af32bc4 100644 --- a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_1.sparql +++ b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_1.sparql @@ -18,14 +18,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . } . } diff --git a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_2.sparql b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_2.sparql index 7e6ebf6b8..af44cc07e 100644 --- a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_2.sparql +++ b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_2.sparql @@ -18,14 +18,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?genSingularForm . ?genSingularForm ontolex:representation ?genSingular ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q146233, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?genPluralForm . ?genPluralForm ontolex:representation ?genPlural ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q146233, wd:Q146786 . } . } diff --git a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_3.sparql b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_3.sparql index 1f94db963..0a8c01956 100644 --- a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_3.sparql +++ b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_3.sparql @@ -18,14 +18,12 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?ablSingularForm . ?ablSingularForm ontolex:representation ?ablSingular ; - wikibase:grammaticalFeature wd:Q156986 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q156986, wd:Q110786 . } . OPTIONAL { ?lexeme ontolex:lexicalForm ?ablPluralForm . ?ablPluralForm ontolex:representation ?ablPlural ; - wikibase:grammaticalFeature wd:Q156986 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q156986, wd:Q146786 . } . } diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/nouns/query_nouns.sparql" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/nouns/query_nouns.sparql" index 4f505b678..bb7711224 100644 --- "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/nouns/query_nouns.sparql" +++ "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/nouns/query_nouns.sparql" @@ -1,6 +1,7 @@ # tool: scribe-data # All Bokmål Norwegian (Q9043) nouns, their plurals and their genders. # Enter this query at https://query.wikidata.org/. + # Note: This query is for Bokmål (Q25167) rather than Nynorsk (Q25164). SELECT @@ -21,10 +22,9 @@ WHERE { # MARK: Definite Singular OPTIONAL { - ?lexeme ontolex:lexicalForm ? ?defSingularForm . + ?lexeme ontolex:lexicalForm ?defSingularForm . ?defSingularForm ontolex:representation ?defSingular ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q53997851 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q53997851 ; } . # MARK: Indefinite Plural @@ -32,8 +32,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?indefPluralForm . ?indefPluralForm ontolex:representation ?indefPlural ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q53997857 ; } . # MARK: Definite Plural @@ -41,8 +40,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?defPluralForm . ?defPluralForm ontolex:representation ?defPlural ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q53997851 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q53997851 ; } . # MARK: Gender(s) diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/verbs/query_verbs.sparql" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/verbs/query_verbs.sparql" index e4cd7bef0..de2a738e9 100644 --- "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/verbs/query_verbs.sparql" +++ "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/verbs/query_verbs.sparql" @@ -1,6 +1,7 @@ # tool: scribe-data # All Norwegian Bokmål (Q9043) verbs and the currently implemented tenses for each. # Enter this query at https://query.wikidata.org/. + # Note: This query is for Bokmål (Q25167) rather than Nynorsk (Q25164). SELECT @@ -24,7 +25,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presentForm . ?presentForm ontolex:representation ?present ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q1317831 . + wikibase:grammaticalFeature wd:Q192613, wd:Q1317831 . } } diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/nouns/query_nouns.sparql index 60384065f..84ff8e01f 100644 --- a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/nouns/query_nouns.sparql @@ -1,6 +1,7 @@ # tool: scribe-data # All Nynorsk Norwegian (Q25164) nouns, their plurals and their genders. # Enter this query at https://query.wikidata.org/. + # Note: This query is for Nynorsk (Q25164) rather than Bokmål (Q25167). SELECT @@ -21,10 +22,9 @@ WHERE { # MARK: Definite Singular OPTIONAL { - ?lexeme ontolex:lexicalForm ? ?defSingularForm . + ?lexeme ontolex:lexicalForm ?defSingularForm . ?defSingularForm ontolex:representation ?defSingular ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q53997851 ; + wikibase:grammaticalFeature wd:Q110786, wd:Q53997851 ; } . # MARK: Indefinite Plural @@ -32,8 +32,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?indefPluralForm . ?indefPluralForm ontolex:representation ?indefPlural ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q53997857 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q53997857 ; } . # MARK: Definite Plural @@ -41,8 +40,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?defPluralForm . ?defPluralForm ontolex:representation ?defPlural ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q53997851 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q53997851 ; } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/verbs/query_verbs.sparql index 2cbc7d65f..73469287f 100644 --- a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/verbs/query_verbs.sparql @@ -1,6 +1,7 @@ # tool: scribe-data # All Norwegian Nynorsk (Q25164) verbs and the currently implemented tenses for each. # Enter this query at https://query.wikidata.org/. + # Note: This query is for Nynorsk (Q25164) rather than Bokmål (Q25167). SELECT @@ -33,9 +34,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?aInfinitiveActiveForm . ?aInfinitiveActiveForm ontolex:representation ?aInfinitiveActive ; - wikibase:grammaticalFeature wd:Q179230; - wikibase:grammaticalFeature wd:Q1317831; - wikibase:grammaticalFeature wd:Q115223950 . + wikibase:grammaticalFeature wd:Q179230, wd:Q1317831, wd:Q115223950 . FILTER(LANG(?aInfinitiveActive) = "nn") . } @@ -44,9 +43,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?eInfinitiveActiveForm . ?eInfinitiveActiveForm ontolex:representation ?eInfinitiveActive ; - wikibase:grammaticalFeature wd:Q179230; - wikibase:grammaticalFeature wd:Q1317831; - wikibase:grammaticalFeature wd:Q115223951 . + wikibase:grammaticalFeature wd:Q179230, wd:Q1317831, wd:Q115223951 . FILTER(LANG(?eInfinitiveActive) = "nn") . } @@ -55,8 +52,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presentActiveForm . ?presentActiveForm ontolex:representation ?presentActive ; - wikibase:grammaticalFeature wd:Q192613; - wikibase:grammaticalFeature wd:Q1317831 . + wikibase:grammaticalFeature wd:Q192613, wd:Q1317831 . FILTER(LANG(?presentActive) = "nn") . } @@ -79,9 +75,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presentPreteritePerfectForm . ?presentPreteritePerfectForm ontolex:representation ?presentPreteritePerfect ; - wikibase:grammaticalFeature wd:Q192613; - wikibase:grammaticalFeature wd:Q442485; - wikibase:grammaticalFeature wd:Q625420 . + wikibase:grammaticalFeature wd:Q192613, wd:Q442485, wd:Q625420 . FILTER(LANG(?presentPreteritePerfect) = "nn") . } @@ -99,11 +93,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?genderedSingularIndefinitePastParticipleForm . ?genderedSingularIndefinitePastParticipleForm ontolex:representation ?genderedSingularIndefinitePastParticiple ; - wikibase:grammaticalFeature wd:Q499327; - wikibase:grammaticalFeature wd:Q1775415; - wikibase:grammaticalFeature wd:Q110786; - wikibase:grammaticalFeature wd:Q53997857; - wikibase:grammaticalFeature wd:Q12717679 . + wikibase:grammaticalFeature wd:Q499327, wd:Q1775415, wd:Q110786, wd:Q53997857, wd:Q12717679 . FILTER(LANG(?genderedSingularIndefinitePastParticiple) = "nn") . } @@ -112,10 +102,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterSingularIndefinitePastParticipleForm . ?neuterSingularIndefinitePastParticipleForm ontolex:representation ?neuterSingularIndefinitePastParticiple ; - wikibase:grammaticalFeature wd:Q1775461; - wikibase:grammaticalFeature wd:Q110786; - wikibase:grammaticalFeature wd:Q53997857; - wikibase:grammaticalFeature wd:Q12717679 . + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q53997857, wd:Q12717679 . FILTER(LANG(?neuterSingularIndefinitePastParticiple) = "nn") . } @@ -124,9 +111,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?singularDefinitePastParticipleForm . ?singularDefinitePastParticipleForm ontolex:representation ?singularDefinitePastParticiple ; - wikibase:grammaticalFeature wd:Q110786; - wikibase:grammaticalFeature wd:Q53997851; - wikibase:grammaticalFeature wd:Q12717679 . + wikibase:grammaticalFeature wd:Q110786, wd:Q53997851, wd:Q12717679 . FILTER(LANG(?singularDefinitePastParticiple) = "nn") . } @@ -135,8 +120,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralPastParticipleForm . ?pluralPastParticipleForm ontolex:representation ?pluralPastParticiple ; - wikibase:grammaticalFeature wd:Q146786; - wikibase:grammaticalFeature wd:Q12717679 . + wikibase:grammaticalFeature wd:Q146786, wd:Q12717679 . FILTER(LANG(?pluralPastParticiple) = "nn") . } @@ -154,8 +138,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?infinitivePassiveForm . ?infinitivePassiveForm ontolex:representation ?infinitivePassive ; - wikibase:grammaticalFeature wd:Q179230; - wikibase:grammaticalFeature wd:Q1194697 . + wikibase:grammaticalFeature wd:Q179230, wd:Q1194697 . FILTER(LANG(?infinitivePassive) = "nn") . } @@ -164,8 +147,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presentPassiveForm . ?presentPassiveForm ontolex:representation ?presentPassive ; - wikibase:grammaticalFeature wd:Q192613; - wikibase:grammaticalFeature wd:Q1194697 . + wikibase:grammaticalFeature wd:Q192613, wd:Q1194697 . FILTER(LANG(?presentPassive) = "nn") . } } diff --git a/src/scribe_data/language_data_extraction/Polish/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Polish/emoji_keywords/__init__.py new file mode 100644 index 000000000..e69de29bb 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 5bd7e4fd4..3af24210b 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 @@ -19,8 +19,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 ; } . # MARK: Nominative Plural @@ -28,8 +27,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/Polish/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Polish/verbs/query_verbs.sparql index fcdf6e8a7..c6a0166ae 100644 --- a/src/scribe_data/language_data_extraction/Polish/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Polish/verbs/query_verbs.sparql @@ -38,55 +38,37 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q682111 . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q192613, wd:Q682111 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q682111 . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q192613, wd:Q682111 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q682111 . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q192613, wd:Q682111 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q682111 . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q192613, wd:Q682111 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q682111 . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q192613, wd:Q682111 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q192613 ; - wikibase:grammaticalFeature wd:Q682111 . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q192613, wd:Q682111 . } # MARK: Active Participle @@ -94,65 +76,49 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingActivePartForm . ?femSingActivePartForm ontolex:representation ?femSingActivePart ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q72249355 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimateSingActivePartForm . ?masAnimateSingActivePartForm ontolex:representation ?masAnimateSingActivePart ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q72249355 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimateSingActivePartForm . ?masInanimateSingActivePartForm ontolex:representation ?masInanimateSingActivePart ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q72249355 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutSingActivePartForm . ?neutSingActivePartForm ontolex:representation ?neutSingActivePart ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q72249355 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralActivePartForm . ?femPluralActivePartForm ontolex:representation ?femPluralActivePart ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q72249355 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimatePluralActivePartForm . ?masAnimatePluralActivePartForm ontolex:representation ?masAnimatePluralActivePart ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q72249355 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimatePluralActivePartForm . ?masInanimatePluralActivePartForm ontolex:representation ?masInanimatePluralActivePart ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q72249355 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutPluralActivePartForm . ?neutPluralActivePartForm ontolex:representation ?neutPluralActivePart ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249355 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q72249355 . } # MARK: Passive Participle @@ -160,64 +126,48 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingPassivePartForm . ?femSingPassivePartForm ontolex:representation ?femSingPassivePart ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q72249544 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimateSingPassivePartForm . ?masAnimateSingPassivePartForm ontolex:representation ?masAnimateSingPassivePart ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q72249544 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimateSingPassivePartForm . ?masInanimateSingPassivePartForm ontolex:representation ?masInanimateSingPassivePart ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q72249544 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutSingPassivePartForm . ?neutSingPassivePartForm ontolex:representation ?neutSingPassivePart ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q72249544 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralPassivePartForm . ?femPluralPassivePartForm ontolex:representation ?femPluralPassivePart ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q72249544 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimatePluralPassivePartForm . ?masAnimatePluralPassivePartForm ontolex:representation ?masAnimatePluralPassivePart ; - wikibase:grammaticalFeature wd:Q54020116 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q72249544 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimatePluralPassivePartForm . ?masInanimatePluralPassivePartForm ontolex:representation ?masInanimatePluralPassivePart ; - wikibase:grammaticalFeature wd:Q52943434 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q72249544 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutPluralPassivePartForm . ?neutPluralPassivePartForm ontolex:representation ?neutPluralPassivePart ; - wikibase:grammaticalFeature wd:Q1775461 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q72249544 ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q72249544 . } } diff --git a/src/scribe_data/language_data_extraction/Portuguese/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Portuguese/verbs/query_verbs.sparql index 79abc949d..ba45e4ff8 100644 --- a/src/scribe_data/language_data_extraction/Portuguese/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Portuguese/verbs/query_verbs.sparql @@ -34,60 +34,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # MARK: Past Perfect @@ -96,60 +78,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?perfFPSForm . ?perfFPSForm ontolex:representation ?perfFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q64005357 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q64005357 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?perfSPSForm . ?perfSPSForm ontolex:representation ?perfSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q64005357 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q64005357 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?perfTPSForm . ?perfTPSForm ontolex:representation ?perfTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q64005357 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q64005357 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?perfFPPForm . ?perfFPPForm ontolex:representation ?perfFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q64005357 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q64005357 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?perfSPPForm . ?perfSPPForm ontolex:representation ?perfSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q64005357 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q64005357 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?perfTPPForm . ?perfTPPForm ontolex:representation ?perfTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q64005357 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q64005357 ; } . # MARK: Past Imperfect @@ -158,60 +122,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPSForm . ?impFPSForm ontolex:representation ?impFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q12547192 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSForm . ?impSPSForm ontolex:representation ?impSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q12547192 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPSForm . ?impTPSForm ontolex:representation ?impTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q12547192 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPPForm . ?impFPPForm ontolex:representation ?impFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q12547192 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPForm . ?impSPPForm ontolex:representation ?impSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q12547192 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPPForm . ?impTPPForm ontolex:representation ?impTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q12547192 ; } . # MARK: Future Simple @@ -220,59 +166,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpFPSForm . ?fSimpFPSForm ontolex:representation ?fSimpFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q623742 ; - wikibase:grammaticalFeature wd:Q682111 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q623742, wd:Q682111 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpSPSForm . ?fSimpSPSForm ontolex:representation ?fSimpSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q623742 ; - wikibase:grammaticalFeature wd:Q682111 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q623742, wd:Q682111 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpTPSForm . ?fSimpTPSForm ontolex:representation ?fSimpTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q623742 ; - wikibase:grammaticalFeature wd:Q682111 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q623742, wd:Q682111 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpFPPForm . ?fSimpFPPForm ontolex:representation ?fSimpFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q623742 ; - wikibase:grammaticalFeature wd:Q682111 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q623742, wd:Q682111 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpSPPForm . ?fSimpSPPForm ontolex:representation ?fSimpSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q623742 ; - wikibase:grammaticalFeature wd:Q682111 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q623742, wd:Q682111 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpTPPForm . ?fSimpTPPForm ontolex:representation ?fSimpTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q623742 ; - wikibase:grammaticalFeature wd:Q682111 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q623742, wd:Q682111 ; } . } diff --git a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/scribe_data/language_data_extraction/Russian/adverbs/query_adverbs.sparql b/src/scribe_data/language_data_extraction/Russian/adverbs/query_adverbs.sparql new file mode 100644 index 000000000..7f9ccd674 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Russian/adverbs/query_adverbs.sparql @@ -0,0 +1,13 @@ +# tool: scribe-data +# All Russian (Q7737) adverbs. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adverb + +WHERE { + ?lexeme dct:language wd:Q7737 ; + wikibase:lexicalCategory wd:Q380057 ; + wikibase:lemma ?adverb . +} 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 25abb07a9..e2c6b7b98 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 @@ -19,8 +19,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 ; } . # MARK: Nominative Plural @@ -28,8 +27,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/Russian/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Russian/verbs/query_verbs.sparql index 501d23e1c..7ba7450f8 100644 --- a/src/scribe_data/language_data_extraction/Russian/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Russian/verbs/query_verbs.sparql @@ -25,60 +25,42 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # MARK: Past Feminine @@ -86,9 +68,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pastFeminineForm . ?pastFeminineForm ontolex:representation ?pastFeminine ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q1775415 ; + wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q1775415 ; } . # MARK: Past Masculine @@ -96,9 +76,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pastMasculineForm . ?pastMasculineForm ontolex:representation ?pastMasculine ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q499327 ; + wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q499327 ; } . # MARK: Past Neutral @@ -106,9 +84,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pastNeutralForm . ?pastNeutralForm ontolex:representation ?pastNeutral ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1994301 ; - wikibase:grammaticalFeature wd:Q1775461 ; + wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q1775461 ; } . # MARK: Past Plural @@ -116,8 +92,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pastPluralForm . ?pastPluralForm ontolex:representation ?pastPlural ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q1994301 ; + wikibase:grammaticalFeature wd:Q146786, wd:Q682111, wd:Q1994301 ; } . } diff --git a/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_1.sparql new file mode 100644 index 000000000..a2b92dbae --- /dev/null +++ b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_1.sparql @@ -0,0 +1,50 @@ +# tool: scribe-data +# All Slovak (Q9058) adjectives in the given cases. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adjective + ?feminineNominativeSingular + ?masculineNominativeSingular + ?neuterNominativeSingular + ?masculinePersonalNominativePlural + ?notMasculinePersonalNominativePlural + +WHERE { + ?lexeme dct:language wd:Q9058; + wikibase:lexicalCategory wd:Q34698 ; + wikibase:lemma ?adjective . + + # MARK: Nominative + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?feminineNominativeSingularForm . + ?feminineNominativeSingularForm ontolex:representation ?feminineNominativeSingular ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q131105, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculineNominativeSingularForm . + ?masculineNominativeSingularForm ontolex:representation ?masculineNominativeSingular ; + wikibase:grammaticalFeature wd:Q499327, wd:Q131105, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?neuterNominativeSingularForm . + ?neuterNominativeSingularForm ontolex:representation ?neuterNominativeSingular ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q131105, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculinePersonalNominativePluralForm . + ?masculinePersonalNominativePluralForm ontolex:representation ?masculinePersonalNominativePlural ; + wikibase:grammaticalFeature wd:Q27918551, wd:Q131105, wd:Q146786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?notMasculinePersonalNominativePluralForm . + ?notMasculinePersonalNominativePluralForm ontolex:representation ?notMasculinePersonalNominativePlural ; + wikibase:grammaticalFeature wd:Q54152717, wd:Q131105, wd:Q146786, wd:Q3482678 . + } . +} diff --git a/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_2.sparql new file mode 100644 index 000000000..39d294eab --- /dev/null +++ b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_2.sparql @@ -0,0 +1,43 @@ +# tool: scribe-data +# All Slovak (Q9058) adjectives in the given cases. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adjective + ?feminineGenitiveSingular + ?masculineGenitiveSingular + ?neuterGenitiveSingular + ?genitivePlural + +WHERE { + ?lexeme dct:language wd:Q9058; + wikibase:lexicalCategory wd:Q34698 ; + wikibase:lemma ?adjective . + + # MARK: Genitive + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?feminineGenitiveSingularForm . + ?feminineGenitiveSingularForm ontolex:representation ?feminineGenitiveSingular ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146233, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculineGenitiveSingularForm . + ?masculineGenitiveSingularForm ontolex:representation ?masculineGenitiveSingular ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146233, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?neuterGenitiveSingularForm . + ?neuterGenitiveSingularForm ontolex:representation ?neuterGenitiveSingular ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q146233, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?genitivePluralForm . + ?genitivePluralForm ontolex:representation ?genitivePlural ; + wikibase:grammaticalFeature wd:Q146233, wd:Q146786, wd:Q3482678 . + } . +} diff --git a/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_3.sparql b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_3.sparql new file mode 100644 index 000000000..d18cf3bea --- /dev/null +++ b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_3.sparql @@ -0,0 +1,43 @@ +# tool: scribe-data +# All Slovak (Q9058) adjectives in the given cases. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adjective + ?feminineDativeSingular + ?masculineDativeSingular + ?neuterDativeSingular + ?dativePlural + +WHERE { + ?lexeme dct:language wd:Q9058; + wikibase:lexicalCategory wd:Q34698 ; + wikibase:lemma ?adjective . + + # MARK: Dative + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?feminineDativeSingularForm . + ?feminineDativeSingularForm ontolex:representation ?feminineDativeSingular ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q145599, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculineDativeSingularForm . + ?masculineDativeSingularForm ontolex:representation ?masculineDativeSingular ; + wikibase:grammaticalFeature wd:Q499327, wd:Q145599, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?neuterDativeSingularForm . + ?neuterDativeSingularForm ontolex:representation ?neuterDativeSingular ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q145599, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?DativePluralForm . + ?DativePluralForm ontolex:representation ?dativePlural ; + wikibase:grammaticalFeature wd:Q145599, wd:Q146786, wd:Q3482678 . + } . +} diff --git a/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_4.sparql b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_4.sparql new file mode 100644 index 000000000..13d07e0dc --- /dev/null +++ b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_4.sparql @@ -0,0 +1,57 @@ +# tool: scribe-data +# All Slovak (Q9058) adjectives in the given cases. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adjective + ?feminineAccusativeSingular + ?masculineAnimateAccusativeSingular + ?masculineInanimateAccusativeSingular + ?neuterAccusativeSingular + ?masculinePersonalAccusativePlural + ?notMasculinePersonalAccusativePlural + +WHERE { + ?lexeme dct:language wd:Q9058; + wikibase:lexicalCategory wd:Q34698 ; + wikibase:lemma ?adjective . + + # MARK: Accustive + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?feminineAccusativeSingularForm . + ?feminineAccusativeSingularForm ontolex:representation ?feminineAccusativeSingular ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146078, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculineAccusativeSingularForm . + ?masculineAccusativeSingularForm ontolex:representation ?masculineAnimateAccusativeSingular ; + wikibase:grammaticalFeature wd:Q54020116, wd:Q146078, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculineAccusativeSingularForm . + ?masculineAccusativeSingularForm ontolex:representation ?masculineInanimateAccusativeSingular ; + wikibase:grammaticalFeature wd:Q52943434, wd:Q146078, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?neuterAccusativeSingularForm . + ?neuterAccusativeSingularForm ontolex:representation ?neuterAccusativeSingular ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q146078, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculinePersonalAccusativePluralForm . + ?masculinePersonalAccusativePluralForm ontolex:representation ?masculinePersonalAccusativePlural ; + wikibase:grammaticalFeature wd:Q27918551, wd:Q146078, wd:Q146786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?notMasculinePersonalAccusativePluralForm . + ?notMasculinePersonalAccusativePluralForm ontolex:representation ?notMasculinePersonalAccusativePlural ; + wikibase:grammaticalFeature wd:Q54152717, wd:Q146078, wd:Q146786, wd:Q3482678 . + } . +} diff --git a/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_5.sparql b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_5.sparql new file mode 100644 index 000000000..10bae4e4c --- /dev/null +++ b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_5.sparql @@ -0,0 +1,43 @@ +# tool: scribe-data +# All Slovak (Q9058) adjectives in the given cases. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adjective + ?feminineLocativeSingular + ?masculineLocativeSingular + ?neuterLocativeSingular + ?locativePlural + +WHERE { + ?lexeme dct:language wd:Q9058; + wikibase:lexicalCategory wd:Q34698 ; + wikibase:lemma ?adjective . + + # MARK: Locative + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?feminineLocativeSingularForm . + ?feminineLocativeSingularForm ontolex:representation ?feminineLocativeSingular ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q202142, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculineLocativeSingularForm . + ?masculineLocativeSingularForm ontolex:representation ?masculineLocativeSingular ; + wikibase:grammaticalFeature wd:Q499327, wd:Q202142, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?neuterLocativeSingularForm . + ?neuterLocativeSingularForm ontolex:representation ?neuterLocativeSingular ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q202142, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?locativePluralForm . + ?locativePluralForm ontolex:representation ?locativePlural ; + wikibase:grammaticalFeature wd:Q202142, wd:Q146786, wd:Q3482678 . + } . +} diff --git a/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_6.sparql b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_6.sparql new file mode 100644 index 000000000..68b50a4c6 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Slovak/adjecives/query_adjectives_6.sparql @@ -0,0 +1,43 @@ +# tool: scribe-data +# All Slovak (Q9058) adjectives in the given cases. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adjective + ?feminineInstrumentalSingular + ?masculineInstrumentalSingular + ?neuterInstrumentalSingular + ?instrumentalPlural + +WHERE { + ?lexeme dct:language wd:Q9058; + wikibase:lexicalCategory wd:Q34698 ; + wikibase:lemma ?adjective . + + # MARK: Instrumental + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?feminineInstrumentalSingularForm . + ?feminineInstrumentalSingularForm ontolex:representation ?feminineInstrumentalSingular ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q192997, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?masculineInstrumentalSingularForm . + ?masculineInstrumentalSingularForm ontolex:representation ?masculineInstrumentalSingular ; + wikibase:grammaticalFeature wd:Q499327, wd:Q192997, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?neuterInstrumentalSingularForm . + ?neuterInstrumentalSingularForm ontolex:representation ?neuterInstrumentalSingular ; + wikibase:grammaticalFeature wd:Q1775461, wd:Q192997, wd:Q110786, wd:Q3482678 . + } . + + OPTIONAL { + ?lexeme ontolex:lexicalForm ?instrumentalPluralForm . + ?instrumentalPluralForm ontolex:representation ?instrumentalPlural ; + wikibase:grammaticalFeature wd:Q192997, wd:Q146786, wd:Q3482678 . + } . +} 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 9bafa552e..2e279a8eb 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 @@ -20,8 +20,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/Spanish/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Spanish/adjectives/query_adjectives.sparql index 3d5b1318c..c0984a001 100644 --- a/src/scribe_data/language_data_extraction/Spanish/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/adjectives/query_adjectives.sparql @@ -24,8 +24,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularForm . ?femSingularForm ontolex:representation ?femSingular ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 . FILTER NOT EXISTS { ?femSingularForm wikibase:grammaticalFeature wd:Q1817208 . } @@ -34,16 +33,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularSuperlativeForm . ?femSingularSuperlativeForm ontolex:representation ?femSingularSuperlative ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1817208 . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1817208 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralForm . ?femPluralForm ontolex:representation ?femPlural ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786 . FILTER NOT EXISTS { ?femPluralForm wikibase:grammaticalFeature wd:Q1817208 . } @@ -52,9 +48,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralSuperlativeForm . ?femPluralSuperlativeForm ontolex:representation ?femPluralSuperlative ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1817208 . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1817208 . } # MARK: Masculine @@ -62,8 +56,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularForm . ?masSingularForm ontolex:representation ?masSingular ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786 . FILTER NOT EXISTS { ?masSingularForm wikibase:grammaticalFeature wd:Q1817208 . } @@ -72,16 +65,13 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularSuperlativeForm . ?masSingularSuperlativeForm ontolex:representation ?masSingularSuperlative ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q1817208 . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1817208 . } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralForm . ?masPluralForm ontolex:representation ?masPlural ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786 . FILTER NOT EXISTS { ?masPluralForm wikibase:grammaticalFeature wd:Q1817208 . } @@ -90,8 +80,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralSuperlativeForm . ?masPluralSuperlativeForm ontolex:representation ?masPluralSuperlative ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q1817208 . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1817208 . } } 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 dd0b54d87..35d717705 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 @@ -43,30 +43,26 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularForm . ?masSingularForm ontolex:representation ?masSingular ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q110786 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralForm . ?masPluralForm ontolex:representation ?masPlural ; - wikibase:grammaticalFeature wd:Q499327 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q499327, wd:Q146786 ; } . # MARK: feminine singular and plural forms. OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularForm . ?femSingularForm ontolex:representation ?femSingular ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 ; } . OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralForm . ?femPluralForm ontolex:representation ?femPlural ; - wikibase:grammaticalFeature wd:Q1775415 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786 ; } . SERVICE wikibase:label { diff --git a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_1.sparql index 37f9d82ed..67e3f2bb6 100644 --- a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_1.sparql @@ -24,59 +24,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q682111 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; } . } diff --git a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_2.sparql index 107c3eb2b..cfda604f6 100644 --- a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_2.sparql @@ -23,53 +23,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPSForm . ?pretFPSForm ontolex:representation ?pretFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q442485 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPSForm . ?pretSPSForm ontolex:representation ?pretSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q442485 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPSForm . ?pretTPSForm ontolex:representation ?pretTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q442485 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPPForm . ?pretFPPForm ontolex:representation ?pretFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q442485 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPPForm . ?pretSPPForm ontolex:representation ?pretSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q442485 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPPForm . ?pretTPPForm ontolex:representation ?pretTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q442485 ; } . } diff --git a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_3.sparql b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_3.sparql index 8ccfa4bec..bb3757b7f 100644 --- a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_3.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_3.sparql @@ -23,53 +23,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPSForm . ?impFPSForm ontolex:representation ?impFPS ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q12547192 ; } . # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSForm . ?impSPSForm ontolex:representation ?impSPS ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q12547192 ; } . # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPSForm . ?impTPSForm ontolex:representation ?impTPS ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q12547192 ; } . # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPPForm . ?impFPPForm ontolex:representation ?impFPP ; - wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q12547192 ; } . # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPForm . ?impSPPForm ontolex:representation ?impSPP ; - wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q12547192 ; } . # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPPForm . ?impTPPForm ontolex:representation ?impTPP ; - wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786 ; - wikibase:grammaticalFeature wd:Q12547192 ; + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q12547192 ; } . } 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 243733b0b..6e9895b3b 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 @@ -26,30 +26,22 @@ WHERE { # Nominative Singular ?lexeme ontolex:lexicalForm ?nomIndefSingularForm . ?nomIndefSingularForm ontolex:representation ?nomIndefSingular ; - wikibase:grammaticalFeature wd:Q53997857 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q53997857, wd:Q131105, wd:Q110786 . # Nominative Plural ?lexeme ontolex:lexicalForm ?nomIndefPluralForm . ?nomIndefPluralForm ontolex:representation ?nomIndefPlural ; - wikibase:grammaticalFeature wd:Q53997857 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q53997857, wd:Q131105, wd:Q146786 . # Genitive Singular ?lexeme ontolex:lexicalForm ?genIndefSingularForm . ?genIndefSingularForm ontolex:representation ?genIndefSingular ; - wikibase:grammaticalFeature wd:Q53997857 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q53997857, wd:Q146233, wd:Q110786 . # Genitive Plural ?lexeme ontolex:lexicalForm ?genIndefPluralForm . ?genIndefPluralForm ontolex:representation ?genIndefPlural ; - wikibase:grammaticalFeature wd:Q53997857 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q53997857, wd:Q146233, wd:Q146786 . } . # MARK: Definite @@ -58,30 +50,22 @@ WHERE { # Nominative Singular ?lexeme ontolex:lexicalForm ?nomDefSingularForm . ?nomDefSingularForm ontolex:representation ?nomDefSingular ; - wikibase:grammaticalFeature wd:Q53997851 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q53997851, wd:Q131105, wd:Q110786 . # Nominative Plural ?lexeme ontolex:lexicalForm ?nomDefPluralForm . ?nomDefPluralForm ontolex:representation ?nomDefPlural ; - wikibase:grammaticalFeature wd:Q53997851 ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q53997851, wd:Q131105, wd:Q146786 . # Genitive Singular ?lexeme ontolex:lexicalForm ?genDefSingularForm . ?genDefSingularForm ontolex:representation ?genDefSingular ; - wikibase:grammaticalFeature wd:Q53997851 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q110786 . + wikibase:grammaticalFeature wd:Q53997851, wd:Q146233, wd:Q110786 . # Genitive Plural ?lexeme ontolex:lexicalForm ?genDefPluralForm . ?genDefPluralForm ontolex:representation ?genDefPlural ; - wikibase:grammaticalFeature wd:Q53997851 ; - wikibase:grammaticalFeature wd:Q146233 ; - wikibase:grammaticalFeature wd:Q146786 . + wikibase:grammaticalFeature wd:Q53997851, wd:Q146233, wd:Q146786 . } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/Swedish/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Swedish/verbs/query_verbs.sparql index f4c1db3e1..c0f225b24 100644 --- a/src/scribe_data/language_data_extraction/Swedish/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Swedish/verbs/query_verbs.sparql @@ -19,7 +19,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?activeInfinitiveForm . ?activeInfinitiveForm ontolex:representation ?activeInfinitive ; wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q179230 ; + wikibase:grammaticalFeature wd:Q179230 . # Imperative OPTIONAL { @@ -32,24 +32,21 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?activeSupineForm . ?activeSupineForm ontolex:representation ?activeSupine ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q548470 ; + wikibase:grammaticalFeature wd:Q1317831, wd:Q548470 ; } . # Present OPTIONAL { ?lexeme ontolex:lexicalForm ?activePresentForm . ?activePresentForm ontolex:representation ?activePresent ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q1317831, wd:Q192613 ; } . # Preterite OPTIONAL { ?lexeme ontolex:lexicalForm ?activePreteriteForm . ?activePreteriteForm ontolex:representation ?activePreterite ; - wikibase:grammaticalFeature wd:Q1317831 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q1317831, wd:Q442485 ; } . # MARK: Passive Voice @@ -58,31 +55,27 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?passiveInfinitiveForm . ?passiveInfinitiveForm ontolex:representation ?passiveInfinitive ; - wikibase:grammaticalFeature wd:Q1194697 ; - wikibase:grammaticalFeature wd:Q179230 ; + wikibase:grammaticalFeature wd:Q1194697, wd:Q179230 ; } . # Supine OPTIONAL { ?lexeme ontolex:lexicalForm ?passiveSupineForm . ?passiveSupineForm ontolex:representation ?passiveSupine ; - wikibase:grammaticalFeature wd:Q1194697 ; - wikibase:grammaticalFeature wd:Q548470 ; + wikibase:grammaticalFeature wd:Q1194697, wd:Q548470 ; } . # Present OPTIONAL { ?lexeme ontolex:lexicalForm ?passivePresentForm . ?passivePresentForm ontolex:representation ?passivePresent ; - wikibase:grammaticalFeature wd:Q1194697 ; - wikibase:grammaticalFeature wd:Q192613 ; + wikibase:grammaticalFeature wd:Q1194697, wd:Q192613 ; } . # Preterite OPTIONAL { ?lexeme ontolex:lexicalForm ?passivePreteriteForm . ?passivePreteriteForm ontolex:representation ?passivePreterite ; - wikibase:grammaticalFeature wd:Q1194697 ; - wikibase:grammaticalFeature wd:Q442485 ; + wikibase:grammaticalFeature wd:Q1194697, wd:Q442485 ; } . } 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 new file mode 100644 index 000000000..059f1ce28 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Tamil/adjectives/query_adjectives.sparql @@ -0,0 +1,15 @@ +# tool: scribe-data +# All Tamil (Q5885) adjectives. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?adjective + +WHERE { + ?lexeme dct:language wd:Q5885 ; + wikibase:lexicalCategory wd:Q34698 ; + wikibase:lemma ?adjective . + + FILTER(lang(?adjective) = "ta") +} 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 ae10914e1..587628104 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 @@ -18,8 +18,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q110786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 ; } . # MARK: Nominative Plural @@ -27,7 +26,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . } diff --git a/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/__init__.py new file mode 100644 index 000000000..e69de29bb 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 1548b4c46..05508ca96 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 @@ -20,8 +20,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105 ; - wikibase:grammaticalFeature wd:Q146786 ; + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; } . # MARK: Gender(s) diff --git a/src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/scribe_data/language_data_extraction/Yoruba/prepositions/query_prepositions.sparql b/src/scribe_data/language_data_extraction/Yoruba/prepositions/query_prepositions.sparql new file mode 100644 index 000000000..ea0e9b001 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Yoruba/prepositions/query_prepositions.sparql @@ -0,0 +1,13 @@ +# tool: scribe-data +# All Yoruba (Q34311) prepositions. +# Enter this query at https://query.wikidata.org/. + +SELECT + (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) + ?preposition + +WHERE { + ?lexeme dct:language wd:Q34311 ; + wikibase:lexicalCategory wd:Q4833830 ; + wikibase:lemma ?preposition . +} diff --git a/src/scribe_data/unicode/UNICODE.md b/src/scribe_data/unicode/UNICODE_INSTALLTION.md similarity index 52% rename from src/scribe_data/unicode/UNICODE.md rename to src/scribe_data/unicode/UNICODE_INSTALLTION.md index 2d15a7a7d..e8f493163 100644 --- a/src/scribe_data/unicode/UNICODE.md +++ b/src/scribe_data/unicode/UNICODE_INSTALLTION.md @@ -1,5 +1,17 @@ -# scribe_data.unicode +# Scribe-Data Unicode Functionality Installation The Scribe-Data Unicode process is powered by [cldr-json](https://github.com/unicode-org/cldr-json) data from the [Unicode Consortium](https://home.unicode.org/) and [PyICU](https://gitlab.pyicu.org/main/pyicu), a Python extension that wraps the Unicode Consortium's [International Components for Unicode (ICU)](https://github.com/unicode-org/icu) C++ project. Please see the [installation guide for PyICU](https://gitlab.pyicu.org/main/pyicu#installing-pyicu) as the extension must be linked to ICU on your machine to work properly. + +Note that some of the commands may be incorrect. On macOS you may need to do the following: + +```bash +# Instead of: +export PATH="$(brew --prefix)/opt/icu4c/bin:$(brew --prefix)/opt/icu4c/sbin:$PATH" +export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix)/opt/icu4c/lib/pkgconfig" + +# Run: +echo "/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/icu4c/sbin:$PATH" +echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/homebrew/opt/icu4c/lib/pkgconfig" +```