-------- Forwarded Message --------
From: Ivan Mikhailov <imikhai...@openlinksw.com>
To: Jörg Schüppel <schor...@gmx.de>
Subject: Re: [Virtuoso-users] Loading NTriples to Virtuoso
List-Post: virtuoso-users@lists.sourceforge.net
Date: Sat, 24 Nov 2007 13:49:21 +0600

Jörg,

DB.DBA.TTLP() and DB.DBA.TTLP_MT() are for reading TURTLE and simple N3
files. Arguments are the same as for DB.DBA.RDF_LOAD_RDFXML() and
DB.DBA.RDF_LOAD_RDFXML_MT() . All these functions are described in same
subsection
http://docs.openlinksw.com/virtuoso/rdfapiandsql.html#rdfapi .

Best Regards,
Ivan Mikhailov
OpenLink Software

On Sat, 2007-11-24 at 01:35 +0100, Jörg Schüppel wrote:
> Hi,
> 
> >
> > It seems to make a significant difference if you fully qualify the stored
> > procedure name:
> >
> > db.dba.rdf_load_rdfxml(file_to_string('./foaf.rdf'),
> >     'http://pizza.local:8890/foaf.rdf',     
> >     'http://pizza.local:8890/foaf.rdf');
> >
> 
> that helped me so far. But there is another Problem now:
> Anywhere in the documentation i saw that this function can load NTriples  
> files too. Trying this im getting this error:
> *** Error 22007: [Virtuoso Driver][Virtuoso Server]XM033: XML parser  
> detected an error:
>          FATAL  : Non-whitespace character found instead of XML element
> at line 1 column 36 of 'http://test.org/test.nt'
> <http://test.org/resource/Test> <http://test.org/predicate/testlabel>  
> "Test".
> --------------------------------^
> 
> Is there another function for including nt files, or whats wrong now?
> 
> Regards,
> Jörg
>  
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to