Re: JSON-LD Was: Loosely converting JSON/XML to RDF

2018-11-07 Thread Paul Houle
ted better. -- Original Message -- From: "ajs6f" To: users@jena.apache.org Sent: 11/7/2018 10:21:05 AM Subject: JSON-LD Was: Loosely converting JSON/XML to RDF On the particular topic of JSON-LD 1.1, because it has some relevance to the Jena community, I'd like to note again th

JSON-LD Was: Loosely converting JSON/XML to RDF

2018-11-07 Thread ajs6f
nd then use JSON-LD context and framing to change the data to my >> linking, why do tools such as RML, YARRRML, and SPARQL-Generate exist at >> all? Do they do anything at all that can't be done with JSON-LD? >> >> >> >> >> Sent: Monday, November 05, 201

Re: Loosely converting JSON/XML to RDF

2018-11-07 Thread Laura Morales
November 07, 2018 at 2:37 PM From: "Martynas Jusevičius" To: jena-users-ml Subject: Re: Loosely converting JSON/XML to RDF Just to add: if the choice comes down to, for example, XSLT vs. SPARQL-Generate, then you are choosing between a standard with multiple implementations, widely support

Re: Loosely converting JSON/XML to RDF

2018-11-07 Thread Martynas Jusevičius
change the data to my > > linking, why do tools such as RML, YARRRML, and SPARQL-Generate exist at > > all? Do they do anything at all that can't be done with JSON-LD? > > > > > > > > > > Sent: Monday, November 05, 2018 at 9:10 AM > > From: "Christop

Re: Loosely converting JSON/XML to RDF

2018-11-07 Thread Conal Tuohy
t; > > > > Sent: Monday, November 05, 2018 at 9:10 AM > From: "Christopher Johnson" > To: users@jena.apache.org > Subject: Re: Loosely converting JSON/XML to RDF > Another approach is to use JSON-LD. A JSON document can be "converted" to > RDF by adding

Re: Loosely converting JSON/XML to RDF

2018-11-07 Thread Martynas Jusevičius
t all? > Do they do anything at all that can't be done with JSON-LD? > > > > > Sent: Monday, November 05, 2018 at 9:10 AM > From: "Christopher Johnson" > To: users@jena.apache.org > Subject: Re: Loosely converting JSON/XML to RDF > Another approach is to use

Re: Loosely converting JSON/XML to RDF

2018-11-07 Thread Alex To
hey do anything at all that can't be done with JSON-LD? > > > > > Sent: Monday, November 05, 2018 at 9:10 AM > From: "Christopher Johnson" > To: users@jena.apache.org > Subject: Re: Loosely converting JSON/XML to RDF > Another approach is to use JSON-LD. A JS

Re: Loosely converting JSON/XML to RDF

2018-11-07 Thread Laura Morales
: Monday, November 05, 2018 at 9:10 AM From: "Christopher Johnson" To: users@jena.apache.org Subject: Re: Loosely converting JSON/XML to RDF Another approach is to use JSON-LD. A JSON document can be "converted" to RDF by adding a context and using the toRDF method[1] in one of t

Re: Loosely converting JSON/XML to RDF

2018-11-05 Thread Martynas Jusevičius
Transform XML to RDF/XML or TriX using XSLT: https://www.w3.org/TR/xslt20/ XSLT 3.0 can also transform JSON: https://www.w3.org/TR/xslt-30/#json On Mon, Nov 5, 2018 at 8:34 AM Laura Morales wrote: > > I have a mixed set of datasets in XML, JSON, and RDF formats. I would like to > convert all

Re: Loosely converting JSON/XML to RDF

2018-11-05 Thread Laura Morales
To: users@jena.apache.org Subject: Re: Loosely converting JSON/XML to RDF We have web services returning XML and JSON in our environment. We use https://github.com/RMLio/rmlmapper-java to map XML/JSON to RDF with satisfied results. Or course you need a valid URI for your XML or Json elements for e.g. in our

Re: Loosely converting JSON/XML to RDF

2018-11-05 Thread Christopher Johnson
Another approach is to use JSON-LD. A JSON document can be "converted" to RDF by adding a context and using the toRDF method[1] in one of the JSON-LD libraries. Defining the context is similar to what is done with RML, basically mapping data objects to structured vocabulary terms. If your XML

Re: Loosely converting JSON/XML to RDF

2018-11-04 Thread Alex To
We have web services returning XML and JSON in our environment. We use https://github.com/RMLio/rmlmapper-java to map XML/JSON to RDF with satisfied results. Or course you need a valid URI for your XML or Json elements for e.g. in our XML, if we have ... then we use RML to map it to

Loosely converting JSON/XML to RDF

2018-11-04 Thread Laura Morales
I have a mixed set of datasets in XML, JSON, and RDF formats. I would like to convert all the XML/JSON ones to RDF such that I can only use one query language/library to access all the data, instead of having three different ones. I'm also not interested in using any particular ontology or