Open mih opened 5 years ago
@mih - this is a quirk of our explicit types of records in the jsonld context.
because jsonld is still a graph, the underlying data structure doesn't change, but the serializer creates lists of entities by type.
one way to fix this is to not assign multiple types to a node unless necessary. in this particular case: ParameterEstimateMap
would be a subclass of prov:Entity
so it is not necessary to assign two types to it at the document level.
@mih: Thanks for reporting this back. As @satra said, we had discussed removing the second (more generic type) to simplify the graph., I've kept a record of this at: https://github.com/incf-nidash/nidm-specs/pull/479 where we have a list of improvements needed for the JSON-LD representation.
Just reporting it, because I cannot immediately explain it to myself:
@graph.records.prov:Entity
contains records on parameter estimate maps like:but not all such records are in this location. The rest (non-overlapping) is at
@graph.records.ParameterEstimateMap
, such as:What is the reason for this difference in placement? Minus the type info they look the same to me, and I wonder why they would be of different type?