congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
OWLDataFactory.getOWLDisjointUnionAxiom
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: net.sourceforge.owlapi/owlapi-gwt-supersource

@Override
public OWLAxiom visit(OWLDisjointUnionAxiom axiom) {
  Set<OWLClassExpression> descs = new HashSet<OWLClassExpression>();
  for (OWLClassExpression op : axiom.getClassExpressions()) {
    descs.add(op.accept(this));
  }
  return dataFactory.getOWLDisjointUnionAxiom(axiom.getOWLClass(), descs);
}
origin: SmartDataAnalytics/DL-Learner

@Override
public OWLAxiom visit(OWLDisjointUnionAxiom axiom) {
  Set<OWLClassExpression> descs = new HashSet<>();
  for (OWLClassExpression op : axiom.getClassExpressions()) {
    descs.add(op.accept(this));
  }
  return dataFactory.getOWLDisjointUnionAxiom(axiom.getOWLClass(), descs);
}
origin: protegeproject/protege

@Override
protected OWLDisjointUnionAxiom createAxiom(Set<OWLClassExpression> editedObject) {
  return getOWLDataFactory().getOWLDisjointUnionAxiom(getRootObject(), editedObject);
}

origin: owlcs/owlapi

@Override
public OWLAxiom visit(OWLDisjointUnionAxiom axiom) {
  return df.getOWLDisjointUnionAxiom(axiom.getOWLClass(),
    asList(axiom.classExpressions().map(p -> p.accept(classVisitor))));
}
origin: edu.stanford.protege/org.protege.owl.server

@Override
public Object read(OWLInputStream in) throws IOException {
  OWLClass c = (OWLClass) in.read();
  int count = IOUtils.readInt(in.getInputStream());
  Set<OWLClassExpression> classExpressions = new TreeSet<OWLClassExpression>();
  for (int i = 0; i < count; i++) {
    classExpressions.add((OWLClassExpression) in.read());
  }
  return in.getOWLDataFactory().getOWLDisjointUnionAxiom(c, classExpressions);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLAxiom visit(OWLDisjointUnionAxiom axiom) {
  return df.getOWLDisjointUnionAxiom(axiom.getOWLClass(),
    asList(axiom.classExpressions().map(p -> p.accept(classVisitor))));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLAxiom visit(OWLDisjointUnionAxiom axiom) {
  return df.getOWLDisjointUnionAxiom(axiom.getOWLClass(),
    asList(axiom.classExpressions().map(p -> p.accept(classVisitor))));
}
origin: net.sourceforge.owlapi/owlapi

public OWLDisjointUnionAxiom getAxiomWithoutAnnotations() {
  if(!isAnnotated()) {
    return this;
  }
  return getOWLDataFactory().getOWLDisjointUnionAxiom(getOWLClass(), getClassExpressions());
}
origin: owlcs/owlapi

@Override
public void visit(OWLDisjointUnionAxiom ax) {
  obj = df
    .getOWLDisjointUnionAxiom(dup(ax.getOWLClass()), set(ax.classExpressions()), anns(ax));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLDisjointUnionAxiom visit(OWLDisjointUnionAxiom axiom) {
  return df.getOWLDisjointUnionAxiom(get(axiom.getOWLClass()), list(axiom.classExpressions()),
    anns(axiom));
}
origin: owlcs/owlapi

@Override
public OWLDisjointUnionAxiom visit(OWLDisjointUnionAxiom axiom) {
  return df.getOWLDisjointUnionAxiom(get(axiom.getOWLClass()), list(axiom.classExpressions()),
    anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLDisjointUnionAxiom visit(OWLDisjointUnionAxiom axiom) {
  return df.getOWLDisjointUnionAxiom(get(axiom.getOWLClass()), list(axiom.classExpressions()),
    anns(axiom));
}
origin: owlcs/owlapi

  @Override
  public void handleTriple(IRI s, IRI p, IRI o) {
    if (!isAnon(s)) {
      OWLClass cls = (OWLClass) ce(s);
      Set<OWLClassExpression> classExpressions =
        consumer.translatorAccessor.translateToClassExpressionSet(o);
      add(df.getOWLDisjointUnionAxiom(cls, classExpressions, anns()));
      consume(s, p, o);
    }
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

  @Override
  public void handleTriple(IRI s, IRI p, IRI o) {
    if (!isAnon(s)) {
      OWLClass cls = (OWLClass) ce(s);
      Set<OWLClassExpression> classExpressions =
        consumer.translatorAccessor.translateToClassExpressionSet(o);
      add(df.getOWLDisjointUnionAxiom(cls, classExpressions, anns()));
      consume(s, p, o);
    }
  }
}
origin: owlcs/owlapi

 final public OWLClassAxiom DisjointUnion() throws ParseException {OWLClass cls;
  Set<OWLClassExpression> classExpressions;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DISJOINTUNION);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  cls = ClassIRI();
  classExpressions = ClassExpressionSet();
  jj_consume_token(CLOSEPAR);
return df.getOWLDisjointUnionAxiom(cls, classExpressions, axiomAnnos);
}

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

final public OWLClassAxiom DisjointUnion() throws ParseException {
  OWLClass cls;
  Set<OWLClassExpression> classExpressions;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DISJOINTUNION);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  cls = ClassIRI();
  classExpressions = ClassExpressionSet();
  jj_consume_token(CLOSEPAR);
  return dataFactory.getOWLDisjointUnionAxiom(cls, classExpressions, axiomAnnos);
}
origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLClassAxiom DisjointUnion() throws ParseException {OWLClass cls;
  Set<OWLClassExpression> classExpressions;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(DISJOINTUNION);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  cls = ClassIRI();
  classExpressions = ClassExpressionSet();
  jj_consume_token(CLOSEPAR);
return df.getOWLDisjointUnionAxiom(cls, classExpressions, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public void handleTriple(IRI s, IRI p, IRI o) {
    if (!isAnon(s)) {
      OWLClass cls = (OWLClass) ce(s);
      Set<OWLClassExpression> classExpressions =
        consumer.translatorAccessor.translateToClassExpressionSet(o);
      add(df.getOWLDisjointUnionAxiom(cls, classExpressions, anns()));
      consume(s, p, o);
    }
  }
}
origin: owlcs/owlapi

@Override
public Object visit(OWLDisjointUnionAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLDisjointUnionAxiom(t(axiom.getOWLClass()), t(axiom
      .classExpressions()), t(axiom.annotations())));
}
origin: com.github.ansell.owlapi/owlapi-parsers

  @Override
  public void handleTriple(IRI subject, IRI predicate, IRI object) throws UnloadableImportException {
    if (!getConsumer().isAnonymousNode(subject)) {
      OWLClass cls = (OWLClass) translateClassExpression(subject);
      Set<OWLClassExpression> classExpressions = getConsumer().translateToClassExpressionSet(object);
      addAxiom(getDataFactory().getOWLDisjointUnionAxiom(cls, classExpressions, getPendingAnnotations()));
      consumeTriple(subject, predicate, object);
    }
  }
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLDisjointUnionAxiom

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

  • Start an intent from android
  • getContentResolver (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • 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