W3C home > Mailing lists > Public > public-lod@w3.org > March 2009

Re: Parsing Freebase RDF

From: Joshua Tauberer <jt@occams.info>
Date: Thu, 12 Mar 2009 08:32:18 -0400
Message-ID: <49B900D2.8020104@occams.info>
To: Seo Sanghyeon <sanxiyn@gmail.com>
CC: public-lod@w3.org
Seo Sanghyeon wrote:
> Hello, new to the list,
> 
> I am trying to figure out how to use Freebase RDF service.
> (See http://blog.freebase.com/2008/10/30/introducing_the_rdf_service/)
> 
> $ curl -L http://rdf.freebase.com/ns/en.blade_runner -o en.blade_runner
> $ rdfproc freebase parse en.blade_runner turtle
> 
> It is Turtle, right? Above errors with:
> 
> rdfproc: Parsing URI
> file:///home/tinuviel/devel/freebase/en.blade_runner with turtle
> parser
> rdfproc: Error - URI
> file:///home/tinuviel/devel/freebase/en.blade_runner:2: The namespace
> prefix in "http:" was not declared.
> URI file:///home/tinuviel/devel/freebase/en.blade_runner:2 raptor
> fatal error - turtle_qname_to_uri failed
> rdfproc: Error - URI
> file:///home/tinuviel/devel/freebase/en.blade_runner:2: syntax error
> rdfproc: Failed to parse into the graph
> rdfproc: The parsing returned 2 errors and 0 warnings
> 
> Help?

Their output is invalid. It's missing angle brackets around the @prefix 
URIs.

-- 
- Josh Tauberer

http://razor.occams.info

"Yields falsehood when preceded by its quotation!  Yields
falsehood when preceded by its quotation!" Achilles to
Tortoise (in "Godel, Escher, Bach" by Douglas Hofstadter)
Received on Thursday, 12 March 2009 12:32:55 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:20 UTC