/** * A convenience method that obtains the annotation properties that are in * the signature of this object. * * @return A stream of the annotation properties that are in the signature of this object. */ default Stream<OWLAnnotationProperty> annotationPropertiesInSignature() { return empty(); } }
/** * @return Stream of object properties that are in the signature of this object. */ default Stream<OWLObjectProperty> objectPropertiesInSignature() { return empty(); } }
/** * @return A stream of the datatypes that are in the signature of this object. */ default Stream<OWLDatatype> datatypesInSignature() { return empty(); } }
/** * @return a sorted stream of OWLAnnotations on this object. This will only include the * annotations contained in this object, not the value of annotation assertion axioms in * an ontology or in other ontologies. Use the EntitySearcher methods for that purpose. */ default Stream<OWLAnnotation> annotations() { return empty(); }
/** * @return Stream of classes in the signature of this object. */ default Stream<OWLClass> classesInSignature() { return empty(); } }
/** * @return Stream of object properties that are in the signature of this object. */ default Stream<OWLObjectProperty> objectPropertiesInSignature() { return empty(); } }
/** * Gets the anonymous individuals occurring in this object. * * @return A set of anonymous individuals */ default Stream<OWLAnonymousIndividual> anonymousIndividuals() { return empty(); } }
@Override public Stream<? extends OWLClassExpression> doDefault(Object o) { return empty(); } };
/** * @return Stream of data properties that are in the signature of this object. */ default Stream<OWLDataProperty> dataPropertiesInSignature() { return empty(); } }
/** * @return Stream of the signature of this object. */ default Stream<OWLEntity> signature() { return empty(); }
/** * @return Stream containing the individuals that are in the signature of this object. */ default Stream<OWLNamedIndividual> individualsInSignature() { return empty(); } }
/** * @return a sorted stream of OWLAnnotations on this object. This will only include the * annotations contained in this object, not the value of annotation assertion axioms in * an ontology or in other ontologies. Use the EntitySearcher methods for that purpose. */ default Stream<OWLAnnotation> annotations() { return empty(); }
/** * @return A stream of the datatypes that are in the signature of this object. */ default Stream<OWLDatatype> datatypesInSignature() { return empty(); } }
/** * @return a sorted stream of OWLAnnotations on this object. This will only include the * annotations contained in this object, not the value of annotation assertion axioms in * an ontology or in other ontologies. Use the EntitySearcher methods for that purpose. */ default Stream<OWLAnnotation> annotations() { return empty(); }
/** * @return A stream of the datatypes that are in the signature of this object. */ default Stream<OWLDatatype> datatypesInSignature() { return empty(); } }
/** * @return Stream of object properties that are in the signature of this object. */ default Stream<OWLObjectProperty> objectPropertiesInSignature() { return empty(); } }
@Override public Stream<OWLEntity> entities(String shortForm) { Set<OWLEntity> entities = shortForm2EntityMap.get(shortForm); if (entities != null && !entities.isEmpty()) { return entities.stream(); } return empty(); }
@Override public Stream<OWLEntity> entities(String shortForm) { Set<OWLEntity> entities = shortForm2EntityMap.get(shortForm); if (entities != null && !entities.isEmpty()) { return entities.stream(); } return empty(); }
@Override public Stream<OWLEntity> entities(String shortForm) { Set<OWLEntity> entities = shortForm2EntityMap.get(shortForm); if (entities != null && !entities.isEmpty()) { return entities.stream(); } return empty(); }
protected Stream<OWLAxiom> generate(OWLDataFactory df, InferredAxiomGenerator<? extends OWLAxiom> g) { try { return g.createAxioms(df, reasoner).stream().map(x -> x); } catch (Exception e) { logger.warn("Error generating {} axioms using {}, version {}", g.getLabel(), reasoner.getReasonerName(), reasoner.getReasonerVersion(), e); return empty(); } } }