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

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

From: Asaf Bartov <asaf.bartov@gmail.com>
Date: Fri, 4 Mar 2011 13:13:42 +0200
Message-ID: <AANLkTi=a-zeOSmpbAyqG22z1Q_p_Bh0oCAVfftF1soUc@mail.gmail.com>
To: public-rdf-ruby@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 4 March 2011 11:14:47 GMT