kazarena / json-gold

A JSON-LD processor for Go
Apache License 2.0
114 stars 17 forks source link

Blank nodes across graphs / RDF lists #1

Closed kazarena closed 9 years ago

kazarena commented 9 years ago

The problem was described in json-ld/json-ld.org#357 and jsonld-java/jsonld-java#118. As JSON-goLD inherits its implementation of FromRDF algorithm from JSONLD-JAVA, this issue is still out there and as a result 3 tests fail:

fromRdf-t0020: list with node shared across graphs fromRdf-t0021: list with node shared across graphs (same triple in different graphs) fromRdf-t0022: list from duplicate triples

In order to claim compliance with the spec I need to reinstate these tests and fix the code. I believe following https://github.com/digitalbazaar/pyld/commit/a489b5056be44a4c37023735ce60f90e73c6ace3 from PyLD is a good idea.

kazarena commented 9 years ago

This issue was fixed by porting the solution from PyLD.