Skip to content

Fix the ranges of baseConstraint and grammaticalMeaning; regenerate morph.ttl - #88

Merged
jmccrae merged 1 commit into
masterfrom
fix-baseconstraint-range
Nov 26, 2026
Merged

jmccrae merged 1 commit into
masterfrom
fix-baseconstraint-range

Conversation

@jmccrae

@jmccrae jmccrae commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Since #79 renamed the class Grammatical Meaning to Grammatical Meaning Value, the term reference [=Grammatical Meaning=] resolves to the property morph:grammaticalMeaning (its <dfn> is "grammatical meaning"). As a result, the generated ontology had

  • morph:baseConstraint rdfs:range morph:grammaticalMeaning
  • morph:grammaticalMeaning rdfs:range morph:grammaticalMeaning

Both now use [=Grammatical Meaning Value=], giving rdfs:range morph:GrammaticalMeaningValue. The text of the Latin lupus example ("an instance of [=Grammatical Meaning=] is introduced for that feature bundle") is corrected the same way.

morph.ttl regenerated. The committed file already had the intended ranges (it was not regenerated after #79). Regenerating it from the specification changes:

  • morph:generates rdfs:domain: morph:WordFormationRule → morph:Rule, as the specification has said since f101bbc ("change domain of generates in the definition")
  • the comment of slot gains its final full stop, dcterms:rights gets @en, and the triples are reordered

build_ontology.py now replaces the non-breaking spaces that Pandoc inserts after abbreviations such as "e.g." in comments.

Independent of #87.

🤖 Generated with Claude Code

…morph.ttl

After GrammaticalMeaning was renamed GrammaticalMeaningValue (#79), the term
reference [=Grammatical Meaning=] resolves to the grammaticalMeaning property,
so the ranges of baseConstraint and grammaticalMeaning were that property.
They now refer to [=Grammatical Meaning Value=].

morph.ttl is regenerated from the specification; build_ontology.py replaces
the non-breaking spaces that Pandoc inserts after abbreviations.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jmccrae
jmccrae merged commit 0409313 into master Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant