congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
OWLDataFactory.getOWLAsymmetricObjectPropertyAxiom
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: owlcs/owlapi

public static OWLAsymmetricObjectPropertyAxiom AsymmetricObjectProperty(
  OWLObjectPropertyExpression property,
  Collection<OWLAnnotation> a) {
  return DF.getOWLAsymmetricObjectPropertyAxiom(property, a);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

public static OWLAsymmetricObjectPropertyAxiom AsymmetricObjectProperty(
  OWLObjectPropertyExpression property,
  Collection<OWLAnnotation> a) {
  return DF.getOWLAsymmetricObjectPropertyAxiom(property, a);
}
origin: net.sourceforge.owlapi/owlapi-apibinding

public static OWLAsymmetricObjectPropertyAxiom AsymmetricObjectProperty(
  OWLObjectPropertyExpression property,
  Collection<OWLAnnotation> a) {
  return DF.getOWLAsymmetricObjectPropertyAxiom(property, a);
}
origin: owlcs/owlapi

  @Override
  public OWLAsymmetricObjectPropertyAxiom buildObject() {
    return df.getOWLAsymmetricObjectPropertyAxiom(verifyNotNull(getProperty()), annotations);
  }
}
origin: owlcs/owlapi

  @Override
  public void handleTriple(IRI s, IRI p, IRI o) {
    if (isOpLax(s)) {
      add(df.getOWLAsymmetricObjectPropertyAxiom(op(s), anns()));
      consume(s, p, o);
    }
  }
}
origin: owlcs/owlapi

@Override
public Object visit(OWLAsymmetricObjectPropertyAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLAsymmetricObjectPropertyAxiom(t(axiom.getProperty()), t(axiom
      .annotations())));
}
origin: owlcs/owlapi

 final public OWLPropertyAxiom AsymmetricObjectProperty() throws ParseException {OWLObjectPropertyExpression prop;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(ASYMMETRICOBJECTPROPERTY);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = ObjectPropertyExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLAsymmetricObjectPropertyAxiom(prop, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-distribution

  @Override
  public void handleTriple(IRI s, IRI p, IRI o) {
    if (isOpLax(s)) {
      add(df.getOWLAsymmetricObjectPropertyAxiom(op(s), anns()));
      consume(s, p, o);
    }
  }
}
origin: net.sourceforge.owlapi/owlapi-parsers

 final public OWLPropertyAxiom AsymmetricObjectProperty() throws ParseException {OWLObjectPropertyExpression prop;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(ASYMMETRICOBJECTPROPERTY);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = ObjectPropertyExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLAsymmetricObjectPropertyAxiom(prop, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public Object visit(OWLAsymmetricObjectPropertyAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLAsymmetricObjectPropertyAxiom(t(axiom.getProperty()), t(axiom
      .annotations())));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public Object visit(OWLAsymmetricObjectPropertyAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLAsymmetricObjectPropertyAxiom(t(axiom.getProperty()), t(axiom
      .annotations())));
}
origin: owlcs/owlapi

  @Override
  public void handle(String currentId, String value, String qualifierBlock, String comment) {
    if (Boolean.parseBoolean(value)) {
      OWLObjectProperty prop = getOWLObjectProperty(currentId);
      OWLAxiom ax = getDataFactory().getOWLAsymmetricObjectPropertyAxiom(prop);
      applyChange(new AddAxiom(getOntology(), ax));
    } else {
      addAnnotation(currentId, OBOVocabulary.IS_ASYMMETRIC.getName(),
        getBooleanConstant(false));
    }
  }
}
origin: com.github.ansell.owlapi/owlapi-parsers

  @Override
  public void handle(String currentId, String value, String qualifierBlock, String comment) {
    if (Boolean.parseBoolean(value)) {
      OWLObjectProperty prop = getOWLObjectProperty(currentId);
      OWLAxiom ax = getDataFactory().getOWLAsymmetricObjectPropertyAxiom(prop);
      applyChange(new AddAxiom(getOntology(), ax));
    }
    else {
      addAnnotation(currentId, OBOVocabulary.IS_ASYMMETRIC.getName(), getBooleanConstant(false));
    }
  }
}
origin: net.sourceforge.owlapi/owlapi

  public void handle(String id, String value) {
    if (Boolean.parseBoolean(value)) {
      OWLObjectProperty prop = getOWLObjectProperty(id);
      OWLAxiom ax = getDataFactory().getOWLAsymmetricObjectPropertyAxiom(prop);
      applyChange(new AddAxiom(getOntology(), ax));
    } else {
      addAnnotation(id, OBOVocabulary.IS_ASYMMETRIC.getName(), getBooleanConstant(false));
    }
  }
}
origin: owlcs/owlapi

private OWLAxiom parseAsymmetricPropertyAxiom() {
  String kw = consumeToken();
  if (!ASYMMETRIC.matches(kw)) {
    throw new ExceptionBuilder().withKeyword(ASYMMETRIC).build();
  }
  return df.getOWLAsymmetricObjectPropertyAxiom(parseObjectPropertyExpression(false));
}
origin: net.sourceforge.owlapi/owlapi-distribution

private OWLAxiom parseAsymmetricPropertyAxiom() {
  String kw = consumeToken();
  if (!ASYMMETRIC.matches(kw)) {
    throw new ExceptionBuilder().withKeyword(ASYMMETRIC).build();
  }
  return df.getOWLAsymmetricObjectPropertyAxiom(parseObjectPropertyExpression(false));
}
origin: net.sourceforge.owlapi/owlapi-parsers

private OWLAxiom parseAsymmetricPropertyAxiom() {
  String kw = consumeToken();
  if (!ASYMMETRIC.matches(kw)) {
    throw new ExceptionBuilder().withKeyword(ASYMMETRIC).build();
  }
  return df.getOWLAsymmetricObjectPropertyAxiom(parseObjectPropertyExpression(false));
}
origin: net.sourceforge.owlapi/owlapi

protected void addAxioms(OWLObjectProperty entity, OWLReasoner reasoner, OWLDataFactory dataFactory, Set<OWLObjectPropertyCharacteristicAxiom> result) {
  addIfEntailed(dataFactory.getOWLFunctionalObjectPropertyAxiom(entity), reasoner, result);
  addIfEntailed(dataFactory.getOWLInverseFunctionalObjectPropertyAxiom(entity), reasoner, result);
  addIfEntailed(dataFactory.getOWLSymmetricObjectPropertyAxiom(entity), reasoner, result);
  addIfEntailed(dataFactory.getOWLAsymmetricObjectPropertyAxiom(entity), reasoner, result);
  addIfEntailed(dataFactory.getOWLTransitiveObjectPropertyAxiom(entity), reasoner, result);
  addIfEntailed(dataFactory.getOWLReflexiveObjectPropertyAxiom(entity), reasoner, result);
  addIfEntailed(dataFactory.getOWLIrreflexiveObjectPropertyAxiom(entity), reasoner, result);
}
origin: protegeproject/protege

private void setupSetters() {
  addSetter(functionalCB, () -> getOWLDataFactory().getOWLFunctionalObjectPropertyAxiom(getProperty()));
  addSetter(inverseFunctionalCB, () -> getOWLDataFactory().getOWLInverseFunctionalObjectPropertyAxiom(getProperty()));
  addSetter(transitiveCB, () -> getOWLDataFactory().getOWLTransitiveObjectPropertyAxiom(getProperty()));
  addSetter(symmetricCB, () -> getOWLDataFactory().getOWLSymmetricObjectPropertyAxiom(getProperty()));
  addSetter(aSymmetricCB, () -> getOWLDataFactory().getOWLAsymmetricObjectPropertyAxiom(getProperty()));
  addSetter(reflexiveCB, () -> getOWLDataFactory().getOWLReflexiveObjectPropertyAxiom(getProperty()));
  addSetter(irreflexiveCB, () -> getOWLDataFactory().getOWLIrreflexiveObjectPropertyAxiom(getProperty()));
}
origin: edu.stanford.protege/protege-editor-owl

private void setupSetters() {
  addSetter(functionalCB, () -> getOWLDataFactory().getOWLFunctionalObjectPropertyAxiom(getProperty()));
  addSetter(inverseFunctionalCB, () -> getOWLDataFactory().getOWLInverseFunctionalObjectPropertyAxiom(getProperty()));
  addSetter(transitiveCB, () -> getOWLDataFactory().getOWLTransitiveObjectPropertyAxiom(getProperty()));
  addSetter(symmetricCB, () -> getOWLDataFactory().getOWLSymmetricObjectPropertyAxiom(getProperty()));
  addSetter(aSymmetricCB, () -> getOWLDataFactory().getOWLAsymmetricObjectPropertyAxiom(getProperty()));
  addSetter(reflexiveCB, () -> getOWLDataFactory().getOWLReflexiveObjectPropertyAxiom(getProperty()));
  addSetter(irreflexiveCB, () -> getOWLDataFactory().getOWLIrreflexiveObjectPropertyAxiom(getProperty()));
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLAsymmetricObjectPropertyAxiom

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

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • Menu (java.awt)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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