How to extract RDF triples from XML file using an existing ontology?

I am trying to extract RDF triples from XML files by using an existing ontology. I am using Java, and can use XPath to extract data from XML and Jena to read and write RDF documents and ontologies. How can I extract the relevant triples from the XML according to the existing ontology?

5
задан Joshua Taylor 25 January 2014 в 13:37
поделиться