Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
JSON-LDfor RESTful ServicesMarkus LanthalerGraz University of Technology
Web APIs are becoming a must-have
- Layered system
Semaphobia!?
Linked Data Graph
Example          Jane Doe
http://example.com/persons/{id}{    "id": "mlanthaler",    "name": "Markus Lanthaler",    "title": {      "de": "Dipl.Ing....
{    "@id": "mlanthaler",    "name": "Markus Lanthaler",    "title": [      { "@language": "de", "@value": "Dipl.Ing." }, ...
Link: </context.jsonld>; rel="describedby"{    "id": "mlanthaler",    "name": "Markus Lanthaler",    "title_de": "Dipl.Ing...
@context                                         @id         @language                                    @list           ...
kTBS
Thank You© 2011, Markus Lanthaler. Some Rights Reserved.http://creativecommons.org/licenses/by-nc-sa/3.0/
Questions?Markus Lanthaler                     @MarkusLanthalerMarkus.Lanthaler@student.TUGraz.at   http://www.slideshare....
Image Credits(1)   http://www.flickr.com/photos/bestrated1/49371264/(2)   http://www.flickr.com/photos/johnmcnab/375909522...
JSON-LD for RESTful services
JSON-LD for RESTful services
JSON-LD for RESTful services
JSON-LD for RESTful services
JSON-LD for RESTful services
Nächste SlideShare
Wird geladen in …5
×

JSON-LD for RESTful services

21.288 Aufrufe

Veröffentlicht am

Presentation of the paper "On Using JSON-LD to Create Evolvable RESTful Services" at the 3rd International Workshop on RESTful Design (WS-REST 2012) at WWW2012 in Lyon, France

Veröffentlicht in: Technologie, Bildung, Business

JSON-LD for RESTful services

  1. 1. JSON-LDfor RESTful ServicesMarkus LanthalerGraz University of Technology
  2. 2. Web APIs are becoming a must-have
  3. 3. - Layered system
  4. 4. Semaphobia!?
  5. 5. Linked Data Graph
  6. 6. Example Jane Doe
  7. 7. http://example.com/persons/{id}{ "id": "mlanthaler", "name": "Markus Lanthaler", "title": { "de": "Dipl.Ing.", "en": "MSc" }, "workHomepage": "http://www.tugraz.at", "knows": [ { "id": "johndoe", "name": "John Doe" }, { "id": "janedoe", "name": "Jane Doe" } ]}
  8. 8. { "@id": "mlanthaler", "name": "Markus Lanthaler", "title": [ { "@language": "de", "@value": "Dipl.Ing." }, { "@language": "en", "@value": "MSc" } ], "workHomepage": "http://www.tugraz.at", "knows": [ { "@id": "johndoe", "name": "John Doe" }, { "@id": "janedoe", "name": "Jane Doe" } ]} { "@context": { "foaf": "http://xmlns.com/foaf/0.1/", "name": "foaf:name", "title": "foaf:title", "workHomepage": { "@id": "foaf:workplaceHomepage", "@type": "@id" }, "knows": "foaf:knows" } }
  9. 9. Link: </context.jsonld>; rel="describedby"{ "id": "mlanthaler", "name": "Markus Lanthaler", "title_de": "Dipl.Ing.", "title_en": "MSc", "homepage": "http://www.tugraz.at", "knows": [ { "id": "johndoe", "name": "John Doe" }, { "id": "janedoe", "name": "Jane Doe" } ]}{ "@context": { "foaf": "http://xmlns.com/foaf/0.1/", "name": "foaf:name", "title_de": { "@id": "foaf:title", "@language": "de" }, "title_en": { "@id": "foaf:title", "@language": "en" }, "homepage": { "@id": "foaf:workplaceHomepage", "@type": "@id" }, "knows": "foaf:knows", "id": "@id" }}
  10. 10. @context @id @language @list @set@value @type @container @graph
  11. 11. kTBS
  12. 12. Thank You© 2011, Markus Lanthaler. Some Rights Reserved.http://creativecommons.org/licenses/by-nc-sa/3.0/
  13. 13. Questions?Markus Lanthaler @MarkusLanthalerMarkus.Lanthaler@student.TUGraz.at http://www.slideshare.net/lanthaler
  14. 14. Image Credits(1) http://www.flickr.com/photos/bestrated1/49371264/(2) http://www.flickr.com/photos/johnmcnab/3759095224/(3) http://www.flickr.com/photos/alexdram/3095419858/(4) Adapted from: http://www.flickr.com/photos/elektronaut/243067805/(7) http://en.wikipedia.org/wiki/The_Scream

×