On 12 Apr 2012, at 20:26, Matúš Novotný wrote:

> Hello,
> I need to read an RDF file from
> http://www.cidoc-crm.org/rdfs/cidoc-crm .


> //Doees not work:
> String path = "http://www.cidoc-crm.org/rdfs/cidoc-crm";;

This looks broken to me:

http://www.cidoc-crm.org/rdfs/cidoc-crm
301 ->  http://www.cidoc-crm.org/rdfs/cidoc-crm/

(which is fair enough)

http://www.cidoc-crm.org/rdfs/cidoc-crm/
200
<html>
<head>
<meta HTTP-EQUIV="REFRESH" content="0; url=../5.0.4/cidoc-crm">
</head>
</html>

Ugh...

> It is important for me to read from generic link, please If you could
> help me I will be very grateful.

Looks to me that the problem is at the cidoc end. It's simulating a redirect, 
rather than actually redirecting :-(

You could work around this using the location manager, I suppose. [1] 

Damian

[1] <http://incubator.apache.org/jena/documentation/notes/file-manager.html>

Reply via email to