@Override public Stream<OWLNegativeDataPropertyAssertionAxiom> negativeDataPropertyAssertionAxioms( OWLIndividual individual) { return withReadLock(() -> delegate.negativeDataPropertyAssertionAxioms(individual)); }
/** * @param i individual * @param p property to search * @param ontology ontology to search * @return property values */ public static Stream<OWLLiteral> getNegativeDataPropertyValues(OWLIndividual i, OWLDataPropertyExpression p, OWLOntology ontology) { return Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p); }
/** * @param i individual * @param p property to search * @param ontology ontology to search * @return true if value present */ public static boolean hasNegativeDataPropertyValues(OWLIndividual i, OWLDataPropertyExpression p, OWLOntology ontology) { return Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p).findAny() .isPresent(); }
@Override public Stream<OWLNegativeDataPropertyAssertionAxiom> negativeDataPropertyAssertionAxioms( OWLIndividual individual) { return withReadLock(() -> delegate.negativeDataPropertyAssertionAxioms(individual)); }
@Override public Stream<OWLNegativeDataPropertyAssertionAxiom> negativeDataPropertyAssertionAxioms( OWLIndividual individual) { return withReadLock(() -> delegate.negativeDataPropertyAssertionAxioms(individual)); }
@Override public Stream<OWLNegativeDataPropertyAssertionAxiom> negativeDataPropertyAssertionAxioms( OWLIndividual individual) { return withReadLock(() -> delegate.negativeDataPropertyAssertionAxioms(individual)); }
/** * @param i individual * @param p property to search * @param ontology ontology to search * @return property values */ public static Stream<OWLLiteral> getNegativeDataPropertyValues(OWLIndividual i, OWLDataPropertyExpression p, OWLOntology ontology) { return Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p); }
/** * @param i individual * @param p property to search * @param ontology ontology to search * @return true if value present */ public static boolean hasNegativeDataPropertyValues(OWLIndividual i, OWLDataPropertyExpression p, OWLOntology ontology) { return Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p).findAny() .isPresent(); }
/** * @param i individual * @param p property to search * @param ontology ontology to search * @return property values */ public static Stream<OWLLiteral> getNegativeDataPropertyValues(OWLIndividual i, OWLDataPropertyExpression p, OWLOntology ontology) { return Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p); }
/** * @param i individual * @param p property to search * @param ontology ontology to search * @return true if value present */ public static boolean hasNegativeDataPropertyValues(OWLIndividual i, OWLDataPropertyExpression p, OWLOntology ontology) { return Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p).findAny() .isPresent(); }
/** * @param i individual * @param ontology ontology to search * @return property values */ public static Multimap<OWLDataPropertyExpression, OWLLiteral> getNegativeDataPropertyValues( OWLIndividual i, OWLOntology ontology) { Multimap<OWLDataPropertyExpression, OWLLiteral> map = LinkedListMultimap.create(); ontology.negativeDataPropertyAssertionAxioms(i) .forEach(ax -> map.put(ax.getProperty(), ax.getObject())); return map; }
/** * @param i individual * @param ontology ontology to search * @return property values */ public static Multimap<OWLDataPropertyExpression, OWLLiteral> getNegativeDataPropertyValues( OWLIndividual i, OWLOntology ontology) { Multimap<OWLDataPropertyExpression, OWLLiteral> map = LinkedListMultimap.create(); ontology.negativeDataPropertyAssertionAxioms(i) .forEach(ax -> map.put(ax.getProperty(), ax.getObject())); return map; }
/** * @param i individual * @param p property to search * @param lit literal to search * @param ontology ontology to search * @return true if value present */ public static boolean hasNegativeDataPropertyValue(OWLIndividual i, OWLDataPropertyExpression p, OWLLiteral lit, OWLOntology ontology) { return contains(Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p), lit); }
/** * @param i individual * @param p property to search * @param lit literal to search * @param ontology ontology to search * @return true if value present */ public static boolean hasNegativeDataPropertyValue(OWLIndividual i, OWLDataPropertyExpression p, OWLLiteral lit, OWLOntology ontology) { return contains(Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p), lit); }
/** * @param i individual * @param p property to search * @param lit literal to search * @param ontology ontology to search * @return true if value present */ public static boolean hasNegativeDataPropertyValue(OWLIndividual i, OWLDataPropertyExpression p, OWLLiteral lit, OWLOntology ontology) { return contains(Searcher.negValues(ontology.negativeDataPropertyAssertionAxioms(i), p), lit); }
/** * @param i individual * @param ontology ontology to search * @return property values */ public static Multimap<OWLDataPropertyExpression, OWLLiteral> getNegativeDataPropertyValues( OWLIndividual i, OWLOntology ontology) { Multimap<OWLDataPropertyExpression, OWLLiteral> map = LinkedListMultimap.create(); ontology.negativeDataPropertyAssertionAxioms(i) .forEach(ax -> map.put(ax.getProperty(), ax.getObject())); return map; }
.negativeObjectPropertyAssertionAxioms(individual), o.dataPropertyAssertionAxioms(individual), o .negativeDataPropertyAssertionAxioms(individual)).flatMap(x -> x).sorted(ooc) .collect(toList()); if (!assertions.isEmpty()) {
.negativeObjectPropertyAssertionAxioms(individual), o.dataPropertyAssertionAxioms(individual), o .negativeDataPropertyAssertionAxioms(individual)).flatMap(x -> x).sorted(ooc) .collect(toList()); if (!assertions.isEmpty()) {
.negativeObjectPropertyAssertionAxioms(individual), o.dataPropertyAssertionAxioms(individual), o .negativeDataPropertyAssertionAxioms(individual)).flatMap(x -> x).sorted(ooc) .collect(toList()); if (!assertions.isEmpty()) {
.negativeObjectPropertyAssertionAxioms(individual), o.dataPropertyAssertionAxioms(individual), o .negativeDataPropertyAssertionAxioms(individual)).flatMap(x -> x).sorted(ooc) .collect(toList()); if (!assertions.isEmpty()) {