Class NegativeObjectPropertyAssertionTranslator

java.lang.Object
com.github.owlcs.ontapi.internal.BaseSearcher
com.github.owlcs.ontapi.internal.AxiomTranslator<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom>
com.github.owlcs.ontapi.internal.axioms.AbstractNegativePropertyAssertionTranslator<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom,org.apache.jena.ontapi.model.OntNegativeAssertion.WithObjectProperty>
com.github.owlcs.ontapi.internal.axioms.NegativeObjectPropertyAssertionTranslator
All Implemented Interfaces:
ObjectsSearcher<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom>

public class NegativeObjectPropertyAssertionTranslator extends AbstractNegativePropertyAssertionTranslator<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom,org.apache.jena.ontapi.model.OntNegativeAssertion.WithObjectProperty>
A translator that provides OWLNegativeObjectPropertyAssertionAxiom implementations. Example:

 [ a owl:NegativePropertyAssertion; owl:sourceIndividual :ind1; owl:assertionProperty :objProp; owl:targetIndividual :ind2 ] .
 
Created @ssz on 12.10.2016.
  • Constructor Details

    • NegativeObjectPropertyAssertionTranslator

      public NegativeObjectPropertyAssertionTranslator()
  • Method Details

    • toAxiomImpl

      public ONTObject<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom> toAxiomImpl(org.apache.jena.ontapi.model.OntStatement statement, ModelObjectFactory factory, AxiomsSettings config)
      Description copied from class: AxiomTranslator
      Creates an OWL Axiom impl from a statement. Impl note: the method returns ONTAxiomImpl instance that is attached to the model.
      Specified by:
      toAxiomImpl in class AxiomTranslator<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom>
      Parameters:
      statement - OntStatement the statement which determines the axiom
      factory - ModelObjectFactory the data factory to create OWL-API objects
      config - AxiomsSettings to control the process
      Returns:
      ONTObject around OWLAxiom
    • toAxiomWrap

      public ONTObject<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom> toAxiomWrap(org.apache.jena.ontapi.model.OntStatement statement, ONTObjectFactory factory, AxiomsSettings config)
      Description copied from class: AxiomTranslator
      Creates an OWL Axiom wrapper from a statement. Impl note: the method returns a simple ONT Wrapper with an actual AxiomTranslator instance inside, that is created by the system-wide Data Factory.
      Specified by:
      toAxiomWrap in class AxiomTranslator<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom>
      Parameters:
      statement - OntStatement the statement which determines the axiom
      factory - ONTObjectFactory the data factory to create OWL-API objects
      config - AxiomsSettings to control the process
      Returns:
      ONTObject around OWLAxiom