Hi Jeff,
This certainly sounds like something that others may want to use. Is it
on github? What license?
Thanks!
David Booth
On 09/03/2015 11:05 AM, Jeff Mixter wrote:
Frans,
I had the same problem a few months ago and wrote a very simple server
side Python script (using the rdflib and rdflib-json Python modules) to,
on the fly, grab RDF/XML load it into a graph (in memory) and then
re-serialize it as JSON-ld. It works very quickly and I have not run
into any issues.
If you are interested, let me know and I can share the code with you.
Jeff
On Thu, Sep 3, 2015 at 10:19 AM, Frans Knibbe <[email protected]
<mailto:[email protected]>> wrote:
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 <tel:%2B31%20%280%2920%20-%205711%20347>
E [email protected] <mailto:[email protected]>
www.geodan.nl <http://www.geodan.nl>
disclaimer <http://www.geodan.nl/disclaimer>
--
Jeff Mixter
[email protected] <mailto:[email protected]>
440-773-9079