Re: polymorphic RDF mapping

Hi Fano,

If you want a generic JSON to RDF mapper you can try this:
https://github.com/AtomGraph/JSON2RDF

You can then map its output to the required RDF structure using SPARQL
CONSTRUCT (there are examples).

Best,

Martynas

On Fri, Sep 27, 2024 at 10:58 AM <fano.ramparany@orange.com> wrote:
>
> Hi,
>
>
>
> Are there any polymorphic RDF mapping tool?
>
> More concretely , we use a json data source which publish heterogenous json documents such as in the following example:
>
>
>
> [
>
>     {
>
>         "type" : "person",
>
>         "name" : "peter",
>
>         "age" : 30
>
>     },
>
>     {
>
>         "type" : "parcel",
>
>         "id" : "p320",
>
>         "weight" : 2,
>
>         "recipient" : {
>
>              "name" : "daniel",
>
>              "address" : "2, Harbor Str., Hopville"
>
>         }­­­
>
>     }
>
> ]
>
>
>
> Thank you in advance for your help
>
>
>
> Orange Restricted
>
>
>
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.

Received on Friday, 27 September 2024 09:28:56 UTC