congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Top 17 Plugins for Android Studio
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