engine.rulesets.owl2_rl_prp

OWL 2 RL property (prp-*) entailment rules.

Implements the triple-producing property rules from OWL 2 Profiles Section 4.3.

Production choices

  • prp-ap uses empty-body bootstrap rules with silent=True so built-in annotation-property typing participates in working memory without graph materialization (same pattern as RDF axiom bootstrap rules).

  • prp-rng guards the object with not_literal so range typing never places a literal in subject position of an rdf:type conclusion.

  • prp-fp, prp-ifp, and prp-key add different_terms on the equated pair so trivial reflexive owl:sameAs conclusions are not produced when both bindings are the same term.

  • prp-spo1, prp-eqp1, and prp-eqp2 add different_terms on the two properties to skip no-op reassertion when the properties coincide.

LIST-dependent rules

prp-spo2 and prp-key expand LIST[...] via owl2_rl_list_conditions() for fixed chain lengths 1..3 (property chains) and 1..2 (keys). Longer lists are outside this finite expansion and are not covered by the exported tuple.

Attributes

OWL2_RL_PRP_RULES

Module Contents

engine.rulesets.owl2_rl_prp.OWL2_RL_PRP_RULES: tuple[engine.rules.Rule, Ellipsis]