Your SlideShare is downloading. ×
Verdediging masterproef
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Verdediging masterproef

1,646
views

Published on

My thesis presentation on The DataTank

My thesis presentation on The DataTank

Published in: Education, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,646
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Een relationele interface voor Promotoren: Leen Brouns Tim De Pauw Bart Van Loon
  • 2. Kader 2009: ex-The DataTank 2010: iRail.be vs. NMBS 2011: data.gov.be & psi.belgium.be 2012: Open Knowledge Foundation vzw
  • 3. Kader
  • 4. Waarom beter wel?
  • 5. PHP5.3 data-adapter RESTful small data: 1 HTTP-request betekenis toevoegen
  • 6. RDF Resource Description Framework The Semantic Web
  • 7. Architectuur
  • 8. Genoeg? auto-documentatie statistieken semantiek feedback 5 sterren van open data errorhandling webformats REST
  • 9. Een relationele interface Voor data-consumenten: ● Selecteren ● Filteren ● Sorteren ● Limiteren ● Aggregeren Extra: semantiek
  • 10. SQL ● Enkel tabulaire data ● Geen semantiek SPARQL ● Enkel semantiek ● Drempel te hoog? HTSQL ● Enkel tabulaire data ● Interessante syntaxis SELECT X FROM Y WHERE A<B SELECT ?lib WHERE { ?lib is_a schema:library} http://.../library{name,count(department)}
  • 11. SPECTQL ● Geïnspireerd door HTSQL ● 5 acties via GET ● Extra laag boven REST ● Test-omgeving: http://hostname/spectql Spectql Provides an Easy and Concise The datatank Query Language
  • 12. data.iRail.be/spectql
  • 13. Architectuur
  • 14. Architectuur + SPECTQL
  • 15. Parser-generator Bison/Yacc ● Leest grammatica en genereert parser ● Geen bison-bibliotheek in eindproduct vereist ● PHP-support in alpha Lemon ● Vereist bibliotheek in eindproduct ● Gelijkaardige syntaxis grammatica ● Geen PHP-support Lime ● Lemon-clone voor PHP
  • 16. Grammatica %class spectql %left '&' %left '|' %left '+' '-' %left '*' '/' %left '>' EQ '<' '~' stmt = expression | expression ':' format . expression = resource/$ '?' filterlist { $3-> execute($$); } | resource | calc { $$ = $1->execute(); } . vertalen naar PHP $ lime spectql.lime > spectql.class.php
  • 17. SPECTQLTokenizer Verloop Router ParseTree SPECTQLController http://.../spectql/query /query SPECTQLParser /query array(tokens) Calc Link Select ... ... ... ... execute()
  • 18. Toekomst ● Semantiek in SPECTQL ● Sorteermechanismen: geo, string, int ... ● Meegeleverd met The DataTank 2.0 ○ maart 2012 ● The DataTank op semtech - 6 februari ● The DataTank gebruikt door ○ iRail: API v2.0 in maart ○ Apps For X - evenementen ○ FlatTurtle bvba ○ IBBT - MultiMediaLab ○ TeleTicketService ○ Nog veel meer...
  • 19. Bedankt Q&A
  • 20. Credits ● RDF Graph: CC BY NC SA - Peter Morville