elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/Reasoner.java
protected TaxonomyNode<ElkObjectProperty> getObjectPropertyTaxonomyNode(
			final ElkObjectProperty elkProperty) throws ElkException {
		final Taxonomy<ElkObjectProperty> propertyTaxonomy = getObjectPropertyTaxonomy();
		final TaxonomyNode<ElkObjectProperty> node = propertyTaxonomy
				.getNode(elkProperty);
		if (node != null) {
			return node;
		}
		// else
		if (allowFreshEntities) {
			return new FreshTaxonomyNode<ElkObjectProperty>(elkProperty,
					propertyTaxonomy);
		}
		// else
		throw new ElkFreshEntitiesException(elkProperty);
	}
protected TaxonomyNode<ElkObjectProperty> getObjectPropertyTaxonomyNode(
			final ElkObjectProperty elkProperty) throws ElkException {
		final Taxonomy<ElkObjectProperty> propertyTaxonomy = getObjectPropertyTaxonomy();
		final TaxonomyNode<ElkObjectProperty> node = propertyTaxonomy
				.getNode(elkProperty);
		if (node != null) {
			return node;
		}
		// else
		if (allowFreshEntities) {
			return new FreshTaxonomyNode<ElkObjectProperty>(elkProperty,
					propertyTaxonomy);
		}
		// else
		throw new ElkFreshEntitiesException(elkProperty);
	}
Helper method to get a {@link TaxonomyNode} from the property taxonomy.

@param elkProperty
an {@link ElkObjectProperty} for which to find a
{@link TaxonomyNode}
@return the {@link TaxonomyNode} for the given {@link ElkObjectProperty}