Skip to content

Commit

Permalink
Merge branch 'main' into workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis authored Oct 16, 2024
2 parents 715fe2a + edc1b47 commit be19f55
Show file tree
Hide file tree
Showing 86 changed files with 880 additions and 1,431 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"pytest-cov",
"ruff",
"SPARQLWrapper",
"tqdm"
"tqdm",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/scribe_data/cli/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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 .
}
}
Loading

0 comments on commit be19f55

Please sign in to comment.