Egon Willighagen wrote:
Hi all,
I am trying to load a RDF document (made with a PHP script from a
MySQL database) into Virtuoso with isql, but running into this
exception:
SQL> DB.DBA.RDF_LOAD_RDFXML_MT(file_to_string_output('/tmp/compounds.rdf',
'http://pele.farmbio.uu.se/chembl');
*** Error 37000: [Virtuoso Driver][Virtuoso Server]SQ074: Line 1: syntax error
at line 4 of Top-Level:
DB.DBA.RDF_LOAD_RDFXML_MT(file_to_string_output('/tmp/compounds.rdf',
'http://pele.farmbio.uu.se/chembl')
I have run it through 'xmllint -sax -noout' and there are least no
well-formedness problems... nor can I find empty elements or missing
resource IDs...
Can you share some of the content of this compounds.rdf file please?
Amongst other checks, you could try running it through rapper as well - see if
you can convert it to ntriples or xml-abbrev serializations, perhaps.
HTH,
~Tim
--
Tim Haynes
Product Development Consultant
OpenLink Software
<http://www.openlinksw.com/>
<http://twitter.com/openlink>