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

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

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

origin: owlcs/owlapi

@Override
public void visit(OWLClass ce) {
  if (signature.contains(ce)) {
    newClassExpression = ce;
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: owlcs/owlapi

@Override
@Nullable
public OWLClass getOWLClass(String name) {
  if ("Thing".equals(name) || "owl:Thing".equals(name)) {
    return df.getOWLThing();
  } else if ("Nothing".equals(name) || "owl:Nothing".equals(name)) {
    return df.getOWLNothing();
  } else if (classNames.contains(name)) {
    return df.getOWLClass(getIRI(name));
  }
  return null;
}
origin: edu.stanford.protege/org.protege.editor.owl

@Override
public Boolean visit(OWLDisjointClassesAxiom axiom) {
  if (axiom.getClassExpressions().size() == 2 && axiom.getClassExpressions().contains(factory.getOWLNothing())) {
    return true;
  }
  return false;
}
origin: com.github.ansell.pellet/pellet-owlapiv3

  public OWLClass map(ATermAppl term) {
    if( term.equals( ATermUtils.TOP ) )
      return factory.getOWLThing();
    else if( term.equals( ATermUtils.BOTTOM ) )
      return factory.getOWLNothing();
    else
      return factory.getOWLClass( iri( term ) );
  }
}
origin: owlcs/owlapi

@Override
public void visit(OWLObjectMinCardinality ce) {
  if (signature.contains(ce.getProperty().getNamedProperty())) {
    newClassExpression = ce;
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: owlcs/owlapi

@Override
public void visit(OWLDataExactCardinality ce) {
  if (signature.contains(ce.getProperty().asOWLDataProperty())) {
    newClassExpression = ce;
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: owlcs/owlapi

@Override
public void visit(OWLDataMinCardinality ce) {
  if (signature.contains(ce.getProperty().asOWLDataProperty())) {
    newClassExpression = ce;
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: owlcs/owlapi

@Override
public void visit(OWLDataSomeValuesFrom ce) {
  if (signature.contains(ce.getProperty().asOWLDataProperty())) {
    newClassExpression = ce;
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: owlcs/owlapi

@Override
public void visit(OWLObjectExactCardinality ce) {
  if (signature.contains(ce.getProperty().getNamedProperty())) {
    newClassExpression = ce;
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(OWLDataSomeValuesFrom ce) {
  if (signature.contains(ce.getProperty().asOWLDataProperty())) {
    newClassExpression = ce;
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public void visit(OWLDataMinCardinality ce) {
  if (signature.contains(ce.getProperty().asOWLDataProperty())) {
    newClassExpression = ce;
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: owlcs/owlapi

@Override
public Node<OWLClass> getBottomClassNode() {
  ensurePrepared();
  return classHierarchyInfo.getEquivalents(getDataFactory().getOWLNothing());
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public Node<OWLClass> getBottomClassNode() {
  ensurePrepared();
  return classHierarchyInfo.getEquivalents(getDataFactory().getOWLNothing());
}
origin: protegeproject/protege

public InferredOWLClassHierarchyProvider(OWLModelManager owlModelManager, OWLOntologyManager owlOntologyManager) {
  super(owlOntologyManager);
  this.owlModelManager = owlModelManager;
  owlThing = owlModelManager.getOWLDataFactory().getOWLThing();
  owlNothing = owlModelManager.getOWLDataFactory().getOWLNothing();
  owlModelManager.addListener(owlModelManagerListener);
}
origin: net.sourceforge.owlapi/org.semanticweb.hermit

@Override
public OWLClassExpression visit(OWLClass d) {
  if (d.isOWLThing())
    return m_factory.getOWLNothing();
  if (d.isOWLNothing())
    return m_factory.getOWLThing();
  return m_factory.getOWLObjectComplementOf(d);
}
@Override
origin: com.hermit-reasoner/org.semanticweb.hermit

public void visit(OWLObjectPropertyDomainAxiom axiom) {
  OWLObjectAllValuesFrom allPropertyNohting=m_factory.getOWLObjectAllValuesFrom(axiom.getProperty().getSimplified(),m_factory.getOWLNothing());
  m_classExpressionInclusionsAsDisjunctions.add(new OWLClassExpression[] { positive(axiom.getDomain()),allPropertyNohting });
  m_axioms.m_objectPropertiesOccurringInOWLAxioms.add(axiom.getProperty().getNamedProperty());
}
public void visit(OWLObjectPropertyRangeAxiom axiom) {
origin: net.sourceforge.owlapi/jfact

@Override
public Boolean visit(OWLSubClassOfAxiom axiom) {
  if (axiom.getSuperClass().equals(df.getOWLThing()) || axiom.getSubClass().equals(df.getOWLNothing())) {
    return Boolean.TRUE;
  }
  ConceptExpression sub = tr.pointer(axiom.getSubClass());
  if (!kernel.isSatisfiable(sub)) {
    return Boolean.TRUE;
  }
  ConceptExpression sup = tr.pointer(axiom.getSuperClass());
  return Boolean.valueOf(kernel.isSubsumedBy(sub, sup));
}
origin: owlcs/owlapi

@Override
public void visit(OWLObjectSomeValuesFrom ce) {
  if (signature.contains(ce.getProperty().getNamedProperty())) {
    newClassExpression = df
      .getOWLObjectSomeValuesFrom(ce.getProperty(), replaceBottom(ce.getFiller()));
  } else {
    newClassExpression = df.getOWLNothing();
  }
}
origin: edu.stanford.protege/org.protege.editor.owl

public InferredOWLClassHierarchyProvider(OWLModelManager owlModelManager, OWLOntologyManager owlOntologyManager) {
  super(owlOntologyManager);
  this.owlModelManager = owlModelManager;
  owlThing = owlModelManager.getOWLDataFactory().getOWLThing();
  owlNothing = owlModelManager.getOWLDataFactory().getOWLNothing();
  owlModelManager.addListener(owlModelManagerListener);
  owlOntologyManager.addOntologyChangeListener(owlOntologyChangeListener);
}
origin: com.hermit-reasoner/org.semanticweb.hermit

public OWLClassExpression visit(OWLObjectMinCardinality d) {
  OWLClassExpression filler=getSimplified(d.getFiller());
  if (d.getCardinality()<=0)
    return m_factory.getOWLThing();
  else if (filler.isOWLNothing())
    return m_factory.getOWLNothing();
  else if (d.getCardinality()==1)
    return m_factory.getOWLObjectSomeValuesFrom(d.getProperty().getSimplified(),filler);
  else
    return m_factory.getOWLObjectMinCardinality(d.getCardinality(),d.getProperty().getSimplified(),filler);
}
public OWLClassExpression visit(OWLObjectMaxCardinality d) {
org.semanticweb.owlapi.modelOWLDataFactorygetOWLNothing

Javadoc

Gets the built in owl:Nothing class, which has a URI of <http://www.w3.org/2002/07/owl#Nothing>

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,
  • getOWLObjectComplementOf,
  • getOWLObjectPropertyAssertionAxiom,
  • getOWLAnnotationAssertionAxiom,
  • getOWLDataPropertyAssertionAxiom,
  • getOWLDatatype,
  • getOWLAnnotation

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • 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