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 voidallTriples(GNode gnode, Collection<org.apache.jena.graph.Triple> acc) static booleanstatic 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.Nodestatic intstatic booleanisListNode(GNode gnode) static intstatic List<org.apache.jena.graph.Node>listFromMember(GNode gnode) Starting at a list element, find the heads of lists it is instatic voidlistFromMember(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.NodelistToTriples(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 voidmembers(GNode gnode, Collection<org.apache.jena.graph.Node> acc) static intstatic voidtriples(GNode gnode, Collection<org.apache.jena.graph.Triple> acc)
-
Constructor Details
-
GraphList
public GraphList()
-
-
Method Details
-
members
-
members
-
length
-
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 -
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
-