Tabnine Logo
ClassifiedTBox.dataProperties
Code IndexAdd Tabnine to your IDE (free)

How to use
dataProperties
method
in
it.unibz.inf.ontop.spec.ontology.ClassifiedTBox

Best Java code snippets using it.unibz.inf.ontop.spec.ontology.ClassifiedTBox.dataProperties (Showing top 10 results out of 315)

origin: ontop/ontop

public Iterator<IRI> iEmptyRoles() {
  return new EmptyEntitiesIterator(onto.objectProperties().iterator(), onto.dataProperties().iterator(), conn);
}
origin: ontop/ontop

  DataPropertyExpression dpe = reasonerDag.dataProperties().get(iri);
  if (reasonerDag.dataPropertiesDAG().getVertex(dpe) != null) {
    if (cacheSI.getEntry(dpe) != null)
DataPropertyExpression dpe = reasonerDag.dataProperties().get(iri);
if (reasonerDag.dataPropertiesDAG().getVertex(dpe) != null) {
  if (cacheSI.getEntry(dpe) != null)
origin: ontop/ontop

else if (propertyIRI.isPresent()  && reasoner.dataProperties().contains(propertyIRI.get())) {
  DataPropertyExpression dpe = reasoner.dataProperties().get(propertyIRI.get());
  DataPropertyExpression equivalent = reasoner.dataPropertiesDAG().getCanonicalForm(dpe);
  if (equivalent != null && !equivalent.equals(dpe)) {
origin: ontop/ontop

private Assertion translate(OWLAxiom axiom) {
  try {
    if (axiom instanceof OWLClassAssertionAxiom)
      return owlapiTranslator.translate((OWLClassAssertionAxiom)axiom, tbox.classes());
    else if (axiom instanceof OWLObjectPropertyAssertionAxiom)
      return owlapiTranslator.translate((OWLObjectPropertyAssertionAxiom)axiom, tbox.objectProperties());
    else if (axiom instanceof OWLDataPropertyAssertionAxiom)
      return owlapiTranslator.translate((OWLDataPropertyAssertionAxiom)axiom, tbox.dataProperties());
  }
  catch (TranslationException | InconsistentOntologyException e) {
    return null;
  } 
  return null;
}
origin: ontop/ontop

if (!reasonerDag.dataProperties().contains(dpe.getName()))
  continue;
origin: ontop/ontop

private void checkObjectOrAnnotationProperty(IRI predicateIRI, PPMappingAssertionProvenance provenance,
                       Ontology ontology)
    throws MappingOntologyMismatchException {
  /*
   * Cannot be a data property (should be either an object or an annotation property)
   */
  if (ontology.tbox().dataProperties().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        DATA_PROPERTY_STR, OBJECT_PROPERTY_STR));
  /*
   * Cannot be a class
   */
  if (ontology.tbox().classes().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        CLASS_STR, OBJECT_PROPERTY_STR));
}
origin: it.unibz.inf.ontop/ontop-mapping-core

private void checkObjectOrAnnotationProperty(String predicateIRI, PPMappingAssertionProvenance provenance,
                       Ontology ontology)
    throws MappingOntologyMismatchException {
  /*
   * Cannot be a data property (should be either an object or an annotation property)
   */
  if (ontology.tbox().dataProperties().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        DATA_PROPERTY_STR, OBJECT_PROPERTY_STR));
  /*
   * Cannot be a class
   */
  if (ontology.tbox().classes().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        CLASS_STR, OBJECT_PROPERTY_STR));
}
origin: ontop/ontop

DataPropertyExpression dpe = reasonerDag.dataProperties().get(iri);
range = cacheSI.getEntry(dpe);
origin: it.unibz.inf.ontop/ontop-mapping-core

private void checkClass(String predicateIRI, PPMappingAssertionProvenance provenance,
            Ontology ontology) throws MappingOntologyMismatchException {
  /*
   * Cannot be an object property
   */
  if (ontology.tbox().objectProperties().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        OBJECT_PROPERTY_STR, CLASS_STR));
  /*
   * Cannot be a data property
   */
  else if (ontology.tbox().dataProperties().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        DATA_PROPERTY_STR, CLASS_STR));
  /*
   * Cannot be an annotation property
   */
  if (ontology.annotationProperties().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        ANNOTATION_PROPERTY_STR, DATA_PROPERTY_STR));
}
origin: ontop/ontop

private void checkClass(IRI predicateIRI, PPMappingAssertionProvenance provenance,
            Ontology ontology) throws MappingOntologyMismatchException {
  /*
   * Cannot be an object property
   */
  if (ontology.tbox().objectProperties().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        OBJECT_PROPERTY_STR, CLASS_STR));
  /*
   * Cannot be a data property
   */
  else if (ontology.tbox().dataProperties().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        DATA_PROPERTY_STR, CLASS_STR));
  /*
   * Cannot be an annotation property
   */
  if (ontology.annotationProperties().contains(predicateIRI))
    throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
        ANNOTATION_PROPERTY_STR, DATA_PROPERTY_STR));
}
it.unibz.inf.ontop.spec.ontologyClassifiedTBoxdataProperties

Javadoc

data properties

Popular methods of ClassifiedTBox

  • classes
    classes
  • classesDAG
  • dataPropertiesDAG
  • objectProperties
    object properties
  • objectPropertiesDAG
  • dataRangesDAG
    datatypes and data property ranges
  • disjointClasses
  • disjointDataProperties
  • disjointObjectProperties
  • functionalDataProperties
  • functionalObjectProperties
  • functionalObjectProperties

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Sublime Text plugins
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