0
Twinkle: A SPARQL Query Tool Leigh Dodds, Oxford SWIG, March 2008 Photo Credit:  Glen Bowman
What Is It? A GUI for writing and running SPARQL queries
 
Data Sources Local Files Remote Files Jena Databases Any combination of these
SPARQL Endpoints Complete SPARQL Client Useful pre-configured sources, e.g.  DBPedia
But Wait, There’s More RDFS and OWL Inferencing Jena Rules Engine And any combination
 
Demonstration (Where It All Goes Wrong)
The Secret Sauce ARQ  SPARQL query engine The Jena  Assembler API
Jena Assembler API Declaratively describe how to build a Jena Model URIs, Databases Add default content Apply schemas, rea...
<ul><li>:periodicTable a ja:MemoryModel </li></ul><ul><li>; ja:content [ </li></ul><ul><li>ja:externalContent  </li></ul><...
<ul><li>:nlm ja:modelName &quot;nlm-data&quot; </li></ul><ul><li>; ja:connection :nlm-connection </li></ul><ul><li>; rdfs:...
<ul><li><http://dbpedia.org/sparql> a sources:Endpoint </li></ul><ul><li>; sources:defaultGraph &quot;http://dbpedia.org&q...
Where It All Goes etcconfig.n3 Describe (and label) models Prefix Mappings
Prefix Mappings Quickly add PREFIX statement to query Pre configured vocabularies Add your own…
Prefix Mappings :foaf a ja:PrefixMapping  ; rdfs:label &quot;FOAF&quot; ; ja:prefix &quot;foaf&quot; ; ja:namespace &quot;...
Demonstration (2)
… And Yet More ARQ  Function  &  Property  Library ARQ Extensions  (e.g. COUNT, GROUP BY)
Future Plans Documentation! SPARQL Endpoint Access Control Model Caching Syntax Highlighting More Eye Candy Move to Google...
Questions? Twinkle Homepage Annotated Screenshots http://www.slideshare.net/ldodds/twinkle-a-sparql-query-tool/
Upcoming SlideShare
Loading in...5
×

Twinkle: A SPARQL Query Tool

10,933

Published on

Introduction to Twinkle presented at an Oxon Swig meeting in March 2008

Published in: Technology, Education
6 Comments
2 Likes
Statistics
Notes
No Downloads
Views
Total Views
10,933
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
104
Comments
6
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "Twinkle: A SPARQL Query Tool"

  1. 1. Twinkle: A SPARQL Query Tool Leigh Dodds, Oxford SWIG, March 2008 Photo Credit: Glen Bowman
  2. 2. What Is It? A GUI for writing and running SPARQL queries
  3. 4. Data Sources Local Files Remote Files Jena Databases Any combination of these
  4. 5. SPARQL Endpoints Complete SPARQL Client Useful pre-configured sources, e.g. DBPedia
  5. 6. But Wait, There’s More RDFS and OWL Inferencing Jena Rules Engine And any combination
  6. 8. Demonstration (Where It All Goes Wrong)
  7. 9. The Secret Sauce ARQ SPARQL query engine The Jena Assembler API
  8. 10. Jena Assembler API Declaratively describe how to build a Jena Model URIs, Databases Add default content Apply schemas, reasoning
  9. 11. <ul><li>:periodicTable a ja:MemoryModel </li></ul><ul><li>; ja:content [ </li></ul><ul><li>ja:externalContent </li></ul><ul><li><http://www.daml.org/2003/01/periodictable/PeriodicTable.owl> </li></ul><ul><li>] </li></ul><ul><li>; rdfs:label &quot;Periodic Table&quot; </li></ul><ul><li>. </li></ul>Config Example
  10. 12. <ul><li>:nlm ja:modelName &quot;nlm-data&quot; </li></ul><ul><li>; ja:connection :nlm-connection </li></ul><ul><li>; rdfs:label &quot;NLM Data&quot; </li></ul><ul><li>. </li></ul><ul><li>:nlm-connection </li></ul><ul><li>ja:dbURL <jdbc:mysql://127.0.0.1:3306/facet> </li></ul><ul><li>; ja:dbClass &quot;com.mysql.jdbc.Driver&quot; </li></ul><ul><li>; ja:dbType &quot;MySQL&quot; </li></ul><ul><li>; ja:dbUser &quot;facet&quot; </li></ul><ul><li>; ja:dbPassword “*********&quot; </li></ul>Config Example (2)
  11. 13. <ul><li><http://dbpedia.org/sparql> a sources:Endpoint </li></ul><ul><li>; sources:defaultGraph &quot;http://dbpedia.org&quot; </li></ul><ul><li>; rdfs:label &quot;DBpedia.org&quot;. </li></ul><ul><li><http://www.rdfabout.com/sparql> a sources:Endpoint </li></ul><ul><li>; rdfs:label &quot;GovTrack.us&quot;. </li></ul>Config Example (3)
  12. 14. Where It All Goes etcconfig.n3 Describe (and label) models Prefix Mappings
  13. 15. Prefix Mappings Quickly add PREFIX statement to query Pre configured vocabularies Add your own…
  14. 16. Prefix Mappings :foaf a ja:PrefixMapping ; rdfs:label &quot;FOAF&quot; ; ja:prefix &quot;foaf&quot; ; ja:namespace &quot;http://xmlns.com/foaf/0.1/&quot; .
  15. 17. Demonstration (2)
  16. 18. … And Yet More ARQ Function & Property Library ARQ Extensions (e.g. COUNT, GROUP BY)
  17. 19. Future Plans Documentation! SPARQL Endpoint Access Control Model Caching Syntax Highlighting More Eye Candy Move to Google Code (Your Feature Here)
  18. 20. Questions? Twinkle Homepage Annotated Screenshots http://www.slideshare.net/ldodds/twinkle-a-sparql-query-tool/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×