java.lang.Object
org.apache.jena.sparql.util.graph.GraphList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallTriples(GNode gnode) static voidallTriples(GNode gnode, Collection<Triple> acc) static booleanfindAllLists(Graph graph) Expensive operation to find all the likely looking list heads in a modelstatic Nodestatic intstatic booleanisListNode(GNode gnode) static intlistFromMember(GNode gnode) Starting at a list element, find the heads of lists it is instatic voidlistFromMember(GNode gnode, Collection<Node> acc) listMember(Graph graph, Node s, Node o) Calculate ?s list:member ?o as if it were a graph.findstatic NodelistToTriples(List<Node> list, BasicPattern bgp) Convert a list of nodes into triples, placing them in BPG, returning the head of the liststatic voidmembers(GNode gnode, Collection<Node> acc) static intstatic voidtriples(GNode gnode, Collection<Triple> acc)
-
Constructor Details
-
GraphList
public GraphList()
-
-
Method Details
-
listFromMember
Starting at a list element, find the heads of lists it is in -
listFromMember
-
listMember
Calculate ?s list:member ?o as if it were a graph.find -
members
-
members
-
length
-
occurs
-
contains
-
get
-
index
-
indexes
-
triples
-
allTriples
-
allTriples
-
findAllLists
Expensive operation to find all the likely looking list heads in a model -
listToTriples
Convert a list of nodes into triples, placing them in BPG, returning the head of the list -
isListNode
-