Java code for Converting string message into Jena model
问题 I have a string message from an AMQP message broker that consists of RDF statements. I want to covert it into a Jena model using Java and then merge the converted model with another one into single model. How can I do this? 回答1: This can be divided into three logical steps. Some of these, you may have already done: Isolate the RDF statements from non-rdf text Identify the syntax used for the RDF (can be part of #1) Parse the resulting string into an Apache Jena Model . As the first two are