Hi Hugh,

It worked like charm :)

DB.DBA.RDF_LOAD_RDFXML_MT(file_to_string_output('/tmp/val.owl'),'','
http://mytest.com#');

Done. -- 607708 msec.

Saludos

Gabriel



On Mon, Jun 25, 2012 at 11:58 AM, Hugh Williams <[email protected]>wrote:

> Hi Gabriel,
>
> The owl files are in RDF/XML format, so you need to use the Virtuoso
> DB.DBA.RDF_LOAD_RDFXML_MT() function for these are detailed at:
>
>
> http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFInsert#Loading%20RDF%20datasets%20into%20a%20Virtuoso%20Graph%20IRI
>
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.      //              http://www.openlinksw.com/
> Weblog   -- http://www.openlinksw.com/blogs/
> LinkedIn -- http://www.linkedin.com/company/openlink-software/
> Twitter  -- http://twitter.com/OpenLink
> Google+  -- http://plus.google.com/100570109519069333827/
> Facebook -- http://www.facebook.com/OpenLinkSoftware
> Universal Data Access, Integration, and Management Technology Providers
>
> On 25 Jun 2012, at 10:39, Gabriel Lucas wrote:
>
> > Hello,
> >
> > I´m trying to load some data into Virtuoso with DB.DBA.TTLP_MT command.
> > You can try yourself, I downloaded the files from
> http://workingontologist.org/Examples/index.html
> >
> >
> > With N3 files, all goes smoothly.
> > DB.DBA.TTLP_MT(file_to_string_output('/tmp/Product.n3'),'','
> http://myproduct.com#',16);
> > Done. -- 648 msec.
> >
> >
> > The problem comes when trying the same with an OWL file.
> > Then I am getting the following.
> > DB.DBA.TTLP_MT(file_to_string_output('/tmp/Product.n3'),'','
> http://myproduct.com#',16);
> >
> > *** Error 37000: [Virtuoso Driver][Virtuoso Server]SP029: TURTLE RDF
> loader, line 1: Invalid characters in angle-bracketed name; this error can
> be suppressed by parser flags at <?xml version="1.0"?>
> > at line 4 of Top-Level:
> > DB.DBA.TTLP_MT(file_to_string_output('/tmp/Product.owl'),'','
> http://myproduct.com#')
> >
> >
> > Does anyone have an idea of what could be the issue?
> >
> > Best regards
> >
> > Gabriel
> >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> > Virtuoso-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
>

Reply via email to