XML : How to generate an RDF/XML file from a Java program?

First of all, I'm very new to Semantic Web. So please bear with me if the terminology/concepts I use is incorrect.

I am able to retrieve classes, subclasses, datatype properties, object properties, domain and range from a SPARQL endpoint.

I'd like to create an RDF/XML file through a Java program from the fetched data.

I have looked all over the internet but couldn't find any helpful articles/code snippets.

Could someone please tell me how to generate an RDF/XML file through a Java program? Or if someone could provide me with the code, that would be great!

Thank you in advance!

No comments:

Post a Comment