Class SubPropertyChainOfTranslator

java.lang.Object
com.github.owlcs.ontapi.internal.BaseSearcher
com.github.owlcs.ontapi.internal.AxiomTranslator<org.semanticweb.owlapi.model.OWLSubPropertyChainOfAxiom>
com.github.owlcs.ontapi.internal.axioms.AbstractListBasedTranslator<org.semanticweb.owlapi.model.OWLSubPropertyChainOfAxiom,org.apache.jena.ontapi.model.OntObjectProperty,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.apache.jena.ontapi.model.OntObjectProperty,org.semanticweb.owlapi.model.OWLObjectPropertyExpression>
com.github.owlcs.ontapi.internal.axioms.SubPropertyChainOfTranslator
All Implemented Interfaces:
ObjectsSearcher<org.semanticweb.owlapi.model.OWLSubPropertyChainOfAxiom>

public class SubPropertyChainOfTranslator extends AbstractListBasedTranslator<org.semanticweb.owlapi.model.OWLSubPropertyChainOfAxiom,org.apache.jena.ontapi.model.OntObjectProperty,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.apache.jena.ontapi.model.OntObjectProperty,org.semanticweb.owlapi.model.OWLObjectPropertyExpression>
A translator that provides OWLSubPropertyChainOfAxiom implementations. Example in turtle:

 owl:topObjectProperty owl:propertyChainAxiom ( :ob-prop-1 :ob-prop-2 ) .
 

Created by @ssz on 18.10.2016.

See Also:
  • Constructor Details

    • SubPropertyChainOfTranslator

      public SubPropertyChainOfTranslator()
  • Method Details

    • toAxiomImpl

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