Codota Logo
OWLDataFactory.getTopDatatype
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain OWLDataFactory
private void myMethod () {
OWLDataFactory o =
  • Codota IconOWLOntologyManager manager;manager.getOWLDataFactory()
  • Codota IconOWLOntology ontology;ontology.getOWLOntologyManager().getOWLDataFactory()
  • Codota IconOWLManager.getOWLDataFactory()
  • Smart code suggestions by Codota
}
origin: net.sourceforge.owlapi/jfact

@Nullable
@Override
protected OWLDatatype getTopEntity() {
  return df.getTopDatatype();
}
origin: net.sourceforge.owlapi/owlexplanation

  @Override
  protected OWLDataRange getDataLimit() {
    return getDataFactory().getTopDatatype();
  }
}
origin: owlcs/owlapi

@Override
void startElement(String name) {
  super.startElement(name);
  builder.withRange(df.getTopDatatype());
}
origin: protegeproject/protege

public Set<OWLDatatype> getBuiltinDatatypes(){
  Set<OWLDatatype> datatypes = new HashSet<>();
  final OWLDataFactory df = mngr.getOWLDataFactory();
  datatypes.add(df.getTopDatatype());
  for (OWL2Datatype dt : OWL2Datatype.values()) {
    datatypes.add(df.getOWLDatatype(dt.getIRI()));
  }        
  return datatypes;
}
origin: org.protege/protege-editor-owl

public Set<OWLDatatype> getBuiltinDatatypes(){
  Set<OWLDatatype> datatypes = new HashSet<OWLDatatype>();
  final OWLDataFactory df = mngr.getOWLDataFactory();
  datatypes.add(df.getTopDatatype());
  for (OWL2Datatype dt : OWL2Datatype.values()) {
    datatypes.add(df.getOWLDatatype(dt.getIRI()));
  }        
  return datatypes;
}
origin: edu.stanford.protege/org.protege.editor.owl

public Set<OWLDatatype> getBuiltinDatatypes(){
  Set<OWLDatatype> datatypes = new HashSet<OWLDatatype>();
  final OWLDataFactory df = mngr.getOWLDataFactory();
  datatypes.add(df.getTopDatatype());
  for (OWL2Datatype dt : OWL2Datatype.values()) {
    datatypes.add(df.getOWLDatatype(dt.getIRI()));
  }        
  return datatypes;
}
origin: edu.stanford.protege/protege-editor-owl

public Set<OWLDatatype> getBuiltinDatatypes(){
  Set<OWLDatatype> datatypes = new HashSet<>();
  final OWLDataFactory df = mngr.getOWLDataFactory();
  datatypes.add(df.getTopDatatype());
  for (OWL2Datatype dt : OWL2Datatype.values()) {
    datatypes.add(df.getOWLDatatype(dt.getIRI()));
  }        
  return datatypes;
}
origin: net.sourceforge.owlapi/org.semanticweb.hermit

@Override
public Boolean visit(OWLDataPropertyDomainAxiom axiom) {
  return Boolean.valueOf(reasoner.isSubClassOf(factory.getOWLDataSomeValuesFrom(axiom.getProperty(),factory.getTopDatatype()),axiom.getDomain()));
}
@Override
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public Collection<OWLAxiom> visit(OWLDataPropertyDomainAxiom axiom) {
  return subClassOf(df.getOWLDataSomeValuesFrom(axiom.getProperty(), df.getTopDatatype()),
    axiom.getDomain());
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public Collection<OWLAxiom> visit(OWLDataPropertyDomainAxiom axiom) {
  return subClassOf(df.getOWLDataSomeValuesFrom(axiom.getProperty(), df.getTopDatatype()),
    axiom.getDomain());
}
origin: owlcs/owlapi

@Override
public OWLClassExpression visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression sub = factory
    .getOWLDataSomeValuesFrom(axiom.getProperty(), factory.getTopDatatype());
  return and(sub, not(axiom.getDomain()));
}
origin: owlcs/owlapi

@Override
public void visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression sub = dataFactory
    .getOWLDataSomeValuesFrom(axiom.getProperty(), dataFactory
      .getTopDatatype());
  OWLAxiom ax = dataFactory.getOWLSubClassOfAxiom(sub, axiom.getDomain());
  ax.accept(this);
}
origin: net.sourceforge.owlapi/owlapi

public void visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression sub = dataFactory.getOWLDataSomeValuesFrom(axiom.getProperty(), dataFactory.getTopDatatype());
  OWLAxiom ax = dataFactory.getOWLSubClassOfAxiom(sub, axiom.getDomain());
  ax.accept(this);
}
origin: edu.stanford.protege/org.protege.editor.owl.codegeneration

private void initializeDomainMap() {
  domainMap = new HashMap<OWLClass, Set<OWLEntity>>();
  for (OWLObjectProperty p : ontology.getObjectPropertiesInSignature()) {
    OWLClassExpression mustHavePropertyValue = factory.getOWLObjectSomeValuesFrom(p, factory.getOWLThing());
    addPropertyToDomainMap(p, mustHavePropertyValue);
  }
  for (OWLDataProperty p : ontology.getDataPropertiesInSignature()) {
    OWLClassExpression mustHavePropertyValue = factory.getOWLDataSomeValuesFrom(p, factory.getTopDatatype());
    addPropertyToDomainMap(p, mustHavePropertyValue);
  }
}
 
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public void visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression sub = dataFactory
    .getOWLDataSomeValuesFrom(axiom.getProperty(), dataFactory
      .getTopDatatype());
  OWLAxiom ax = dataFactory.getOWLSubClassOfAxiom(sub, axiom.getDomain());
  ax.accept(this);
}
origin: net.sourceforge.owlapi/owlapi-tools

@Override
public void visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression sub = dataFactory
    .getOWLDataSomeValuesFrom(axiom.getProperty(), dataFactory
      .getTopDatatype());
  OWLAxiom ax = dataFactory.getOWLSubClassOfAxiom(sub, axiom.getDomain());
  ax.accept(this);
}
origin: net.sourceforge.owlapi/owlapi-tools

@Override
public OWLClassExpression visit(OWLDataPropertyDomainAxiom axiom) {
  OWLClassExpression sub = factory
    .getOWLDataSomeValuesFrom(axiom.getProperty(), factory.getTopDatatype());
  return and(sub, not(axiom.getDomain()));
}
origin: net.sourceforge.owlapi/owlexplanation

@Override
public OWLClassExpression visit(OWLDataPropertyDomainAxiom ax) {
  OWLClassExpression exists = df.getOWLDataSomeValuesFrom(ax.getProperty(), df.getTopDatatype());
  return df.getOWLObjectIntersectionOf(exists, df.getOWLObjectComplementOf(ax.getDomain()));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public void visit(OWLDataPropertyDomainAxiom axiom) {
  df.getOWLDataSomeValuesFrom(axiom.getProperty(), df.getTopDatatype()).accept(this);
  writeSpace();
  write(SUBCLASS);
  writeSpace();
  axiom.getDomain().accept(this);
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(OWLDataPropertyDomainAxiom axiom) {
  df.getOWLDataSomeValuesFrom(axiom.getProperty(), df.getTopDatatype()).accept(this);
  writeSpace();
  write(SUBCLASS);
  writeSpace();
  axiom.getDomain().accept(this);
}
org.semanticweb.owlapi.modelOWLDataFactorygetTopDatatype

Javadoc

Gets the built in data range corresponding to the top data type (like owl:Thing but for data ranges), this datatype is rdfs:Literal, and has a URI of $lt;http://www.w3.org/2000/01/rdf-schema#>

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
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onCreateOptionsMenu (Activity)
  • runOnUiThread (Activity)
  • Path (java.nio.file)
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Reference (javax.naming)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
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