Re: Recommendation for transformation of RDF/XML to JSON-LD in a web browser?

Thanks everyone for the responses!

It appears there are plenty of options, with something to be said for each.
I think I am going to give rdf-ext <https://github.com/bergos/rdf-ext> (one
of the recommendations) a try first. It had appeared on my radar before I
posted the question, but I was put off by the apparent lack of
documentation and examples, especially since cooking up javascript is not
something I do every day. Still, javascript is needed anyway for web
application development, so sticking to one programming language seems to
make sense. Also, I think I'll want access to jsonld.js
<https://github.com/digitalbazaar/jsonld.js>, because it allows
transforming to a specific flavour of JSON-LD: flattened form. I hope I can
transform into that specific form because rdf-ext incorporates jsonld.js.

Regards,
Frans



2015-09-03 16:19 GMT+02:00 Frans Knibbe <frans.knibbe@geodan.nl>:

> Hello,
>
> In a web application that is working with RDF data I would like to have
> all data available as JSON-LD, because I believe it is the easiest RDF
> format to process in a web application. At the moment I am particularly
> looking at processing vocabulary data. I think I can assume that such data
> will at least be available as RDF/XML. So I am looking for a way to
> transform RDF/XML to JSON-LD in a web browser.
>
> What would be the best or easiest way to do this? Attempt the
> transformation in the browser, using jsonld.js
> <https://github.com/digitalbazaar/jsonld.js> plus something else? Or use
> a server side component? And in the case of a server side component, which
> programming environment could be recommended? Python? Node.js? Any general
> or specific advice would be welcome.
>
> Greetings,
> Frans
>
> --
> Frans Knibbe
> Geodan
> President Kennedylaan 1
> 1079 MB Amsterdam (NL)
>
> T +31 (0)20 - 5711 347
> E frans.knibbe@geodan.nl
> www.geodan.nl
> disclaimer <http://www.geodan.nl/disclaimer>
>
>


-- 
Frans Knibbe
Geodan
President Kennedylaan 1
1079 MB Amsterdam (NL)

T +31 (0)20 - 5711 347
E frans.knibbe@geodan.nl
www.geodan.nl
disclaimer <http://www.geodan.nl/disclaimer>

Received on Friday, 4 September 2015 10:49:59 UTC