- From: Ruben Verborgh <ruben.verborgh@ugent.be>
- Date: Wed, 11 Dec 2013 11:56:59 +0000
- To: Ian Dickinson <i.j.dickinson@gmail.com>
- Cc: public-rdfjs@w3.org
> That looks lossy from an RDF perspective.
It's not; the difference between URIs and literals is that the latter start with a quote.
> How would you differentiate the following two triples?
Assuming @prefix ex: http://ex.org/#.
> ex:s ex:p <http://foo/bar>.
{ subject: 'http://ex.org/#s', predicate: 'http://ex.org/#p', object: 'http://foo/bar' }
> ex:s ex:p "http://foo/bar".
{ subject: 'http://ex.org/#s', predicate: 'http://ex.org/#p', object: '"http://foo/bar"' }
Note how the literal gets additional quotes [1].
Best,
Ruben
[1] https://github.com/RubenVerborgh/N3.js#triple-representation
Received on Wednesday, 11 December 2013 11:57:32 UTC