Class DisjointDataPropertiesTranslator

java.lang.Object
com.github.owlcs.ontapi.internal.BaseSearcher
com.github.owlcs.ontapi.internal.AxiomTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom>
com.github.owlcs.ontapi.internal.axioms.AbstractNaryTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.apache.jena.ontapi.model.OntDataProperty>
com.github.owlcs.ontapi.internal.axioms.AbstractTwoWayNaryTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.apache.jena.ontapi.model.OntDataProperty>
com.github.owlcs.ontapi.internal.axioms.DisjointDataPropertiesTranslator
All Implemented Interfaces:
ObjectsSearcher<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom>

public class DisjointDataPropertiesTranslator extends AbstractTwoWayNaryTranslator<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.apache.jena.ontapi.model.OntDataProperty>
A translator that provides OWLDisjointDataPropertiesAxiom implementations. Examples:
  • :objProperty1 owl:propertyDisjointWith :objProperty2
  • [ rdf:type owl:AllDisjointProperties; owl:members ( :objProperty1 :objProperty2 :objProperty3 ) ]

Created @ssz on 12.10.2016.

  • Constructor Details

    • DisjointDataPropertiesTranslator

      public DisjointDataPropertiesTranslator()
  • Method Details

    • toAxiomImpl

      public ONTObject<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom> 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.OWLDisjointDataPropertiesAxiom>
      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.OWLDisjointDataPropertiesAxiom> 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.OWLDisjointDataPropertiesAxiom>
      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