Click or drag to resize

GraphDiffReport Class

Represents the Differences between 2 Graphs.
Inheritance Hierarchy
SystemObject
  VDS.RDFGraphDiffReport

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class GraphDiffReport

The GraphDiffReport type exposes the following members.

Constructors
  NameDescription
Public methodGraphDiffReport
Initializes a new instance of the GraphDiffReport class
Top
Properties
  NameDescription
Public propertyAddedMSGs
Gets the MSGs (Minimal Spanning Graphs i.e. sets of Triples sharing common Blank Nodes) that must be added to the 1st Graph to get the 2nd Graph.
Public propertyAddedTriples
Gets the Ground Triples (i.e. no Blank Nodes) that must be added to the 1st Graph to get the 2nd Graph.
Public propertyAreDifferentSizes
Gets whether the Graphs are different sizes, different sized graphs are by definition non-equal.
Public propertyAreEqual
Gets whether the Graphs were equal at the time the Diff was calculated.
Public propertyMapping
Provides the mapping from Blank Nodes in 1 Graph to Blank Nodes in another.
Public propertyRemovedMSGs
Gets the MSGs (Minimal Spanning Graphs i.e. sets of Triples sharing common Blank Nodes) that must be added to the 1st Graph to get the 2nd Graph.
Public propertyRemovedTriples
Gets the Ground Triples (i.e. no Blank Nodes) that must be removed from the 1st Graph to get the 2nd Graph.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsUpdate
Converts a diff to an equivalent SPARQL Update INSERT/DELETE command.
(Defined by GraphDiffReportExtensions.)
Top
Remarks

The Diff represents the Difference between the 2 Graphs at the time the Difference was calculated - if the Graphs subsequently change then the Diff must be recalculated.

See Also