Skip to content

Commit b35d8d8

Browse files
committed
Slight code cleanups
1 parent 764dc66 commit b35d8d8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

OWLSharp/OWLEnums.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ public enum OWLReasonerRules
103103
InverseFunctionalObjectPropertyEntailment = 14,
104104
/// <summary>
105105
/// InverseObjectProperties(OP,IOP) ^ ObjectPropertyAssertion(OP,IDV1,IDV2) -> ObjectPropertyAssertion(IOP,IDV2,IDV1)<br/>
106-
/// InverseObjectProperties(OP,IOP) ^ EquivalentObjectProperties(IOP,IOP2) -> InverseObjectProperties(OP,IOP2)
106+
/// InverseObjectProperties(OP,IOP) ^ EquivalentObjectProperties(IOP,IOP2) -> InverseObjectProperties(OP,IOP2)<br/>
107+
/// InverseObjectProperties(OP,IOP) ^ ObjectPropertyDomain(OP,C) -> ObjectPropertyRange(IOP,C)<br/>
108+
/// InverseObjectProperties(OP,IOP) ^ ObjectPropertyRange(OP,C) -> ObjectPropertyDomain(IOP,C)
107109
/// </summary>
108110
InverseObjectPropertiesEntailment = 15,
109111
/// <summary>

OWLSharp/Ontology/OWLOntologyHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2726,7 +2726,7 @@ void LoadDatatypeRestriction(OWLOntology ont, RDFResource drIRI, RDFResource onD
27262726
/// </summary>
27272727
private static async Task IntegrateInferencesAsync(this OWLOntology ontology, OWLReasoner reasoner)
27282728
{
2729-
Parallel.ForEach(await reasoner.ApplyToOntologyAsync(ontology), inference =>
2729+
foreach (OWLInference inference in await reasoner.ApplyToOntologyAsync(ontology))
27302730
{
27312731
switch (inference.Axiom)
27322732
{
@@ -2746,7 +2746,7 @@ private static async Task IntegrateInferencesAsync(this OWLOntology ontology, OW
27462746
ontology.DeclareAnnotationAxiom(annAx);
27472747
break;
27482748
}
2749-
});
2749+
}
27502750
}
27512751
#endregion
27522752
}

0 commit comments

Comments
 (0)