Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

accessing rdf/xml file

9 views
Skip to first unread message

Aparna Agrawal

unread,
Jul 20, 2012, 3:10:35 AM7/20/12
to
hi
I'm a new prolog user. i'm using SWI- Prolog
I have a rdf/xml file and i need to query from that. I got to know that it xan be done by including

:-use_module(library(semweb/rdf_db)).

and then querying my file like

?- rdf_load('file.xml', [format(xml)]).
here the name of my file is file.xml.

but when I'am giving this query the error comes as follows

source_sink file.xml doesnt exist.

SO I need to know that where should I save my xml file so that the interpreter reads it.
Thanks in advance
0 new messages