Skip to content

Expansion Algorithm confusing Step 13.8.3.7.2.3 not covered by the expansion tests #477

Closed
@timothee-haudebourg

Description

@timothee-haudebourg

In the Expansion Algorithm I personally find the description of the Step 13.8.3.7.2.3 hard to understand:

Initialize index property values to the concatenation of re-expanded index
with any existing values of expanded index key in item.

The variable re-expanded index holds a value object. I don't understand how to "concatenate" a value object with anything. I find the use of "any" confusing, does it mean "all", or "the first one you find"? Moreover, expanded index key is most likely to be an expanded IRI and I don't see any situation where it would appear in item (unless we consider the expanded keys in item? I'm lost).

In my implementation, I temporarily simplified this step by just defining index property values as re-expanded index. My plan was to come back to it while running the expansion tests, trying to understand reading the tests.

However I now pass all the tests without changing this part...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions