elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/Reasoner.java
public synchronized Set<? extends Node<ElkObjectProperty>> getSuperObjectProperties(
			final ElkObjectProperty property, final boolean direct)
			throws ElkException {

		TaxonomyNode<ElkObjectProperty> queryNode = getObjectPropertyNode(
				property);

		return (direct) ? queryNode.getDirectSuperNodes()
				: queryNode.getAllSuperNodes();
	}
public synchronized Set<? extends Node<ElkObjectProperty>> getSuperObjectProperties(
			final ElkObjectProperty property, final boolean direct)
			throws ElkException {

		TaxonomyNode<ElkObjectProperty> queryNode = getObjectPropertyNode(
				property);

		return (direct) ? queryNode.getDirectSuperNodes()
				: queryNode.getAllSuperNodes();
	}
Return the (direct or indirect) super-properties of the given
{@link ElkObjectProperty} as specified by the parameter. The method
returns a set of {@link Node}s, each of which representing an equivalence
class of super-properties. Calling of this method may trigger the
computation of the taxonomy, if it has not been done yet.

@param property
the {@link ElkObjectProperty} for which to return the
super-property {@link Node}s
@param direct
if {@code true}, only direct super-properties are returned
@return the set of {@link Node}s for direct or indirect super-properties
of the given {@link ElkObjectProperty} according to the specified
parameter
@throws ElkException
if the result cannot be computed