Skip to content

Support array position to property binding #146

@msporny

Description

@msporny

Reto has asked us to consider binding properties to array positions, so that something like this:

"position": ["18.324235", "-36.4387934"],

would generate this RDF:

<> geo:position [ geo:latitude "18.324235"; geo:longitude "-36.4387934" ] .

One potential solution would have us create a context entry that looks like this:

"position": {"@id": "geo:position", 
             "@container": [{"@id": "geo:latitude"}, {"@id": "geo:longitude"}]}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions