Hi
I am trying to dump a graph to file as RDF (ttl or nt preferred)
I use the following code (according to some old notes)
create procedure
graph_to_ttl_file (in graph_iri varchar, in f_name varchar)
{
declare ses any;
ses := string_output();
DB.DBA.RDF_GRAPH_TO_TTL (graph_iri, ses);
string_to_file (f_name, ses, 0);
}
But when I run it I get a strange error
SQL> graph_to_ttl_file('http://my.graph.com
','/opt/dumps/dump_20140203.ttl');
*** Error 22023: [Virtuoso Driver][Virtuoso Server]SR460: Function
http_escape needs a varbinary or varchar argument 1 with length more than
zero, not an arg of type DB_NULL (204)
at line 1 of Top-Level:
graph_to_ttl_file('http://live.dbpedia.org','/opt/live/dump_20140203.ttl')
By looking at the function list
http://docs.openlinksw.com/virtuoso/functions.html
RDF_GRAPH_TO_TTL is missing, is it outdated? is there another option to
achieve this?
Thanks,
Dimtiris
--
Kontokostas Dimitris
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users