JSON-LD for RESTful services

JSON-LD
for RESTful Services
Markus Lanthaler
Graz University of Technology
Web APIs are becoming a must-have
JSON-LD for RESTful services
JSON-LD for RESTful services
- Layered system
Semaphobia!?
Linked Data Graph
JSON-LD for RESTful services
JSON-LD for RESTful services
Example




          Jane Doe
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" }
    ]
}
{
    "@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"
                             }
                         }
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"
    }
}
@context
                                         @id




         @language                                    @list
                                               @set
@value
          @type                                  @container
                                @graph
kTBS
JSON-LD for RESTful services
Thank You



© 2011, Markus Lanthaler. Some Rights Reserved.
http://creativecommons.org/licenses/by-nc-sa/3.0/
Questions?




Markus Lanthaler                     @MarkusLanthaler
Markus.Lanthaler@student.TUGraz.at   http://www.slideshare.net/lanthaler
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
1 of 19

Recommended

Model Your Application Domain, Not Your JSON Structures by
Model Your Application Domain, Not Your JSON StructuresModel Your Application Domain, Not Your JSON Structures
Model Your Application Domain, Not Your JSON StructuresMarkus Lanthaler
29.2K views22 slides
JSON-LD and MongoDB by
JSON-LD and MongoDBJSON-LD and MongoDB
JSON-LD and MongoDBGregg Kellogg
34.2K views51 slides
JSON-LD: JSON for Linked Data by
JSON-LD: JSON for Linked DataJSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked DataGregg Kellogg
73.4K views50 slides
JSON-LD: JSON for the Social Web by
JSON-LD: JSON for the Social WebJSON-LD: JSON for the Social Web
JSON-LD: JSON for the Social WebGregg Kellogg
23K views11 slides
Hydra: A Vocabulary for Hypermedia-Driven Web APIs by
Hydra: A Vocabulary for Hypermedia-Driven Web APIsHydra: A Vocabulary for Hypermedia-Driven Web APIs
Hydra: A Vocabulary for Hypermedia-Driven Web APIsMarkus Lanthaler
27.5K views17 slides
Building Next-Generation Web APIs with JSON-LD and Hydra by
Building Next-Generation Web APIs with JSON-LD and HydraBuilding Next-Generation Web APIs with JSON-LD and Hydra
Building Next-Generation Web APIs with JSON-LD and HydraMarkus Lanthaler
42K views56 slides

More Related Content

What's hot

Session 2 - NGSI-LD primer & Smart Data Models | Train the Trainers Program by
Session 2 - NGSI-LD primer & Smart Data Models | Train the Trainers ProgramSession 2 - NGSI-LD primer & Smart Data Models | Train the Trainers Program
Session 2 - NGSI-LD primer & Smart Data Models | Train the Trainers ProgramFIWARE
301 views75 slides
FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2 by
FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2
FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2FIWARE
1.2K views21 slides
FIWARE Global Summit - NGSI-LD - NGSI with Linked Data by
FIWARE Global Summit - NGSI-LD - NGSI with Linked DataFIWARE Global Summit - NGSI-LD - NGSI with Linked Data
FIWARE Global Summit - NGSI-LD - NGSI with Linked DataFIWARE
2.6K views35 slides
FIWARE Wednesday Webinars - Introduction to NGSI-LD by
FIWARE Wednesday Webinars - Introduction to NGSI-LDFIWARE Wednesday Webinars - Introduction to NGSI-LD
FIWARE Wednesday Webinars - Introduction to NGSI-LDFIWARE
856 views21 slides
Rest and the hypermedia constraint by
Rest and the hypermedia constraintRest and the hypermedia constraint
Rest and the hypermedia constraintInviqa
7.7K views66 slides
Advanced Json by
Advanced JsonAdvanced Json
Advanced Jsonguestfd7d7c
6.9K views39 slides

What's hot(20)

Session 2 - NGSI-LD primer & Smart Data Models | Train the Trainers Program by FIWARE
Session 2 - NGSI-LD primer & Smart Data Models | Train the Trainers ProgramSession 2 - NGSI-LD primer & Smart Data Models | Train the Trainers Program
Session 2 - NGSI-LD primer & Smart Data Models | Train the Trainers Program
FIWARE301 views
FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2 by FIWARE
FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2
FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2
FIWARE1.2K views
FIWARE Global Summit - NGSI-LD - NGSI with Linked Data by FIWARE
FIWARE Global Summit - NGSI-LD - NGSI with Linked DataFIWARE Global Summit - NGSI-LD - NGSI with Linked Data
FIWARE Global Summit - NGSI-LD - NGSI with Linked Data
FIWARE2.6K views
FIWARE Wednesday Webinars - Introduction to NGSI-LD by FIWARE
FIWARE Wednesday Webinars - Introduction to NGSI-LDFIWARE Wednesday Webinars - Introduction to NGSI-LD
FIWARE Wednesday Webinars - Introduction to NGSI-LD
FIWARE856 views
Rest and the hypermedia constraint by Inviqa
Rest and the hypermedia constraintRest and the hypermedia constraint
Rest and the hypermedia constraint
Inviqa7.7K views
Advanced Json by guestfd7d7c
Advanced JsonAdvanced Json
Advanced Json
guestfd7d7c6.9K views
Session 5 - NGSI-LD Advanced Operations | Train the Trainers Program by FIWARE
Session 5 -  NGSI-LD Advanced Operations | Train the Trainers ProgramSession 5 -  NGSI-LD Advanced Operations | Train the Trainers Program
Session 5 - NGSI-LD Advanced Operations | Train the Trainers Program
FIWARE354 views
FIWARE Global Summit - The Scorpio NGSI-LD Broker: Features and Supported Arc... by FIWARE
FIWARE Global Summit - The Scorpio NGSI-LD Broker: Features and Supported Arc...FIWARE Global Summit - The Scorpio NGSI-LD Broker: Features and Supported Arc...
FIWARE Global Summit - The Scorpio NGSI-LD Broker: Features and Supported Arc...
FIWARE993 views
What is the best full text search engine for Python? by Andrii Soldatenko
What is the best full text search engine for Python?What is the best full text search engine for Python?
What is the best full text search engine for Python?
Andrii Soldatenko11.6K views
Orion Context Broker NGSI-v2 Overview for Developers That Already Know NGSI-v... by Fermin Galan
Orion Context Broker NGSI-v2 Overview for Developers That Already Know NGSI-v...Orion Context Broker NGSI-v2 Overview for Developers That Already Know NGSI-v...
Orion Context Broker NGSI-v2 Overview for Developers That Already Know NGSI-v...
Fermin Galan300 views
NGSIv1 を知っている開発者向けの NGSIv2 の概要 (Orion 3.2.0対応) by fisuda
NGSIv1 を知っている開発者向けの NGSIv2 の概要 (Orion 3.2.0対応)NGSIv1 を知っている開発者向けの NGSIv2 の概要 (Orion 3.2.0対応)
NGSIv1 を知っている開発者向けの NGSIv2 の概要 (Orion 3.2.0対応)
fisuda 504 views
Why and How to Optimize Your Data Architecture for an Integrated Future by Markus Lanthaler
Why and How to Optimize Your Data Architecture for an Integrated FutureWhy and How to Optimize Your Data Architecture for an Integrated Future
Why and How to Optimize Your Data Architecture for an Integrated Future
Markus Lanthaler13.7K views
FIWARE Wednesday Webinars - How to Design DataModels by FIWARE
FIWARE Wednesday Webinars - How to Design DataModelsFIWARE Wednesday Webinars - How to Design DataModels
FIWARE Wednesday Webinars - How to Design DataModels
FIWARE1.1K views
FIWARE Training: IoT and Legacy by FIWARE
FIWARE Training: IoT and LegacyFIWARE Training: IoT and Legacy
FIWARE Training: IoT and Legacy
FIWARE303 views

Similar to JSON-LD for RESTful services

JSON-LD: Linked Data for Web Apps by
JSON-LD: Linked Data for Web AppsJSON-LD: Linked Data for Web Apps
JSON-LD: Linked Data for Web AppsGregg Kellogg
3.4K views27 slides
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra... by
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...Markus Lanthaler
3.9K views29 slides
Beautiful REST+JSON APIs with Ion by
Beautiful REST+JSON APIs with IonBeautiful REST+JSON APIs with Ion
Beautiful REST+JSON APIs with IonStormpath
3.7K views126 slides
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs by
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIsJosef Petrák
617 views45 slides
A Semantic Description Language for RESTful Data Services to Combat Semaphobia by
A Semantic Description Language for RESTful Data Services to Combat SemaphobiaA Semantic Description Language for RESTful Data Services to Combat Semaphobia
A Semantic Description Language for RESTful Data Services to Combat SemaphobiaMarkus Lanthaler
3.8K views31 slides
Designing a beautiful REST json api by
Designing a beautiful REST json apiDesigning a beautiful REST json api
Designing a beautiful REST json api0x07de
196 views110 slides

Similar to JSON-LD for RESTful services(20)

JSON-LD: Linked Data for Web Apps by Gregg Kellogg
JSON-LD: Linked Data for Web AppsJSON-LD: Linked Data for Web Apps
JSON-LD: Linked Data for Web Apps
Gregg Kellogg3.4K views
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra... by Markus Lanthaler
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
Markus Lanthaler3.9K views
Beautiful REST+JSON APIs with Ion by Stormpath
Beautiful REST+JSON APIs with IonBeautiful REST+JSON APIs with Ion
Beautiful REST+JSON APIs with Ion
Stormpath3.7K views
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs by Josef Petrák
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
Josef Petrák617 views
A Semantic Description Language for RESTful Data Services to Combat Semaphobia by Markus Lanthaler
A Semantic Description Language for RESTful Data Services to Combat SemaphobiaA Semantic Description Language for RESTful Data Services to Combat Semaphobia
A Semantic Description Language for RESTful Data Services to Combat Semaphobia
Markus Lanthaler3.8K views
Designing a beautiful REST json api by 0x07de
Designing a beautiful REST json apiDesigning a beautiful REST json api
Designing a beautiful REST json api
0x07de196 views
HackMIT Lightning Talk by Matt Harris
HackMIT Lightning TalkHackMIT Lightning Talk
HackMIT Lightning Talk
Matt Harris1.8K views
ICONUK 2016: REST Assured, Freeing Your Domino Data Has Never Been That Easy! by Serdar Basegmez
ICONUK 2016: REST Assured, Freeing Your Domino Data Has Never Been That Easy!ICONUK 2016: REST Assured, Freeing Your Domino Data Has Never Been That Easy!
ICONUK 2016: REST Assured, Freeing Your Domino Data Has Never Been That Easy!
Serdar Basegmez462 views
Linked Data in Use: Schema.org, JSON-LD and hypermedia APIs - Front in Bahia... by Ícaro Medeiros
Linked Data in Use: Schema.org, JSON-LD and hypermedia APIs  - Front in Bahia...Linked Data in Use: Schema.org, JSON-LD and hypermedia APIs  - Front in Bahia...
Linked Data in Use: Schema.org, JSON-LD and hypermedia APIs - Front in Bahia...
Ícaro Medeiros3.2K views
LF_APIStrat17_Embracing JSON Schema by LF_APIStrat
LF_APIStrat17_Embracing JSON SchemaLF_APIStrat17_Embracing JSON Schema
LF_APIStrat17_Embracing JSON Schema
LF_APIStrat101 views
JSON-LD, Schema.org, and Structured data by Sante J. Achille
JSON-LD, Schema.org, and Structured dataJSON-LD, Schema.org, and Structured data
JSON-LD, Schema.org, and Structured data
Sante J. Achille966 views
The JSON REST API for WordPress by Taylor Lovett
The JSON REST API for WordPressThe JSON REST API for WordPress
The JSON REST API for WordPress
Taylor Lovett30.9K views
Semantic Web(Web 3.0) SPARQL by Daniel D.J. UM
Semantic Web(Web 3.0) SPARQLSemantic Web(Web 3.0) SPARQL
Semantic Web(Web 3.0) SPARQL
Daniel D.J. UM2.2K views
03 form-data by snopteck
03 form-data03 form-data
03 form-data
snopteck403 views
New approaches to hypertext and REST in a mobile-first world by Israel Shirk
New approaches to hypertext and REST in a mobile-first worldNew approaches to hypertext and REST in a mobile-first world
New approaches to hypertext and REST in a mobile-first world
Israel Shirk187 views
AMS, API, RAILS and a developer, a Love Story by João Moura
AMS, API, RAILS and a developer, a Love StoryAMS, API, RAILS and a developer, a Love Story
AMS, API, RAILS and a developer, a Love Story
João Moura648 views
Not Big Data, AnyData by bsidesaugusta
Not Big Data, AnyData Not Big Data, AnyData
Not Big Data, AnyData
bsidesaugusta1.7K views
JLIFF: Where we are, and where we're going by Chase Tingley
JLIFF: Where we are, and where we're goingJLIFF: Where we are, and where we're going
JLIFF: Where we are, and where we're going
Chase Tingley552 views
Hands On Spring Data by Eric Bottard
Hands On Spring DataHands On Spring Data
Hands On Spring Data
Eric Bottard1.6K views

More from Markus Lanthaler

From Strings to Things to a Web of Services by
From Strings to Things to a Web of ServicesFrom Strings to Things to a Web of Services
From Strings to Things to a Web of ServicesMarkus Lanthaler
3.5K views59 slides
Creating Awesome Web APIs is a Breeze by
Creating Awesome Web APIs is a BreezeCreating Awesome Web APIs is a Breeze
Creating Awesome Web APIs is a BreezeMarkus Lanthaler
16.4K views58 slides
A Deep Dive into JSON-LD and Hydra by
A Deep Dive into JSON-LD and HydraA Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and HydraMarkus Lanthaler
9.8K views43 slides
Stop Reinventing the Wheel! Use Linked Data to Build Better APIs by
Stop Reinventing the Wheel! Use Linked Data to Build Better APIsStop Reinventing the Wheel! Use Linked Data to Build Better APIs
Stop Reinventing the Wheel! Use Linked Data to Build Better APIsMarkus Lanthaler
11.1K views40 slides
The Web 3.0 is just around the corner. Be prepared! by
The Web 3.0 is just around the corner. Be prepared!The Web 3.0 is just around the corner. Be prepared!
The Web 3.0 is just around the corner. Be prepared!Markus Lanthaler
12.7K views35 slides
Full-on Hypermedia APIs with Hydra by
Full-on Hypermedia APIs with HydraFull-on Hypermedia APIs with Hydra
Full-on Hypermedia APIs with HydraMarkus Lanthaler
14.2K views32 slides

More from Markus Lanthaler(11)

From Strings to Things to a Web of Services by Markus Lanthaler
From Strings to Things to a Web of ServicesFrom Strings to Things to a Web of Services
From Strings to Things to a Web of Services
Markus Lanthaler3.5K views
Creating Awesome Web APIs is a Breeze by Markus Lanthaler
Creating Awesome Web APIs is a BreezeCreating Awesome Web APIs is a Breeze
Creating Awesome Web APIs is a Breeze
Markus Lanthaler16.4K views
A Deep Dive into JSON-LD and Hydra by Markus Lanthaler
A Deep Dive into JSON-LD and HydraA Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
Markus Lanthaler9.8K views
Stop Reinventing the Wheel! Use Linked Data to Build Better APIs by Markus Lanthaler
Stop Reinventing the Wheel! Use Linked Data to Build Better APIsStop Reinventing the Wheel! Use Linked Data to Build Better APIs
Stop Reinventing the Wheel! Use Linked Data to Build Better APIs
Markus Lanthaler11.1K views
The Web 3.0 is just around the corner. Be prepared! by Markus Lanthaler
The Web 3.0 is just around the corner. Be prepared!The Web 3.0 is just around the corner. Be prepared!
The Web 3.0 is just around the corner. Be prepared!
Markus Lanthaler12.7K views
Full-on Hypermedia APIs with Hydra by Markus Lanthaler
Full-on Hypermedia APIs with HydraFull-on Hypermedia APIs with Hydra
Full-on Hypermedia APIs with Hydra
Markus Lanthaler14.2K views
Creating 3rd Generation Web APIs with Hydra by Markus Lanthaler
Creating 3rd Generation Web APIs with HydraCreating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with Hydra
Markus Lanthaler12.8K views
A Web of Things to Reduce Energy Wastage by Markus Lanthaler
A Web of Things to Reduce Energy WastageA Web of Things to Reduce Energy Wastage
A Web of Things to Reduce Energy Wastage
Markus Lanthaler2.9K views
SAPS - Semantic AtomPub-based Services by Markus Lanthaler
SAPS - Semantic AtomPub-based ServicesSAPS - Semantic AtomPub-based Services
SAPS - Semantic AtomPub-based Services
Markus Lanthaler2.9K views
Semantic Web Services: State of the Art by Markus Lanthaler
Semantic Web Services: State of the ArtSemantic Web Services: State of the Art
Semantic Web Services: State of the Art
Markus Lanthaler2.8K views
Towards a RESTful Service Ecosystem by Markus Lanthaler
Towards a RESTful Service EcosystemTowards a RESTful Service Ecosystem
Towards a RESTful Service Ecosystem
Markus Lanthaler2.2K views

Recently uploaded

GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...James Anderson
33 views32 slides
20231123_Camunda Meetup Vienna.pdf by
20231123_Camunda Meetup Vienna.pdf20231123_Camunda Meetup Vienna.pdf
20231123_Camunda Meetup Vienna.pdfPhactum Softwareentwicklung GmbH
28 views73 slides
Piloting & Scaling Successfully With Microsoft Viva by
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft VivaRichard Harbridge
10 views160 slides
AMAZON PRODUCT RESEARCH.pdf by
AMAZON PRODUCT RESEARCH.pdfAMAZON PRODUCT RESEARCH.pdf
AMAZON PRODUCT RESEARCH.pdfJerikkLaureta
15 views13 slides
DALI Basics Course 2023 by
DALI Basics Course  2023DALI Basics Course  2023
DALI Basics Course 2023Ivory Egg
14 views12 slides
virtual reality.pptx by
virtual reality.pptxvirtual reality.pptx
virtual reality.pptxG036GaikwadSnehal
11 views15 slides

Recently uploaded(20)

GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson33 views
Piloting & Scaling Successfully With Microsoft Viva by Richard Harbridge
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft Viva
AMAZON PRODUCT RESEARCH.pdf by JerikkLaureta
AMAZON PRODUCT RESEARCH.pdfAMAZON PRODUCT RESEARCH.pdf
AMAZON PRODUCT RESEARCH.pdf
JerikkLaureta15 views
DALI Basics Course 2023 by Ivory Egg
DALI Basics Course  2023DALI Basics Course  2023
DALI Basics Course 2023
Ivory Egg14 views
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive by Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Case Study Copenhagen Energy and Business Central.pdf by Aitana
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdf
Aitana12 views
Empathic Computing: Delivering the Potential of the Metaverse by Mark Billinghurst
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the Metaverse
Mark Billinghurst470 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman27 views
From chaos to control: Managing migrations and Microsoft 365 with ShareGate! by sammart93
From chaos to control: Managing migrations and Microsoft 365 with ShareGate!From chaos to control: Managing migrations and Microsoft 365 with ShareGate!
From chaos to control: Managing migrations and Microsoft 365 with ShareGate!
sammart939 views
Voice Logger - Telephony Integration Solution at Aegis by Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma17 views
Transcript: The Details of Description Techniques tips and tangents on altern... by BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada130 views
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb12 views

JSON-LD for RESTful services

  • 1. JSON-LD for RESTful Services Markus Lanthaler Graz University of Technology
  • 2. Web APIs are becoming a must-have
  • 10. Example Jane Doe
  • 11. 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" } ] }
  • 12. { "@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" } }
  • 13. 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" } }
  • 14. @context @id @language @list @set @value @type @container @graph
  • 15. kTBS
  • 17. Thank You © 2011, Markus Lanthaler. Some Rights Reserved. http://creativecommons.org/licenses/by-nc-sa/3.0/
  • 18. Questions? Markus Lanthaler @MarkusLanthaler Markus.Lanthaler@student.TUGraz.at http://www.slideshare.net/lanthaler
  • 19. 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