Skip to content

Feature request: Mechanism for mapping JSON property to RDF property path instead of just single property #736

Open
@jakubklimek

Description

@jakubklimek

I have a fixed JSON structure that I can't change:

{
        "@type": "Organization",
        "@id": "http://example.com/id/60747862",
        "id": "60747862",
        "name": {
            "en": "MyName"
        }
    }

Now I would like to map this correctly to the Registered Organization Vocabulary.

The ideal result should be:

<http://example.com/id/60747862> a rov:RegisteredOrganization ;
  rov:registration <http://example.com/id/60747862/registration> .

<http://example.com/id/60747862/registration> a adms:Identifier ;
  skos:notation "60747862" .

However, using JSON-LD context, all I am capable of doing without changing the JSON structure is:

<http://example.com/id/60747862> a rov:RegisteredOrganization ;
  skos:notation "60747862" .

I miss the ability to "expand" the JSON property into a path rov:registration/skos:notation, optionally with the indication of the type of <http://example.com/id/60747862/registration>. Of course, something like an IRI template would also be nice so that I could actually construct the <http://example.com/id/60747862/registration> IRI.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions