RDF.Literal.Datatype.do_equal_value_same_or_derived_datatypes-question-mark
You're seeing just the callback
do_equal_value_same_or_derived_datatypes-question-mark
, go back to RDF.Literal.Datatype module for more information.
Specs
Callback for datatype specific equal_value?/2
comparisons when the given literals have the same or derived datatypes.
This callback is called by auto-generated equal_value?/2
function when the given literals have
the same datatype or one is derived from the other.
Should return nil
when the given arguments are not comparable as literals of this
datatype. This behaviour is particularly important for SPARQL.ex where this
function is used for the =
operator, where comparisons between incomparable
terms are treated as errors and immediately leads to a rejection of a possible
match.
See also do_equal_value_different_datatypes?/2
.