[Mulgara-general] TQL and mulgara WAR
Chuck Borromeo
cborromeo3 at yahoo.com
Wed Sep 2 12:34:55 UTC 2009
Hi Paul,
In previous posts to the user group it seems like TQL is being phased out in favor of HTTP. Therefore, I should use HTTP instead of TQL. Don't worry about fixing the TQL code. Can you provide an example of using the POST to load an RDF file into a graph? I tried using this command, but I get a 400 error:
http://localhost:8899/sparql/?graph=http://www.ucdmc.ucdavis.edu/ctsc/UC_Davis_Biositemap_INF.rdf&default-graph-uri=http://sw.dbmi.pitt.edu/ctsa
I was able to use the POST command and load the RDF file into a graph called "http://www.ucdmc.ucdavis.edu/ctsc/UC_Davis_Biositemap_INF.rdf". However, I want to call my graph "http://sw.dbmi.pitt.edu/ctsa".
Also, can you provide an example of using the DELETE command to delete all the triples from a graph named http://sw.dbmi.pitt.edu/ctsa?
Thanks,
Chuck
----- Original Message ----
From: Paul Gearon <gearon at ieee.org>
To: Mulgara General <mulgara-general at mulgara.org>
Sent: Tuesday, September 1, 2009 3:27:29 PM
Subject: Re: [Mulgara-general] TQL and mulgara WAR
On Tue, Sep 1, 2009 at 3:00 PM, Chuck Borromeo<cborromeo3 at yahoo.com> wrote:
> Hello,
> I have been able to use TQL to load data into mulgara running on my local machine as a .jar file. Using my code, I can load RDF/XML files using TQL into the .jar mulgara instance. I am now attempting to move this process to a development server. I have deployed the mulgara war file to another machine. What is the rmi connection string used when mulgara is deployed as a .war? If I am using the .jar file the rmi connection is: "rmi://localhost/server1". The server1 corresponds to the directory structure on my machine: [installdir]\mulgara-2.1.2\dist\server1. I cannot find a connection string that works for the .war deployed server. There is a directory called /tmp/mulgara/server1/ and it appears to store the same information.
When deploying as a WAR file, I always access Mulgara through HTTP,
meaning that I use a POST command to
http://localhost:8080/sparql/?graph=graphURI
(http://mulgara.org/trac/wiki/RESTGraphs)
Because I'm so focused on HTTP, I haven't been checking RMI when I'm
using this configuration, so I could believe that it's broken. I'm
still setting up my new office, but if you can give me a couple of
days, and I ought to be able to fix it soon.
Regards,
Paul
_______________________________________________
Mulgara-general mailing list
Mulgara-general at mulgara.org
http://mulgara.org/mailman/listinfo/mulgara-general
More information about the Mulgara-general
mailing list