[redland-dev] Error showing while compiling xml into sqlite using rdfproc

David Brooks d.brooks at auckland.ac.nz
Tue Mar 20 16:34:13 EDT 2012


Your database needs to be initialised -- use a "--new" flag on your 
command (see "man rdfproc").


Dave

On 21/03/12 7:41 AM, Baba Prasad wrote:
> Dear All,
>            I have created and parsing the xml database into sqlite database
> using bellow command.
>
>
> # rdfproc -s sqlite database_name parse file:/home/guest/Documents/sample.xml
>
>
> after firing the following command, the following big error message is
> generating. so please any one could help to get out of this problem.
>
>
> errror:
>
> rdfproc: Error - SQLite database database_name SQL exec 'SELECT 1 FROM
> triples WHERE subjectUri=-1 AND predicateUri=-1 AND objectUri=-1 LIMIT 1;'
> failed - no such table: triples (1)
> rdfproc: Error - SQLite database database_name SQL exec 'SELECT id FROM
> uris WHERE uri =
> 'file:/home/odtone/Documents/MIHF/odtone/odtone/app/miis_rdf_server/URL_TO_BE_ASSIGNED#ie_poa_subnet_info';'
> failed - no such table: uris (1)
> rdfproc: Error - SQLite database database_name SQL exec 'SELECT id FROM
> uris WHERE uri = 'URL_TO_BE_ASSIGNEDie_identifier';' failed - no such
> table: uris (1)
> rdfproc: Error - SQLite database database_name SQL exec 'SELECT id FROM
> literals WHERE text = '0x10000204' AND language IS NULL AND datatype IS
> NULL ;' failed - no such table: literals (1)
> rdfproc: Error - SQLite database database_name SQL exec 'SELECT 1 FROM
> triples WHERE subjectUri=-1 AND predicateUri=-1 AND objectLiteral=-1 LIMIT
> 1;' failed - no such table: triples (1)
>
>
>
>
>
> Best Regards
>     BaBu
>


More information about the redland-dev mailing list