Duplicate literal values in Turtle output #59

Closed
lanthaler opened this Issue Jan 13, 2012 · 5 comments

3 participants

@lanthaler
JSON-LD Public Repositories member

Reported by Melvin Carvalho:

I think I've found a possible bug (http://is.gd/MNSEoj).

The turtle representation looks like:

<#a0e7b3c07a27cc510292f575a693d08960fa3eee>
   <http://plugin.org.uk/rdf/vote#for>
      "N3",
      "N3";

But RDF being a set should not allow duplicates.

There may be an issue with my syntax not being the latest and greatest, if so sorry about that! :)

@dlongley
JSON-LD Public Repositories member

Hmm, that doesn't seem like a bug to me. If "N3" is just a literal string, why can't it appear as many times as you'd like?

@lanthaler
JSON-LD Public Repositories member
@gkellogg
JSON-LD Public Repositories member

A graph DB would only hold a single entry for that SPO, but it's. It uncommon for serializations to repeat, and IMO is not incorrect.

@lanthaler
JSON-LD Public Repositories member
@dlongley
JSON-LD Public Repositories member

The normalization algorithm has been fixed to remove duplicate objects (in general) not just duplicate IRIs in the object position. This closes out this bug.

@dlongley dlongley closed this Jan 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment