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

The ntriples format doesn't support @prefixes, does it?

-Ross.

On Fri, Mar 4, 2011 at 6:13 AM, Asaf Bartov <asaf.bartov@gmail.com> wrote:
> 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 15:46:50 UTC