public class SparqlTransitiveClosure extends Object
Constructor and Description |
---|
SparqlTransitiveClosure(String endPoint) |
Modifier and Type | Method and Description |
---|---|
HashSet<String> |
getAllTransitiveLeavesOf(String rootEntity,
String transitiveRelationship,
String leafRelationship)
Given a root entity, return a hash set of all transitive relationships up
until a leaf nodes
|
static void |
main(String[] args)
a subclasof test
|
public SparqlTransitiveClosure(String endPoint)
endPoint
- instantiate a SparqlQueryPager
ready to explore
transitive relationshipspublic HashSet<String> getAllTransitiveLeavesOf(String rootEntity, String transitiveRelationship, String leafRelationship)
rootEntity
- transitiveRelationship
- leafRelationship
-