On 20/07/15 10:48, Roshan Bharath Das wrote:
Hello,
How can I fetch linked data from the web?
I tried the below. but it didn’t work.
What happened?
Model model = ModelFactory.createDefaultModel();
model.read(“http://URLtoLinkedData.com <http://urltolinkeddata.com/>”);
Best Regards,
Roshan
That's how it works IF the URL responds to the HTTP request with
adequate content headers. And you're not getting some local proxy
error. And you're using a reasonably recent copy of Jena with all it's
libraries.
Andy