OpenLink AJAX Toolkit (OAT) Wiki
Documentation, live demonstrations and programmers' guides for the OpenLink AJAX Toolkit (OAT)
Advanced Search
Help?
Location: / Dashboard / OATWikiWeb / InteractiveSparqlQueryBuilderQueryTutorialDescribe

iSPARQL Querying Tutorial with SPARQL Query type "DESCRIBE".

This tutorial shows how to execute a SPARQL query with type "DESCRIBE".

Enter and execute a query

  1. Go to iSPARQL demo page.
  2. By default, user name demo and password demo should be shown in the Login form. Click OK.



  3. 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.



  4. In the Schemas pane, click the down-arrow and select the schema with URL http://rdfs.org/sioct/types#>. Then click the Import button.



  5. In the Schemas window under "unbound", you should now see sioct. Click the + icon to expand it.
  6. Now click on the + Concepts icon to expand it.



  7. Scroll down the shown list and drag-and-drop the Subject Node Weblog onto the QBE working Canvas.



  8. Select the empty node and, in the Variable field of the Node pane, enter the value: ?forum



  9. 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



  10. On the QBE tab, make the following changes:
    1. Select DESCRIBE for Type.
    2. Select 10 for Max Rows.
    3. From the Get Remote Data when Missing Locally drop-down menu, select Get Local Data Only.



  11. Click the Run Query button on the QBE toolbar.
  12. The Results tab will open, and show the results of our SPARQL Query execution with type "DESCRIBE" in RDF/XML format.



  13. To view the produced SPARQL query, click the Load Query to Advanced button. Note: you can also view the produced SPARQL Query in the QBE tab by clicking the Generate button on the QBE toolbar.
  14. The Advanced tab will open, with the produced SPARQL query with type "DESCRIBE" in the SPARQL Query text-area.



References

Powered By Virtuoso