Thank you! I was completely unaware of this tool. I will definitely try it out! Do you have any links for their RML-Editor? They show screenshots and screencasts on the website but no source code to download.
Sent: Monday, November 05, 2018 at 8:54 AM From: "Alex To" <[email protected]> To: [email protected] 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 XML, if we have <Student id="...">...</Student> then we use RML to map it to http://ourdomain.com/resources/students/[http://ourdomain.com/resources/students/]{id} rdfs:type http://ourdomain.com/ont/Student[http://ourdomain.com/ont/Student] You can define your own URI generation scheme whatever works for you You can read more about RDF Mapping Language (RML) from W3C website. Regards On Mon, 5 Nov 2018 at 6:34 pm, Laura Morales <[email protected]> wrote: > 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 > vocabulary for the conversion, so anything will work as long as I can make > the conversion. > What would be an appropriate strategy for this? Since RDF requires > absolute IRIs, would it be a good idea for example to convert all > properties to > http://example.org/property-name-1[http://example.org/property-name-1], > http://example.org/property-name-2[http://example.org/property-name-2], ...? > And maybe use UUIDs for nodes? > Or is there a better way of doing this? >
