Utilizing JSON-LD for Evolvable RESTful Services

json linked data json ld n.w
1 / 5
Embed
Share

"Explore JSON-LD usage in creating RESTful services, supported by W3C, Google, and Facebook. Learn about compact and expanded forms of JSON-LD along with Turtle examples."

  • JSON-LD
  • RESTful
  • W3C
  • Google
  • Facebook

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. JSON Linked Data (JSON-LD) Notes from paper On Using JSON-LD to Create Evolvable RESTful Services by Lanthaler and Gutl 95-733 Internet Technologies 1

  2. Support W3C Recommendation 16 January 2014 Supported by Google and Facebook Supported by Google for Product and Review Rich Snippits (may be included in an HTML script tag) Returned by queries on Google s Knowledge graph. See: https://developers.google.com/knowledge-graph/ https://developers.google.com/knowledge- graph/reference/rest/v1/ 95-733 Internet Technologies 2

  3. Turtle Example 1 @prefix rdf: <http://www.w3.org/1999/02/22- rdf-syntax-ns#> . 2 @prefix foaf: <http://xmlns.com/foaf/0.1/> . 3 4 <http://me.markus-lanthaler.com> 5 rdf:type foaf:Person ; 6 foaf:title 7 "Dipl.Ing."@de , 8 "MSc"@en ; 9 foaf:name "Markus Lanthaler" ; 10 foaf:workplaceHomepage 11 <http://www.tugraz.at/> . 95-733 Internet Technologies 3

  4. JSON-LD Expanded form 1 [ { 2 "@id": "http://me.markus-lanthaler.com", 3 "@type":"http://xmlns.com/foaf/0.1/Person", 4 "http://xmlns.com/foaf/0.1/title": [ 5 {"@value":"Dipl.Ing.", "@language":"de"}, 6 {"@value":"MSc", "@language": "en"} 7 ], 8 "http://xmlns.com/foaf/0.1/name": 9 [ "Markus Lanthaler" ], 10 "http://xmlns.com/foaf/0.1/ workplaceHomepage": 11 [ { "@id": "http://www.tugraz.at/" } ] 12 } ] 95-733 Internet Technologies 4

  5. JSON-LD Compact Form 1 { 2 "@context": { 3 "foaf": "http://xmlns.com/foaf/0.1/", 4 "title": "foaf:title", 5 "name": "foaf:name", 6 "homepage": { 7 "@id": "foaf:workplaceHomepage", 8 "@type": "@id" 9 } 10 }, 11 "@id": "http://me.markus-lanthaler.com", 12 "@type": "foaf:Person", 13 "title": [ 14 {"@value":"Dipl.Ing.", "@language":"de"}, 15 {"@value":"MSc", "@language": "en"} 16 ], 17 "name": "Markus Lanthaler", 18 "homepage": "http://www.tugraz.at/" 19 } 95-733 Internet Technologies 5

More Related Content