InteractiveSparqlQueryBuilderBasicTutorial1
Basic iSPARQL Tutorial with query built from a blank canvas and pre-typed Nodes
This tutorial contains Initial Steps assuming a query is being built from a blank canvas and you want the Nodes to be pre-typed (i.e., you will drag from the schema window).
- Go to iSPARQL demo page.
- By default, user name demo and password demo should be shown in the Login form.
Click OK .
- You will now see the iSPARQL home page, with QBE tab open and default graph elements on the Canvas.
Click the Clear Pane icon on the toolbar to empty the Canvas.
- Change the Data Source URI field value on the QBE tab to the Graph of the database against which you want to execute your query, i.e., for this example -- http://demo.openlinksw.com/dataspace
- Go to the Schema Pane.
- Import the Schema that contain the Terms to be used in your Graph Pattern.
For this example, import the FOAF schema, http://xmlns.com/foaf/0.1/
- Click on the imported schema Concept item + icon to expand it.
- Drag a Subject Node , e.g., Person , onto the Canvas.
- Select the node with value ? and in the Node pane, change the Variable field value to: ?s
- Select the Add mode icon from the QBE Navigation bar, and drag an Object Node on to the Canvas.
- In the Node pane, enter the Variable value: ?pname
- Select the Connector icon from the QBE Navigation bar and connect the node ?s with node ?pname .
- Click on the FOAF schema Properties item + icon to expand it.
- Drag an Attribute (A) or Relationship (R) property onto the connector between the nodes ?s and ?pname . For example, drag the attribute name .
- Click the Run Query button.
- You should see the results found by the query execution.
- To view the generated query, click the Generate button.
CategorySPARQL? CategoryRDF? CategoryOpenSource? CategoryOAT? CategoryDocumentation? CategoryWebSite? CategoryTutorial?