Académique Documents
Professionnel Documents
Culture Documents
Raphaël Cazenave-Lévêque
27 février 2015
2 Le framework RDF-REST
3 Ma contribution
4 Conclusion
http://info.cern.ch/hypertext/WWW/TheProject.html
• Tim Berners-Lee
• 20 December 1990
• HTML et Hyperliens
• REpresentational
State Transfer (2000)
• Patron d’architecture
• URI
• Interface Uniforme
GET http://www.foo.org/user/42
PUT http://www.foo.org/user/42 {”givenName” : ”Douglas”}
DELETE http://www.foo.org/user/42
• Modèle de données
• Lecture/Ecriture ?
• LDP
(Linked Data Platform)
• GSP
(SPARQL Graph Store HTTP
Protocol)
{
"@context" : "http://schema.org",
"@type" : "EatAction",
"agent" : {
"@type" : "Person",
"name" : "Raphaël"
},
"object" : {
"@type" : "Product",
"@id" : "http://ex.org/cake/1234",
"name" : "Cake"
}
}
LoopBack (Node.js)
modèle de données ↔ interface REST
pas de RDF
• Asynchrone/Promises
• Etude d’une
bibliothèque
• CommonJS/AMD/UMD
• ES6 Harmony
Merci à
• Pierre-Antoine Champin,
• Michaël Mrissa
Crédits illustrations :
• http://www.w3.org/TR/2014/NOTE-rdf11-primer-20140225/example-graph-iris.jpg
• RDF-REST : A Unifying Framework for Web APIs and Linked Data par Pierre Antoine Champin
• http://rufblog.politicaloutreachmail.com/wp-content/uploads/2012/10/Digital-Marketing-Data- Silos-3.png
• https://strongloop.com/wp-content/uploads/2013/12/Loopback-slide-4c.jpg