Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

Merge pull request #302 from rudycelekli/fix/python-owl-property-recognition-20261010

FABIOTESS69856444a2f8
diff --cc CHANGELOG.md
index 3bf7d2fc,748cafb0..417f31bc
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -6,67 -6,7 +6,68 @@@ All notable changes to Open Ontologies
### Fixed
+- Preserve carriage returns and CRLF text when importing dataframe rows into the Python engine.
+- Report non-object JSON from a configured Python certificate checker as unchecked instead of raising an attribute error.
+- Preserve RDF literal datatypes when comparing Python KGCL graph changes, while retaining lexical label and annotation values.
+
+- **`owl-dl` classifies Pizza exactly as HermiT does, and says when it is not
+ complete.** On the canonical `pizza.owl` it returned no subsumptions and 143
+ undetermined classes; it now returns HermiT 1.4.3's 500 subsumptions and its
+ two unsatisfiable classes, none wrong. The changes, each measured against
+ HermiT: absorption of non-atomic left-hand sides (domains, `∀r⁻` rules,
+ binary rules), dependency-directed backjumping, subsumers read off each
+ class's satisfiability model instead of one tableau per pair of classes,
+ `owl:disjointWith` absorbed as `A ⊓ B ⊑ ⊥` (disjointness with `owl:Thing`
+ never fired before), anywhere blocking, and parsing of `owl:AllDisjointClasses`,
+ `owl:disjointUnionOf` and `owl:equivalentProperty`, which were skipped in
+ silence. Over 120 ORE 2015 files across the `el`, `dl` and `pure_dl` tracks
+ there is no wrong subsumption and no wrong unsatisfiability claim.
+- An unrecognised restriction such as `owl:hasSelf` was read as `⊤`, so
+ `Narcissist ≡ ∃loves.Self` made every class a subclass of `Narcissist`. It
+ is now an opaque name, which is sound in both positions.
+- A subsumption test that ran out of budget was dropped as if refuted, and the
+ run still reported `complete: true`; it is now counted in
+ `subsumption_agent.undetermined` and named in `budget_exhausted_in`.
+- `complete` now requires that every axiom was modelled. Each `owl-dl` run
+ reports `search_finished` and `constructs_not_modelled`, which now include
+ `owl:hasSelf`, property disjointness, `owl:AllDifferent` and restrictions on
+ datatype properties.
+- **`align` reads SKOS.** It read `owl:Class` only, so a pure SKOS taxonomy
+ produced zero candidates and said nothing about why. A `skos:Concept` is now
+ aligned with its preferred, alternative and hidden labels, its
+ `skos:broader`/`skos:broaderTransitive` parents, and its `skos:definition`
+ shown to the reviewer. An entity that is also an `owl:Class` is read as
+ before.
+- **A perfect name no longer caps at 0.85, and agreement no longer costs
+ confidence.** The weighted sum now averages over the signals that carry
+ evidence for the pair (`informative_signals`, `evidence_coverage`), and a
+ structural signal counts as support when the two sides share a feature the
+ other can name. The old fusion is `--scoring legacy` and reproduces the
+ published OAEI Anatomy figure byte for byte; the new default scores F1 0.833
+ there at the equivalent threshold. The default auto-apply threshold is 0.95
+ under the new scoring (0.85 under legacy), the same strictness on each scale.
+- **Ties are reported, never dropped.** A row stable matching kept over an
+ equally scored one names the loser under `tied_with`, is marked `ambiguous`,
+ and goes to review instead of into the graph. `--cardinality many-to-one`
+ keeps several source terms on one coarser target.
+- **`crosswalk-certify` compares only what can be compared.** An ancestor with
+ no counterpart through the mapping, on either side, is a coverage gap named
+ on the row and no longer downgrades it; a SKOS scheme's hierarchy is its
+ `skos:broader` closure, so the check can now fail on SKOS input; a row with
+ nothing to compare is `not_refuted_nothing_compared` rather than upheld; and
+ the SSSOM predicate column never strengthens a claim.
+- Encode literal percent characters in mapped IRI components while preserving valid percent escapes.
+
+### Added
+
+- **`crosswalk-probe`** (CLI subcommand and batch verb): carry a crosswalk's
+ subsumptions into the target and report the clashes they add. Witness
+ individuals make a TBox-only taxonomy able to clash; clashes the target has
+ on its own are reported apart. Exits 1 on a contradiction.
+
+- Render native SELECT rows as tables with `--human`, including empty results, while preserving JSON output and standard SPARQL binding rendering.
+- Reject truncated XML data documents instead of reporting an incomplete prefix as a successful ingestion.
+ - Recognize explicitly declared OWL properties in Python statistics and structural lint, without counting property declarations as individuals.
- Keep the last active ontology intact when parsing a replacement source, cache, or refresh fails; publish successful replacements in one graph transaction.
- Bound wildcard repository filtering to pattern/filename pairs so repeated stars cannot stall `onto_repo_list`.