o-development / ldo

Monorepo for Linked Data Objects (ldo)
MIT License
23 stars 5 forks source link

`getDataset` missing data from nested shapes when `@id` is specified #27

Open jeswr opened 3 months ago

jeswr commented 3 months ago

I've got a reproduction of this behavior at https://github.com/jeswr/ldo-validation-repro/blob/e39a535f6c20e3dbf719c00f0183f25e1c7a8cbf/test.ts#L4-L21.

I would expect the triple with predicate http://example.org/innerProp to be produced by the getDataset call in both cases, not just in the case where the focus node for the nested shape is a blank node.