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

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

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

origin: ontop/ontop

Optional<IRI> optionalPropertyIRIString = extractPropertyIRI(a);
if (optionalPropertyIRIString
    .filter(i -> reasoner.objectProperties().contains(i))
    .isPresent()) {
  ObjectPropertyExpression prop = reasoner.objectProperties().get(optionalPropertyIRIString.get());
  if (!root.equals(a.getTerm(0)))
      prop = prop.getInverse();
origin: ontop/ontop

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

else if (propertyIRI.isPresent() && reasoner.objectProperties().contains(propertyIRI.get())) {
  ObjectPropertyExpression ope = reasoner.objectProperties().get(propertyIRI.get());
  ObjectPropertyExpression equivalent = reasoner.objectPropertiesDAG().getCanonicalForm(ope);
  if (equivalent != null && !equivalent.equals(ope)) {
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.objectProperties().contains(ope.getName()))
  continue;
origin: ontop/ontop

if (reasonerDag.objectProperties().contains(iri)) {
  ObjectPropertyExpression ope = reasonerDag.objectProperties().get(iri);
  if (cacheSI.getEntry(ope) != null)  {
    DataPropertyExpression dpe = reasonerDag.dataProperties().get(iri);
origin: ontop/ontop

ObjectPropertyExpression ope = reasonerDag.objectProperties().get(iri);
range = cacheSI.getEntry(ope);
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));
}
origin: it.unibz.inf.ontop/ontop-mapping-core

if (ontology.tbox().objectProperties().contains(predicateIRI))
  throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
      OBJECT_PROPERTY_STR, DATA_PROPERTY_STR));
origin: ontop/ontop

if (ontology.tbox().objectProperties().contains(predicateIRI))
  throw new MappingOntologyMismatchException(generatePropertyOrClassConflictMessage(predicateIRI, provenance,
      OBJECT_PROPERTY_STR, DATA_PROPERTY_STR));
it.unibz.inf.ontop.spec.ontologyClassifiedTBoxobjectProperties

Javadoc

object properties

Popular methods of ClassifiedTBox

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

Popular in Java

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Socket (java.net)
    Provides a client-side TCP socket.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Option (scala)
  • Top Vim 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