Tabnine Logo
OWLDataFactory.getOWLObjectHasSelf
Code IndexAdd Tabnine to your IDE (free)

How to use
getOWLObjectHasSelf
method
in
org.semanticweb.owlapi.model.OWLDataFactory

Best Java code snippets using org.semanticweb.owlapi.model.OWLDataFactory.getOWLObjectHasSelf (Showing top 20 results out of 315)

origin: net.sourceforge.owlapi/org.semanticweb.hermit

@Override
public OWLClassExpression visit(OWLObjectHasSelf d) {
  return m_factory.getOWLObjectHasSelf(d.getProperty());
}
@Override
origin: com.github.ansell.pellet/pellet-owlapiv3

public void visitSelf(ATermAppl term) {
  visit( (ATermAppl) term.getArgument( 0 ) );
  OWLObjectPropertyExpression prop = (OWLObjectPropertyExpression) obj;
  obj = factory.getOWLObjectHasSelf( prop );
}
origin: net.sourceforge.owlapi/owlapi

public void visit(OWLObjectHasSelf desc) {
  desc.getProperty().accept(this);
  OWLObjectPropertyExpression prop = (OWLObjectPropertyExpression) obj;
  obj = dataFactory.getOWLObjectHasSelf(prop);
}
origin: net.sourceforge.owlapi/owlapi-distribution

  @Override
  public OWLObjectHasSelf buildObject() {
    return df.getOWLObjectHasSelf(verifyNotNull(getProperty()));
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public OWLObjectHasSelf buildObject() {
    return df.getOWLObjectHasSelf(verifyNotNull(getProperty()));
  }
}
origin: edu.stanford.protege/org.protege.owl.server

@Override
public Object read(OWLInputStream in) throws IOException {
  OWLObjectPropertyExpression pe = (OWLObjectPropertyExpression) in.read();
  return in.getOWLDataFactory().getOWLObjectHasSelf(pe);
}
origin: com.github.galigator.openllet/openllet-owlapi

@Override
public void visitSelf(final ATermAppl term)
{
  visit((ATermAppl) term.getArgument(0));
  final OWLObjectPropertyExpression prop = (OWLObjectPropertyExpression) _obj;
  _obj = _factory.getOWLObjectHasSelf(prop);
}
origin: com.github.ansell.owlapi/owlapi-parsers

final public OWLClassExpression ObjectSelf() throws ParseException {
  OWLObjectPropertyExpression prop;
  jj_consume_token(OBJECTHASSELF);
  jj_consume_token(OPENPAR);
  prop = ObjectPropertyExpression();
  jj_consume_token(CLOSEPAR);
  return dataFactory.getOWLObjectHasSelf(prop);
}
origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLClassExpression ObjectSelf() throws ParseException {OWLObjectPropertyExpression prop;
  jj_consume_token(OBJECTHASSELF);
  jj_consume_token(OPENPAR);
  prop = ObjectPropertyExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectHasSelf(prop);
}

origin: net.sourceforge.owlapi/owlapi-parsers

 final public OWLClassExpression ObjectSelf() throws ParseException {OWLObjectPropertyExpression prop;
  jj_consume_token(OBJECTHASSELF);
  jj_consume_token(OPENPAR);
  prop = ObjectPropertyExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectHasSelf(prop);
}

origin: com.github.ansell.owlapi/owlapi-parsers

@Override
protected void endClassExpressionElement() throws OWLXMLParserException {
  if (property == null) {
    throw new OWLXMLParserElementNotFoundException(getLineNumber(), getColumnNumber(), "Was expecting object property expression element");
  }
  setClassExpression(getOWLDataFactory().getOWLObjectHasSelf(property));
}
origin: net.sourceforge.owlapi/owlapi

  protected OWLClassExpression translateRestriction(IRI mainNode) {
    // Consume the triple that specifies the description is a has self
    OWLLiteral lit = getConsumer().getLiteralObject(mainNode, OWLRDFVocabulary.OWL_HAS_SELF.getIRI(), true);
    OWLObjectPropertyExpression prop = translateOnProperty(mainNode);
    return getDataFactory().getOWLObjectHasSelf(prop);
  }
}
origin: net.sourceforge.owlapi/owlapi

protected void endClassExpressionElement() throws OWLXMLParserException {
  if (property == null) {
    throw new OWLXMLParserElementNotFoundException(getLineNumber(), getColumnNumber(), "Was expecting object property expression element");
  }
  setClassExpression(getOWLDataFactory().getOWLObjectHasSelf(property));
}
origin: net.sourceforge.owlapi/owlapi

public OWLSubClassOfAxiom asOWLSubClassOfAxiom() {
  return getOWLDataFactory().getOWLSubClassOfAxiom(
      getOWLDataFactory().getOWLThing(),
      getOWLDataFactory().getOWLObjectHasSelf(getProperty())
  );
}
origin: net.sourceforge.owlapi/owlapi

public OWLSubClassOfAxiom asOWLSubClassOfAxiom() {
  return getOWLDataFactory().getOWLSubClassOfAxiom(
      getOWLDataFactory().getOWLThing(),
      getOWLDataFactory().getOWLObjectComplementOf(
          getOWLDataFactory().getOWLObjectHasSelf(getProperty())
      )
  );
}
origin: com.github.ansell.owlapi/owlapi-parsers

@Override
public OWLObjectHasSelf translate(IRI mainNode) {
  getConsumer().consumeTriple(mainNode, RDF_TYPE.getIRI(), OWL_RESTRICTION.getIRI());
  getConsumer().getLiteralObject(mainNode, OWL_HAS_SELF, true);
  IRI propertyIRI = getConsumer().getResourceObject(mainNode, OWL_ON_PROPERTY, true);
  OWLObjectPropertyExpression property = getConsumer().translateObjectPropertyExpression(propertyIRI);
  return getDataFactory().getOWLObjectHasSelf(property);
}
origin: net.sourceforge.owlapi/owlapi-distribution

  @Override
  public OWLObjectHasSelf translate(IRI mainNode) {
    getConsumer().consumeTriple(mainNode, RDF_TYPE.getIRI(), OWL_RESTRICTION.getIRI());
    getConsumer().getLiteralObject(mainNode, OWL_HAS_SELF, true);
    IRI propertyIRI = getConsumer().getResourceObject(mainNode, OWL_ON_PROPERTY, true);
    OWLObjectPropertyExpression property = getConsumer()
      .translateObjectPropertyExpression(verifyNotNull(propertyIRI));
    return getDataFactory().getOWLObjectHasSelf(property);
  }
}
origin: owlcs/owlapi

  @Override
  public OWLObjectHasSelf translate(IRI mainNode) {
    getConsumer().consumeTriple(mainNode, RDF_TYPE.getIRI(), OWL_RESTRICTION.getIRI());
    getConsumer().getLiteralObject(mainNode, OWL_HAS_SELF, true);
    IRI propertyIRI = getConsumer().getResourceObject(mainNode, OWL_ON_PROPERTY, true);
    OWLObjectPropertyExpression property = getConsumer()
      .translateObjectPropertyExpression(verifyNotNull(propertyIRI));
    return getDataFactory().getOWLObjectHasSelf(property);
  }
}
origin: net.sourceforge.owlapi/owlapi-parsers

  @Override
  public OWLObjectHasSelf translate(IRI mainNode) {
    getConsumer().consumeTriple(mainNode, RDF_TYPE.getIRI(), OWL_RESTRICTION.getIRI());
    getConsumer().getLiteralObject(mainNode, OWL_HAS_SELF, true);
    IRI propertyIRI = getConsumer().getResourceObject(mainNode, OWL_ON_PROPERTY, true);
    OWLObjectPropertyExpression property = getConsumer()
      .translateObjectPropertyExpression(verifyNotNull(propertyIRI));
    return getDataFactory().getOWLObjectHasSelf(property);
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public OWLObjectHasSelf translate(IRI mainNode) {
    getConsumer().consumeTriple(mainNode, RDF_TYPE.getIRI(), OWL_RESTRICTION.getIRI());
    getConsumer().getLiteralObject(mainNode, OWL_HAS_SELF, true);
    IRI propertyIRI = getConsumer().getResourceObject(mainNode, OWL_ON_PROPERTY, true);
    OWLObjectPropertyExpression property = getConsumer()
      .translateObjectPropertyExpression(verifyNotNull(propertyIRI));
    return getDataFactory().getOWLObjectHasSelf(property);
  }
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLObjectHasSelf

Popular methods of OWLDataFactory

  • getOWLClass
    Gets an OWL class that has the specified IRI
  • getOWLNamedIndividual
    Gets an OWL individual that has the specified IRI
  • getOWLObjectProperty
    Gets an OWL object property that has the specified IRI
  • getOWLSubClassOfAxiom
  • getOWLClassAssertionAxiom
  • getOWLDataProperty
    Gets an OWL data property that has the specified IRI
  • getOWLThing
    Gets the built in owl:Thing class, which has a URI of
  • getOWLAnnotationProperty
    Gets an OWLAnnotationProperty that has the specified IRI
  • getOWLLiteral
    Convenience method that obtains a literal typed as a boolean.
  • getOWLDeclarationAxiom
    Gets a declaration with zero or more annotations for an entity
  • getOWLObjectIntersectionOf
  • getOWLEquivalentClassesAxiom
  • getOWLObjectIntersectionOf,
  • getOWLEquivalentClassesAxiom,
  • getOWLObjectSomeValuesFrom,
  • getOWLNothing,
  • getOWLObjectComplementOf,
  • getOWLObjectPropertyAssertionAxiom,
  • getOWLAnnotationAssertionAxiom,
  • getOWLDataPropertyAssertionAxiom,
  • getOWLDatatype,
  • getOWLAnnotation

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ImageIO (javax.imageio)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now