Codota Logo
OWLEquivalentClassesAxiom.namedClasses
Code IndexAdd Codota to your IDE (free)

How to use
namedClasses
method
in
org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom

Best Java code snippets using org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom.namedClasses (Showing top 14 results out of 315)

  • Common ways to obtain OWLEquivalentClassesAxiom
private void myMethod () {
OWLEquivalentClassesAxiom o =
  • Codota IconOWLDataFactory oWLDataFactory;OWLClassExpression clsA;OWLClassExpression clsB;oWLDataFactory.getOWLEquivalentClassesAxiom(clsA, clsB)
  • Codota IconOWLDataFactory oWLDataFactory;Set classExpressions;oWLDataFactory.getOWLEquivalentClassesAxiom(classExpressions)
  • Codota IconOWLDataFactory oWLDataFactory;Collection collection;oWLDataFactory.getOWLEquivalentClassesAxiom(collection)
  • Smart code suggestions by Codota
}
origin: net.sourceforge.owlapi/owlapi-tools

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  axiom.namedClasses().forEach(cls -> {
    if (source == null) {
      source = cls;
    } else if (target == null) {
      target = cls;
    }
  });
}
origin: owlcs/owlapi

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  axiom.namedClasses().forEach(cls -> {
    if (source == null) {
      source = cls;
    } else if (target == null) {
      target = cls;
    }
  });
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  axiom.namedClasses().forEach(cls -> {
    if (source == null) {
      source = cls;
    } else if (target == null) {
      target = cls;
    }
  });
}
origin: owlcs/owlapi

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  axiom.namedClasses().forEach(cls -> {
    if (source == null) {
      source = cls;
    } else if (target == null) {
      target = cls;
    }
  });
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  axiom.namedClasses().forEach(cls -> {
    if (source == null) {
      source = cls;
    } else if (target == null) {
      target = cls;
    }
  });
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  axiom.namedClasses().forEach(cls -> {
    if (source == null) {
      source = cls;
    } else if (target == null) {
      target = cls;
    }
  });
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  axiom.namedClasses().forEach(cls -> {
    if (source == null) {
      source = cls;
    } else if (target == null) {
      target = cls;
    }
  });
}
origin: net.sourceforge.owlapi/owlapi-tools

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  axiom.namedClasses().forEach(cls -> {
    if (source == null) {
      source = cls;
    } else if (target == null) {
      target = cls;
    }
  });
}
origin: owlcs/owlapi

/**
 * Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent
 * classes axiom.
 *
 * @return A set of classes that represents the named classes that are specified to be
 *         equivalent to some other class (expression), excluding the built in classes owl:Thing
 *         and owl:Nothing
 * @deprecated use the stream method
 */
@Deprecated
default Set<OWLClass> getNamedClasses() {
  return asSet(namedClasses());
}
origin: net.sourceforge.owlapi/owlapi-distribution

/**
 * Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent
 * classes axiom.
 *
 * @return A set of classes that represents the named classes that are specified to be
 *         equivalent to some other class (expression), excluding the built in classes owl:Thing
 *         and owl:Nothing
 * @deprecated use the stream method
 */
@Deprecated
default Set<OWLClass> getNamedClasses() {
  return asSet(namedClasses());
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

/**
 * Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent
 * classes axiom.
 *
 * @return A set of classes that represents the named classes that are specified to be
 *         equivalent to some other class (expression), excluding the built in classes owl:Thing
 *         and owl:Nothing
 * @deprecated use the stream method
 */
@Deprecated
default Set<OWLClass> getNamedClasses() {
  return asSet(namedClasses());
}
origin: VisualDataWeb/OWL2VOWL

@Override
public void visit(OWLEquivalentClassesAxiom axiom) {
  // tested for memory release[x]
  if (axiom.namedClasses().collect(Collectors.toSet()).size() != 1) {
    createEquivalentClass(axiom); 
    return;
  }

  OWLClass referencedClass = axiom.namedClasses().collect(Collectors.toSet()).iterator().next();
  Set<OWLClassExpression> expressionsWithoutRefClass = axiom.getClassExpressionsMinus(referencedClass);
  for (OWLClassExpression anonymExpressions : expressionsWithoutRefClass) {
    anonymExpressions.accept(new OwlClassAxiomVisitor(vowlData, referencedClass));
  }
}
private void createEquivalentClass(OWLEquivalentClassesAxiom axiom) {
origin: Galigator/openllet

equivalentAxiom.namedClasses().forEach(equivalentClasses::add);
origin: Galigator/openllet

equivalentAxiom.namedClasses().forEach(equivalentClasses::add);
org.semanticweb.owlapi.modelOWLEquivalentClassesAxiomnamedClasses

Javadoc

Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent classes axiom.

Popular methods of OWLEquivalentClassesAxiom

  • getClassExpressions
  • classExpressions
  • getClassExpressionsMinus
  • asOWLSubClassOfAxioms
  • accept
  • getNamedClasses
    Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent classes axi
  • annotations
  • getClassExpressionsAsList
  • containsOWLThing
    Determines if this class axiom makes a class expression equivalent to thing.
  • getAnnotations
  • contains
  • containsOWLNothing
    Determines if this class axiom makes a class expression equivalent to nothing.
  • contains,
  • containsOWLNothing,
  • getAxiomType,
  • operands,
  • splitToAnnotatedPairs,
  • allMatch,
  • asPairwiseAxioms,
  • containsNamedEquivalentClass,
  • getAxiomWithoutAnnotations

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • onCreateOptionsMenu (Activity)
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now