Knowledge Database
      by VTi
     A LinkedData store
Tom Klaasen

• Developer at        (http://10to1.be)
• Consultant to VTi
• Working on Knowledge Database
LinkedData

• Data
• Everything has a URI
• RDF
• HTTP
• Link with other datasources
Ruby
• Programming language
• ˚1993
• Made popular by Rails ~1995
• Object-oriented
• Dynamic typing (“scripting”)
• Duck ...
Rails

• Web application framework
• “Convention over configuration”
• OR mapping
• Model - View - Controller
Ruby and Rails


• Open Source
Architecture
Desktop PC




 Internet




  Server




   DB
OR Mapping


    Server




     DB
OR Mapping
         Person                 Production




                  people_prod
people                            ...
OR Mapping in Rails


• ActiveRecord
MVC
                          View


• Model
• View          Model


• Controller
                        Controller
Rails

• Model: ActiveRecord
• View: ActionView
• Controller: ActionController
How is this interesting?


• Replace the
  HTML view with
  an RDF view!
Code
ReST

• Service Oriented Architecture
• HTTP methods
• Simple!
ReST principles

• Everything has a URI
• Actions are defined via URIs
• Actions are executed with HTTP methods:
  GET, PUT...
Rails and ReST


• ActiveResource
LinkedData and Rails

• Data : ActiveRecord
• Everything has a URI: ReST
• HTTP : ReST
• RDF : MVC, writing plugin
• Link ...
VTi

• People
• Organisations
• Productions
• Documentation
VTi


• Existing database in MS SQL Server
• Migrated to PostgreSQL
VTi Migration


• Migration script in Ruby (+ ActiveRecord)
Migration opportunities
• Data cleaning
• Data restructuring
• Discovering new data structures:
 • Seasons
 • Genres
 •…
Seasons
State

• Basic RDF: automatically
• Mid-term future: plugins
• Near future:
 • add existing ontologies
 • enrichment with ...
Thank You

tom@10to1.be
Upcoming SlideShare
Loading in …5
×

VTi Knowledge Database: a LinkedData project

1,029 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,029
On SlideShare
0
From Embeds
0
Number of Embeds
21
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

VTi Knowledge Database: a LinkedData project

  1. 1. Knowledge Database by VTi A LinkedData store
  2. 2. Tom Klaasen • Developer at (http://10to1.be) • Consultant to VTi • Working on Knowledge Database
  3. 3. LinkedData • Data • Everything has a URI • RDF • HTTP • Link with other datasources
  4. 4. Ruby • Programming language • ˚1993 • Made popular by Rails ~1995 • Object-oriented • Dynamic typing (“scripting”) • Duck typing
  5. 5. Rails • Web application framework • “Convention over configuration” • OR mapping • Model - View - Controller
  6. 6. Ruby and Rails • Open Source
  7. 7. Architecture Desktop PC Internet Server DB
  8. 8. OR Mapping Server DB
  9. 9. OR Mapping Person Production people_prod people productions uctions
  10. 10. OR Mapping in Rails • ActiveRecord
  11. 11. MVC View • Model • View Model • Controller Controller
  12. 12. Rails • Model: ActiveRecord • View: ActionView • Controller: ActionController
  13. 13. How is this interesting? • Replace the HTML view with an RDF view!
  14. 14. Code
  15. 15. ReST • Service Oriented Architecture • HTTP methods • Simple!
  16. 16. ReST principles • Everything has a URI • Actions are defined via URIs • Actions are executed with HTTP methods: GET, PUT, POST, DELETE
  17. 17. Rails and ReST • ActiveResource
  18. 18. LinkedData and Rails • Data : ActiveRecord • Everything has a URI: ReST • HTTP : ReST • RDF : MVC, writing plugin • Link with other datasources: Enrichment
  19. 19. VTi • People • Organisations • Productions • Documentation
  20. 20. VTi • Existing database in MS SQL Server • Migrated to PostgreSQL
  21. 21. VTi Migration • Migration script in Ruby (+ ActiveRecord)
  22. 22. Migration opportunities • Data cleaning • Data restructuring • Discovering new data structures: • Seasons • Genres •…
  23. 23. Seasons
  24. 24. State • Basic RDF: automatically • Mid-term future: plugins • Near future: • add existing ontologies • enrichment with other datasources
  25. 25. Thank You tom@10to1.be

×