TripleGraph
Value parameters
- label
-
the array of vertex labels
- name
-
the name of the triple-graph
- schema
-
optional schema: map from label to label type
- triples
-
the bag of triples in the triple-graph
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Cloneableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Build a map from a vertex pair (u, v) to the set relations/edge-labels on edges connecting vertex u to v.
Build a map from a vertex pair (u, v) to the set relations/edge-labels on edges connecting vertex u to v.
Attributes
Build the indices. FIX - add edges to existing set
Build the indices. FIX - add edges to existing set
Attributes
Build a map from vertex labels to the sets of vertices containing those labels.
Build a map from vertex labels to the sets of vertices containing those labels.
Attributes
Return the tail vertices in the triples (h, *, ?).
Return the tail vertices in the triples (h, *, ?).
Value parameters
- h
-
the head vertex
Attributes
Return the tail vertices in the triples (h, r, ?).
Return the tail vertices in the triples (h, r, ?).
Value parameters
- h
-
the head vertex
- r
-
the relation/edge label
Attributes
To check if two graphs are equal.
To check if two graphs are equal.
Value parameters
- g2_
-
the graph to be compared with this graph
Attributes
- Definition Classes
-
Equals -> Any
Return the head vertices in the triples (?, r, t).
Return the head vertices in the triples (?, r, t).
Value parameters
- r
-
the relation/edge label
- t
-
the tail vertex
Attributes
Print this triple-graph in a deep sense with all the information.
Print this triple-graph in a deep sense with all the information.
Value parameters
- clip
-
whether to clip out "Set(" and ")"
Attributes
Return the size in terms of the vertices.
Return the size in terms of the vertices.
Attributes
Convert this triple-graph to a string in a shallow sense. Large arrays are not converted. Use print to show all information.
Convert this triple-graph to a string in a shallow sense. Large arrays are not converted. Use print to show all information.
Attributes
- Definition Classes
-
Any
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product