Click or drag to resize

BaseLiteralNodeEquals Method (INode)

Implementation of the Equals method for Literal Nodes.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
The default behaviour is for Literal Nodes to be considered equal IFF
  1. Their Language Specifiers are identical (or neither has a Language Specifier)
  2. Their Data Types are identical (or neither has a Data Type)
  3. Their String values are identical
This behaviour can be overridden to use value equality by setting the LiteralEqualityMode option to be Loose if this is more suited to your application.
See Also