Prefixes unsupported in RDF::Reader using N-Triples?

Hello again.

I'm getting:

RDF::ReaderError (expected subject in #<File:/tmp/__temp_ntriples__.nt> line
1):

Where my triples are directly from DBPedia, i.e. they begin like:

@prefix dbpedia-owl:    <http://dbpedia.org/ontology/> .
@prefix dbpedia:        <http://dbpedia.org/resource/> .
dbpedia:Audio_Bullys    dbpedia-owl:recordLabel dbpedia:Source .
dbpedia:Turin_Brakes    dbpedia-owl:recordLabel dbpedia:Source .

etc.

Are @prefix statements not supported yet?

Thanks,

    Asaf
-- 
Asaf Bartov <asaf.bartov@gmail.com>

Received on Friday, 4 March 2011 11:14:46 UTC