RDF.Data.equal-question-mark
You're seeing just the function
equal-question-mark
, go back to RDF.Data module for more information.
Checks if two RDF data structures are equal.
Two RDF data structures are considered to be equal if they contain the same triples.
- comparing two
RDF.Description
s it's just the same asRDF.Description.equal?/2
- comparing two
RDF.Graph
s differs inRDF.Graph.equal?/2
in that the graph name is ignored - comparing two
RDF.Dataset
s differs inRDF.Dataset.equal?/2
in that the dataset name is ignored - a
RDF.Description
is equal to aRDF.Graph
, if the graph has just one description which equals the given description - a
RDF.Description
is equal to aRDF.Dataset
, if the dataset has just one graph which contains only the given description - a
RDF.Graph
is equal to aRDF.Dataset
, if the dataset has just one graph which equals the given graph; note that in this case the graph names must match