Skip to content

Commit e7b27bc

Browse files
committed
Calibrate object assertions in property chain entailment
1 parent b2d3608 commit e7b27bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

OWLSharp/Ontology/Helpers/OWLAssertionAxiomHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ internal static List<OWLNegativeDataPropertyAssertion> SelectNegativeDataAsserti
640640
=> negDtPropAsnAxioms.Where(ax => ax.DataProperty.GetIRI().Equals(dtProp.GetIRI())).ToList();
641641

642642
/// <summary>
643-
/// Scans the OWLObjectPropertyAssertion axioms of the given ontology and adjusts the verse of those using OWLObjectInverseOf semantic
643+
/// Scans the OWLObjectPropertyAssertion axioms of the given ontology and "adjusts" the verse of ones using OWLObjectInverseOf semantic
644644
/// </summary>
645645
internal static List<OWLObjectPropertyAssertion> CalibrateObjectAssertions(OWLOntology ontology)
646646
{
@@ -657,7 +657,7 @@ internal static List<OWLObjectPropertyAssertion> CalibrateObjectAssertions(OWLOn
657657
}
658658

659659
/// <summary>
660-
/// Scans the OWLNegativeObjectPropertyAssertion axioms of the given ontology and adjusts the verse of those using OWLObjectInverseOf semantic
660+
/// Scans the OWLNegativeObjectPropertyAssertion axioms of the given ontology and "adjusts" the verse of ones using OWLObjectInverseOf semantic
661661
/// </summary>
662662
internal static List<OWLNegativeObjectPropertyAssertion> CalibrateNegativeObjectAssertions(OWLOntology ontology)
663663
{

OWLSharp/Reasoner/RuleSet/OWLObjectPropertyChainEntailmentRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal static List<OWLInference> ExecuteRule(OWLOntology ontology)
3232
Lazy<RDFGraph> lazyOPAsnsGraph = new Lazy<RDFGraph>(() =>
3333
{
3434
RDFGraph opAsnsGraph = new RDFGraph();
35-
foreach (OWLObjectPropertyAssertion opAsn in ontology.GetAssertionAxiomsOfType<OWLObjectPropertyAssertion>())
35+
foreach (OWLObjectPropertyAssertion opAsn in OWLAssertionAxiomHelper.CalibrateObjectAssertions(ontology))
3636
{
3737
foreach (RDFTriple opAsnTriple in opAsn.ToRDFGraph())
3838
opAsnsGraph.AddTriple(opAsnTriple);

0 commit comments

Comments
 (0)