From: Ruben V. <rub...@ug...> - 2013-08-10 18:06:38
|
Dear all, SWObjects [1] incorrectly interprets hashes. It prepends the current filename before them, while it shouldn’t. $ echo "<http://ex.org#a> <http://ex.org#b> <http://ex.org#c>." > hash.ttl $ sparql -d hash.ttl { <http://ex.orghash.ttl#a> <http://ex.orghash.ttl#b> <http://ex.orghash.ttl#c> . } The expected output is instead { <http://ex.org#a> <http://ex.org#b> <http://ex.org#c>. } Something similar happens when we use a prefix that doesn’t end in a slash: $ echo "@prefix ex: <http://ex.org>. ex:a ex:b ex:c." > hash2.ttl $ sparql -d hash2.ttl { <http://ex.orghash2.ttlahash2.ttl> <http://ex.orghash2.ttlbhash2.ttl> <http://ex.orghash2.ttlchash2.ttl> . } Best, Ruben [1] commit 4283bf306 from sparql11 branch https://github.com/ericprud/SWObjects/commit/4283bf306 compiled on OSX with https://github.com/RubenVerborgh/SWObjects/commit/1a3a9a02f |