Hi,
I tried to receive RDF data for certain DBpedia URIs from freebase, but 
it seems, that the links are broken, e.g:
<http://dbpedia.org/resource/Valeria_Golino> 
<http://www.w3.org/2002/07/owl#sameAs> 
<http://rdf.freebase.com/ns/m/06x4nd> .
curl -L  -I http://rdf.freebase.com/ns/m/06x4nd
returns:
HTTP/1.1 303 See Other
HTTP/1.0 301 Moved Permanently
Location: /view/en/valeria_golino
HTTP/1.0 200 OK
redirecting to the view not the data.

The data url seems to be:
curl -L  -I http://rdf.freebase.com/rdf/en.valeria_golino

I tried a unix approach:

head freebase_links.nt | cut -f3 -d '>' | sed 's/ <//' | xargs curl -L  
-I |  grep 'Location: /view/en/' > newuris.tmp
cat newuris.tmp  | sed 's/Location: 
\/view\/en\//http:\/\/rdf.freebase.com\/rdf\/en./'

But then I realized, that I didn't have the original uris to replace 
them in the file.

How where the Freebase links created in the first place? Does anyone 
have a script or an idea?
Regards,
Sebastian Hellmann

-- 
Dipl. Inf. Sebastian Hellmann
Department of Computer Science, University of Leipzig
Homepage: http://bis.informatik.uni-leipzig.de/SebastianHellmann
Research Group: http://aksw.org


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to