SlideShare a Scribd company logo
1 of 43
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
}
}
http://example.com/events/cake-apicon14
http://example.com/events/cake-apicon14
{
69 64: 63 61 6B 65 2D 61 70 69 63 6F 6E 31 34,
6E 61 6D 65: 43 41 4B 45 20 6C 69 76 65 20 69 6E 20 63 …
73 74 61 72 74 44 61 74 65: 32 30 31 34 2D 30 35 2D 32 …
65 6E 64 44 61 74 65: 32 30 31 34 2D 30 35 2D 32 38 54 …
6C 6F 63 61 74 69 6F 6E: {
6E 61 6D 65: 48 69 6C 74 6F 6E 20 53 61 6E 20 46 72 6…
61 64 64 72 65 73 73: 33 33 33 20 4F 27 46 61 72 72 6…
}
}
http://example.com/events/cake-apicon14
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
}
}
http://example.com/events/cake-apicon14
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
}
}
http://example.com/events/cake-apicon14
{
"@context": {
"name": "http://schema.org/name",
"startDate": "http://schema.org/startDate",
"endDate": "http://schema.org/endDate",
...
},
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
}
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/"
},
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
}
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/"
},
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
}
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/"
},
"@id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
}
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/"
},
"@id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": { "@id": "/bands/cake" }
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" }
},
"@id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": "/bands/cake"
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" },
"startDate": { "@type": "http://schema.org/DateTime" }
},
"@id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": "/bands/cake"
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" },
"startDate": { "@type": "DateTime" }
},
"@id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": "/bands/cake"
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" },
"startDate": { "@type": "DateTime" }
},
"@id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"@type": "Place",
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": "/bands/cake"
}
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" },
"startDate": { "@type": "DateTime" },
"type": "@type"
},
"@id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"type": "Place",
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": "/bands/cake"
}
http://example.com/events/cake-apicon14
{
"@context": "/contexts/event.jsonld",
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"type": "Place",
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": "/bands/cake"
}
http://example.com/events/cake-apicon14
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"type": "Place",
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": "/bands/cake"
}
http://example.com/events/cake-apicon14
HTTP/1.1 200 OK
Content-Type: application/json
Link: </contexts/event.jsonld>;
rel="http://www.w3.org/ns/json-ld#context";
type="application/ld+json"
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "2014-05-28T23:00-07",
"location": {
"type": "Place",
"name": "Hilton San Francisco Union Square",
"address": "333 O'Farrell St, San Francisco, CA 94102"
},
"performer": "/bands/cake"
}
<script type="application/ld+json">
...
</script>
http://example.com/events/
{
"@id": "/events/",
"@type": "Collection",
"member": [ ... ],
...
"operation": {
"@type": "http://schema.org/AddAction",
}
}
{
"@id": "Event",
"@type": "Class",
"supportedProperty": {
"property": "name",
"required": true
}
}
http://example.com/events/
{
"@id": "/events/",
"@type": "Collection",
"member": [ ... ],
...
"operation": {
"@type": "AddAction",
"method": "POST",
"expects": "Event"
}
}
{
"@id": "Event",
"@type": "Class",
"supportedProperty": {
"property": "name",
"required": true
}
}
http://example.com/events/california/
{
"@id": "/events/california/",
"@type": "Collection",
"member": [ ... ],
...
"operation": {
"@type": "AddAction",
"method": "POST",
"expects": "Event"
}
}
http://example.com/events/california/
{
"@id": "/events/california/",
"@type": "Collection",
"member": [ ... ],
...
}
{
"@type": "AddAction",
"method": "POST",
"expects": "Event"
}
{
"@id": "EventCollection",
"@type": "Class",
"subClassOf": "Collection",
"supportedOperation": {
"@type": "AddAction",
"method": "POST",
"expects": "Event"
}
}
http://example.com/events/california/
{
"@id": "/events/california/",
"@type": "EventCollection",
"member": [ ... ],
...
}
{
"@type": "AddAction",
"method": "POST",
"expects": "Event"
}
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra

More Related Content

What's hot

What's hot (20)

introduction about REST API
introduction about REST APIintroduction about REST API
introduction about REST API
 
Airflow를 이용한 데이터 Workflow 관리
Airflow를 이용한  데이터 Workflow 관리Airflow를 이용한  데이터 Workflow 관리
Airflow를 이용한 데이터 Workflow 관리
 
Tweaking the interactive grid
Tweaking the interactive gridTweaking the interactive grid
Tweaking the interactive grid
 
Why your Spark job is failing
Why your Spark job is failingWhy your Spark job is failing
Why your Spark job is failing
 
Spark shuffle introduction
Spark shuffle introductionSpark shuffle introduction
Spark shuffle introduction
 
OAuth2 - Introduction
OAuth2 - IntroductionOAuth2 - Introduction
OAuth2 - Introduction
 
Oracle APEX Performance
Oracle APEX PerformanceOracle APEX Performance
Oracle APEX Performance
 
JSON-LD and MongoDB
JSON-LD and MongoDBJSON-LD and MongoDB
JSON-LD and MongoDB
 
GraphQL
GraphQLGraphQL
GraphQL
 
Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1Introduction To Catalyst - Part 1
Introduction To Catalyst - Part 1
 
REST API Best (Recommended) Practices
REST API Best (Recommended) PracticesREST API Best (Recommended) Practices
REST API Best (Recommended) Practices
 
OAuth 2.0
OAuth 2.0OAuth 2.0
OAuth 2.0
 
Single Sign-On for APEX apps (Important: latest version on edocr!)
Single Sign-On for APEX apps (Important: latest version on edocr!)Single Sign-On for APEX apps (Important: latest version on edocr!)
Single Sign-On for APEX apps (Important: latest version on edocr!)
 
MPP vs Hadoop
MPP vs HadoopMPP vs Hadoop
MPP vs Hadoop
 
MongoDB .local Toronto 2019: Tips and Tricks for Effective Indexing
MongoDB .local Toronto 2019: Tips and Tricks for Effective IndexingMongoDB .local Toronto 2019: Tips and Tricks for Effective Indexing
MongoDB .local Toronto 2019: Tips and Tricks for Effective Indexing
 
A look under the hood at Apache Spark's API and engine evolutions
A look under the hood at Apache Spark's API and engine evolutionsA look under the hood at Apache Spark's API and engine evolutions
A look under the hood at Apache Spark's API and engine evolutions
 
Java SE 8 best practices
Java SE 8 best practicesJava SE 8 best practices
Java SE 8 best practices
 
Elasticsearch como gerenciar seus logs com logstash e kibana
Elasticsearch   como gerenciar seus logs com logstash e kibanaElasticsearch   como gerenciar seus logs com logstash e kibana
Elasticsearch como gerenciar seus logs com logstash e kibana
 
Sql query patterns, optimized
Sql query patterns, optimizedSql query patterns, optimized
Sql query patterns, optimized
 
confirm & alert
confirm & alertconfirm & alert
confirm & alert
 

Viewers also liked

第9回Symfony勉強会LT Symfony2 meets AngularJS #symfony_ja
第9回Symfony勉強会LT Symfony2 meets AngularJS #symfony_ja第9回Symfony勉強会LT Symfony2 meets AngularJS #symfony_ja
第9回Symfony勉強会LT Symfony2 meets AngularJS #symfony_ja
77web
 

Viewers also liked (12)

第9回Symfony勉強会LT Symfony2 meets AngularJS #symfony_ja
第9回Symfony勉強会LT Symfony2 meets AngularJS #symfony_ja第9回Symfony勉強会LT Symfony2 meets AngularJS #symfony_ja
第9回Symfony勉強会LT Symfony2 meets AngularJS #symfony_ja
 
Symfony 2.5について
Symfony 2.5についてSymfony 2.5について
Symfony 2.5について
 
Symfony Deployment with Capifony #symfony_ja
Symfony Deployment with Capifony #symfony_jaSymfony Deployment with Capifony #symfony_ja
Symfony Deployment with Capifony #symfony_ja
 
VagrantでSymfony開発
VagrantでSymfony開発VagrantでSymfony開発
VagrantでSymfony開発
 
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!
The Web 3.0 is just around the corner. Be prepared!
 
Symfony勉強会#9 form
Symfony勉強会#9 formSymfony勉強会#9 form
Symfony勉強会#9 form
 
Hydra: A Vocabulary for Hypermedia-Driven Web APIs
Hydra: A Vocabulary for Hypermedia-Driven Web APIsHydra: A Vocabulary for Hypermedia-Driven Web APIs
Hydra: A Vocabulary for Hypermedia-Driven Web APIs
 
Model Your Application Domain, Not Your JSON Structures
Model Your Application Domain, Not Your JSON StructuresModel Your Application Domain, Not Your JSON Structures
Model Your Application Domain, Not Your JSON Structures
 
管理画面のアクセスコントロール
管理画面のアクセスコントロール 管理画面のアクセスコントロール
管理画面のアクセスコントロール
 
Creating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with HydraCreating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with Hydra
 
From Strings to Things to a Web of Services
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
 
La imagen. Lectura de imagen fija. Comunicación Audiovisual. Fotografía.
La imagen. Lectura de imagen fija. Comunicación Audiovisual.  Fotografía.La imagen. Lectura de imagen fija. Comunicación Audiovisual.  Fotografía.
La imagen. Lectura de imagen fija. Comunicación Audiovisual. Fotografía.
 

More from 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...
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
Markus Lanthaler
 

More from Markus Lanthaler (6)

A Web of Things to Reduce Energy Wastage
A Web of Things to Reduce Energy WastageA Web of Things to Reduce Energy Wastage
A Web of Things to Reduce Energy Wastage
 
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...
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
 
SAPS - Semantic AtomPub-based Services
SAPS - Semantic AtomPub-based ServicesSAPS - Semantic AtomPub-based Services
SAPS - Semantic AtomPub-based Services
 
A Semantic Description Language for RESTful Data Services to Combat Semaphobia
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
 
Semantic Web Services: State of the Art
Semantic Web Services: State of the ArtSemantic Web Services: State of the Art
Semantic Web Services: State of the Art
 
Towards a RESTful Service Ecosystem
Towards a RESTful Service EcosystemTowards a RESTful Service Ecosystem
Towards a RESTful Service Ecosystem
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

A Deep Dive into JSON-LD and Hydra