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