W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > March 2011

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

From: Ross Singer <rossfsinger@gmail.com>
Date: Fri, 4 Mar 2011 10:46:17 -0500
Message-ID: <AANLkTik40Da3EceO0aEMc=SzqHWJ+kht84Bq7dU=XiX6@mail.gmail.com>
To: Asaf Bartov <asaf.bartov@gmail.com>
Cc: public-rdf-ruby@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 4 March 2011 15:46:51 GMT