Hello,

I am getting the error "com.hp.hpl.jena.shared.NoReaderForLangException: 
JSON-LD”
Probably because I am using an older version of Jena.

Best Regards,
Roshan


> On 20 Jul 2015, at 15:17, Andy Seaborne <[email protected]> wrote:
> 
> 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
> 
> 

Reply via email to