org.openrdf.elmo.smusher
Class TransitivitySmusher
java.lang.Object
org.openrdf.elmo.smusher.AbstractSmusher
org.openrdf.elmo.smusher.FixedQuerySmusher
org.openrdf.elmo.smusher.TransitivitySmusher
- All Implemented Interfaces:
- Smusher
public class TransitivitySmusher
- extends FixedQuerySmusher
This smusher computes the transitive closure of a given predicate (by default
owl:sameAs). e.g if it finds that A owl:sameAs B and B owl:sameAs C then it
returns A and C as a match.
This smusher itself does not iterate and thus it will
not return the complete closure. It needs to be used inside an IterativeSmusher
to compute the complete closure.
As it uses a single query it works only on a single repository, not in
cases when we need to smush things in different repositories.
- Author:
- Peter Mika (pmika@cs.vu.nl)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_logger
protected static final Logger _logger
_property
protected URI _property
TransitivitySmusher
public TransitivitySmusher()
TransitivitySmusher
public TransitivitySmusher(URI property)
Copyright © 2004-2008 Aduna. All Rights Reserved.