wiki:VsparqlGUI
Last modified 7 years ago Last modified on 11/06/10 04:46:18

The vSPARQL GUI is a Flex application for creating vSPARQL view definitions. The GUI allows view definitions to be created in a dataflow-style. Individual subqueries in the view definition can be executed and their results inspected to determine if they are correct.

http://www.cs.washington.edu/homes/mar/organ_spatial_view_cropped.png

Building the vSPARQL GUI

The vSPARQL GUI is implemented in Flex. It is constructed using http://www.rogue-development.com/objectHandles.html and Degrafa http://www.degrafa.org/. A SWF file (created by Adobe Flex Builder) for the vSPARQL GUI is available here. [vsparql_oh_degrafa.swf]

The vSPARQL GUI connects to a vSPARQL service, which is a vSPARQL server running inside of Tomcat http://tomcat.apache.org/. The vSPARQL GUI sends queries to http://localhost:8080/VSparQL_Service/QueryHandler.

Running a vSPARQL Service

To get the GUI up and running, first install Tomcat http://tomcat.apache.org/. We have successfully used Tomcat 5. If not already set up, create a manager password by adding the following to the tomcat-users.xml file in the Tomcat installation.

<user name="user1" password="password1" roles="standard,manager" />

Start Tomcat.

Using Tomcat's http://localhost:8080/Manager/html interface, deploy a vSPARQL Service containing the vSPARQL GUI to Tomcat. A vSPARQL Service .war file can be used to start the service in Tomcat. (TODD: Can you explain how to create this?)