Re: request for feedback: first draft of representation spec

Hi James,

> - why should it be proper to compare a variable and an rdf term, for example an iri?

To conclude their not the same thing.
Then you can do things such as pattern matching.
For instance:

    if (left.equals(right) || right.termType === 'variable')
       doSomething();

> - why is a blank node label associated with a “value” function?
> - why is a variable name associated with a “value” function?

Because all Terms have this, and it's also a way of comparing equality.
Also, these values might be used for serialization.

Best,

Ruben

Received on Friday, 5 February 2016 16:29:16 UTC