Skip to content

Commit

Permalink
Finalized warning messages during import of negative assertions from …
Browse files Browse the repository at this point in the history
…graph
  • Loading branch information
mdesalvo committed Dec 8, 2020
1 parent bf8c798 commit d1f0899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RDFSharp/Semantics/OWL/RDFSemanticsUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1890,8 +1890,8 @@ internal static RDFOntology FromRDFGraph(RDFGraph ontGraph)
var apProperty = ontology.Model.PropertyModel.SelectProperty(asnProperty.ToString());
if (apProperty == null)
{
//Raise warning event to inform the user: negative assertion relation cannot be imported from graph, because owl:AssertionProperty links an undeclared property
RDFSemanticsEvents.RaiseSemanticsWarning(String.Format("NegativeAssertion relation '{0}' cannot be imported from graph, because owl:AssertionProperty '{1}' links an undeclared property.", nAsn.Subject, asnProperty));
//Raise warning event to inform the user: negative assertion relation cannot be imported from graph, because owl:AssertionProperty is not a declared property
RDFSemanticsEvents.RaiseSemanticsWarning(String.Format("NegativeAssertion relation '{0}' cannot be imported from graph, because owl:AssertionProperty '{1}' is not a declared property.", nAsn.Subject, asnProperty));
continue;
}
#endregion
Expand Down

0 comments on commit d1f0899

Please sign in to comment.