SlideShare a Scribd company logo
5
Most read
12
Most read
13
Most read
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

More Related Content

PDF
Rego Deep Dive
KEY
JSON-LD: JSON for Linked Data
PDF
JSON-LD: JSON for the Social Web
PPTX
Model Your Application Domain, Not Your JSON Structures
PPTX
Hydra: A Vocabulary for Hypermedia-Driven Web APIs
PPTX
Building Next-Generation Web APIs with JSON-LD and Hydra
KEY
JSON-LD and MongoDB
PDF
FIWARE Training: JSON-LD and NGSI-LD
Rego Deep Dive
JSON-LD: JSON for Linked Data
JSON-LD: JSON for the Social Web
Model Your Application Domain, Not Your JSON Structures
Hydra: A Vocabulary for Hypermedia-Driven Web APIs
Building Next-Generation Web APIs with JSON-LD and Hydra
JSON-LD and MongoDB
FIWARE Training: JSON-LD and NGSI-LD

What's hot (20)

PDF
FIWARE Wednesday Webinars - Introduction to NGSI-LD
PDF
FIWARE Wednesday Webinars - Performing Big Data Analysis Using Cosmos With Sp...
PPTX
Angular Data Binding
PDF
Introduction to Smart Data Models
PDF
FIWARE Training: Introduction to Smart Data Models
PDF
FIWARE Training: NGSI-LD Advanced Operations
PDF
OAuth 2.0
PDF
FIWARE Training: NGSI-LD Introduction
PDF
FIWARE Training: IoT and Legacy
PDF
FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2
PDF
Session 5 - NGSI-LD Advanced Operations | Train the Trainers Program
PDF
JSON WEB TOKEN
PDF
OAuth2 and Spring Security
PPTX
MongoDB - Aggregation Pipeline
PDF
Creating a Context-Aware solution, Complex Event Processing with FIWARE Perseo
PDF
A short introduction to Canis Major
PDF
Data Modeling with NGSI, NGSI-LD
PDF
Actuation, Federation and Interoperability of Context Brokers
PDF
FIWARE Wednesday Webinars - NGSI-LD and Smart Data Models: Standard Access to...
PDF
An introduction to MongoDB
FIWARE Wednesday Webinars - Introduction to NGSI-LD
FIWARE Wednesday Webinars - Performing Big Data Analysis Using Cosmos With Sp...
Angular Data Binding
Introduction to Smart Data Models
FIWARE Training: Introduction to Smart Data Models
FIWARE Training: NGSI-LD Advanced Operations
OAuth 2.0
FIWARE Training: NGSI-LD Introduction
FIWARE Training: IoT and Legacy
FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2
Session 5 - NGSI-LD Advanced Operations | Train the Trainers Program
JSON WEB TOKEN
OAuth2 and Spring Security
MongoDB - Aggregation Pipeline
Creating a Context-Aware solution, Complex Event Processing with FIWARE Perseo
A short introduction to Canis Major
Data Modeling with NGSI, NGSI-LD
Actuation, Federation and Interoperability of Context Brokers
FIWARE Wednesday Webinars - NGSI-LD and Smart Data Models: Standard Access to...
An introduction to MongoDB
Ad

Similar to JSON-LD for RESTful services (15)

PDF
JSON-LD: Linked Data for Web Apps
PDF
A Semantic Description Language for RESTful Data Services to Combat Semaphobia
PDF
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
PDF
SmartData Webinar Slides JSON-LD
PDF
SPARQL and the Open Linked Data initiative
PDF
Jarrar: RDFa
PDF
Full-on Hypermedia APIs with Hydra
ODP
Graph Data -- RDF and Property Graphs
PDF
The Semantic Web Client Library - Consuming Linked Data in Your Applications
PDF
SPARQL and Linked Data
PPTX
Jarrar: RDFa
PDF
Linked Data in Use: Schema.org, JSON-LD and hypermedia APIs - Front in Bahia...
PDF
Structured Data: It's All about the Graph | Richard Wallis, Data Liberate
PDF
Structured Data: It's All About the Graph!
PPT
Ks2007 Semanticweb In Action
JSON-LD: Linked Data for Web Apps
A Semantic Description Language for RESTful Data Services to Combat Semaphobia
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
SmartData Webinar Slides JSON-LD
SPARQL and the Open Linked Data initiative
Jarrar: RDFa
Full-on Hypermedia APIs with Hydra
Graph Data -- RDF and Property Graphs
The Semantic Web Client Library - Consuming Linked Data in Your Applications
SPARQL and Linked Data
Jarrar: RDFa
Linked Data in Use: Schema.org, JSON-LD and hypermedia APIs - Front in Bahia...
Structured Data: It's All about the Graph | Richard Wallis, Data Liberate
Structured Data: It's All About the Graph!
Ks2007 Semanticweb In Action
Ad

More from Markus Lanthaler (12)

PDF
From Strings to Things to a Web of Services
PDF
The Web Is Changing — From Strings to Things
PDF
Why and How to Optimize Your Data Architecture for an Integrated Future
PDF
Creating Awesome Web APIs is a Breeze
PDF
A Deep Dive into JSON-LD and Hydra
PDF
Stop Reinventing the Wheel! Use Linked Data to Build Better APIs
PDF
The Web 3.0 is just around the corner. Be prepared!
PPTX
Creating 3rd Generation Web APIs with Hydra
PDF
A Web of Things to Reduce Energy Wastage
PDF
SAPS - Semantic AtomPub-based Services
PPTX
Semantic Web Services: State of the Art
PPTX
Towards a RESTful Service Ecosystem
From Strings to Things to a Web of Services
The Web Is Changing — From Strings to Things
Why and How to Optimize Your Data Architecture for an Integrated Future
Creating Awesome Web APIs is a Breeze
A Deep Dive into JSON-LD and Hydra
Stop Reinventing the Wheel! Use Linked Data to Build Better APIs
The Web 3.0 is just around the corner. Be prepared!
Creating 3rd Generation Web APIs with Hydra
A Web of Things to Reduce Energy Wastage
SAPS - Semantic AtomPub-based Services
Semantic Web Services: State of the Art
Towards a RESTful Service Ecosystem

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Modernizing your data center with Dell and AMD
PDF
Electronic commerce courselecture one. Pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPT
Teaching material agriculture food technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
KodekX | Application Modernization Development
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
A Presentation on Artificial Intelligence
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Modernizing your data center with Dell and AMD
Electronic commerce courselecture one. Pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Dropbox Q2 2025 Financial Results & Investor Presentation
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Teaching material agriculture food technology
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...
KodekX | Application Modernization Development
Machine learning based COVID-19 study performance prediction
NewMind AI Monthly Chronicles - July 2025
A Presentation on Artificial Intelligence

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