Implementation of Equality for Triples.
dotNetRDF (in dotNetRDF.dll) Version:
public override bool Equals(
Public Overrides Function Equals (
obj As Object
) As Boolean
- Type: SystemObject
Object to compare with.
[Missing <returns> documentation for "M:VDS.RDF.Triple.Equals(System.Object)"]
Triples are considered equal on the basis of two things:.
- The Hash Codes of the Triples are identical
- The logical conjunction (AND) of the equality of the Subject, Predicate and Object is true. Each pair of Nodes must either be Equal using Node Equality or are both Blank Nodes and have identical Node IDs (i.e. are indistinguishable for equality purposes on a single Triple level)