Triple Class |
Namespace: VDS.RDF
The Triple type exposes the following members.
| Name | Description | |
|---|---|---|
| Triple(INode, INode, INode) |
Constructs a Triple from Nodes that belong to the same Graph/Node Factory.
| |
| Triple(INode, INode, INode, Uri) |
Creates a Triple and associates it with the given Graph URI permanently (though not with a specific Graph as such).
| |
| Triple(INode, INode, INode, IGraph) |
Constructs a Triple from Nodes that belong to the same Graph/Node Factory and associates this Triple with the given Graph (doesn't assert the Triple).
| |
| Triple(INode, INode, INode, ITripleContext) |
Constructs a Triple from Nodes that belong to the same Graph/Node Factory with some Context.
| |
| Triple(INode, INode, INode, ITripleContext, Uri) |
Constructs a Triple from Nodes that belong to the same Graph/Node Factory with some Context.
|
| Name | Description | |
|---|---|---|
| Context |
Gets the Context Information for this Triple.
| |
| Graph |
Gets the Graph this Triple was created for.
| |
| GraphUri |
Gets the Uri of the Graph this Triple was created for.
| |
| IsGroundTriple |
Gets whether the Triple is a Ground Triple.
| |
| Nodes |
Gets an enumeration of the Nodes in the Triple.
| |
| Object |
Gets the Object of the Triple.
| |
| Predicate |
Gets the Predicate of the Triple.
| |
| Subject |
Gets the Subject of the Triple.
|
| Name | Description | |
|---|---|---|
| CompareTo |
Implementation of CompareTo for Triples which allows Triples to be sorted.
| |
| Equals |
Implementation of Equality for Triples.
(Overrides ObjectEquals(Object).) | |
| GetHashCode |
Implementation of Hash Codes for Triples.
(Overrides ObjectGetHashCode.) | |
| GetObjectData |
Gets the data for serialization.
| |
| GetSchema |
Gets the schema for XML serialization.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasObject |
Indicates whether the Triple has the given Node as the Object.
| |
| HasPredicate |
Indicates whether the Triple has the given Node as the Predicate.
| |
| HasSubject |
Indicates whether the Triple has the given Node as the Subject.
| |
| Involves(Uri) |
Checks whether the Triple involves a given Uri.
| |
| Involves(INode) |
Checks whether the Triple involves a given Node.
| |
| ReadXml |
Reads the data for XML deserialization.
| |
| ToString |
Gets a String representation of a Triple in the form 'Subject , Predicate , Object'.
(Overrides ObjectToString.) | |
| ToString(Boolean) |
Gets a String representation of a Triple in the form 'Subject , Predicate , Object' with optional compression of URIs to QNames.
| |
| ToString(ITripleFormatter) |
Gets the String representation of a Triple using the given Triple Formatter.
| |
| WriteXml |
Writes the data for XML serialization.
|
| Name | Description | |
|---|---|---|
| CopyTriple(IGraph) | Overloaded.
Copies a Triple to the target Graph.
(Defined by Extensions.) | |
| CopyTriple(IGraph, Boolean) | Overloaded.
Copies a Triple to the target Graph.
(Defined by Extensions.) | |
| MapTriple |
Copies a Triple from one Graph mapping Nodes as appropriate.
(Defined by Extensions.) |