kg-construct / rml-lv

Specification repository for logical views in RML.
https://kg-construct.github.io/rml-lv/dev.html
3 stars 3 forks source link

Example 9 and Usefulness of nested fields. #25

Closed tirrolo closed 1 month ago

tirrolo commented 3 months ago

Example 9 is not complete, as the weight is not rendered as a field. Furthermore, is it necessary to create a field for "Item"? We think it just adds confusion. Related to this: is nesting in fields really necessary?

pmaria commented 3 months ago

Example 9 is not complete, as the weight is not rendered as a field.

Indeed, this should be added.

Furthermore, is it necessary to create a field for "Item"? We think it just adds confusion. Related to this: is nesting in fields really necessary?

The nesting is indeed necessary. Without the nesting we will get a Cartesian product of the types and weights for items. This is precisely one of the use cases for fields.