Closed timea-solid closed 2 years ago
I found a bug in my demo. And I nailed it down to a function in rdflib that does not take care to query in a given quad (context/graph): https://github.com/linkeddata/rdflib.js/blob/c14dfd57d5159ad5ac1ee2523cc7924968e24f53/src/formula.ts#L400 -> mind the missing quad Now, one can debate this is a feature... I believe this to be a bug. My store has loaded 2 similar resources but I specifically (well the solid-ui forms code) queries for data from only ONE resource and still, because of the findMembersNT function in rdflib retrieves cross resource all possibilities -> hence I got DUPLICATE records (triples) because they are different only in the quad they are stored on. This bug is nasty, unless you know RDF really well you could not deduce this. (lucky I came across such behavior before)
Fixed in solid-ui lib and with the commit 281c092f9c3e7a8615681fcde529ad7bec34360d here
see: