java.lang.Object
org.apache.jena.sparql.util.graph.GraphList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallTriples
(GNode gnode) static void
allTriples
(GNode gnode, Collection<Triple> acc) static boolean
findAllLists
(Graph graph) Expensive operation to find all the likely looking list heads in a modelstatic Node
static int
static boolean
isListNode
(GNode gnode) static int
listFromMember
(GNode gnode) Starting at a list element, find the heads of lists it is instatic void
listFromMember
(GNode gnode, Collection<Node> acc) listMember
(Graph graph, Node s, Node o) Calculate ?s list:member ?o as if it were a graph.findstatic Node
listToTriples
(List<Node> list, BasicPattern bgp) Convert a list of nodes into triples, placing them in BPG, returning the head of the liststatic void
members
(GNode gnode, Collection<Node> acc) static int
static void
triples
(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
-