JSON-LD 1.0 Yanan Zhang.

Slides:



Advertisements
Similar presentations
Requirements. UC&R: Phase Compliance model –RIF must define a compliance model that will identify required/optional features Default.
Advertisements

Steffen Staab 1WeST Web Science & Technologies University of Koblenz ▪ Landau, Germany Structured Data on the Web Introduction to.
RDF Tutorial.
Semantic Web Introduction
© Copyright IBM Corporation 2014 Getting started with Rational Engineering Lifecycle Manager queries Andy Lapping – Technical sales and solutions Joanne.
RDFa Lite. RDFa 1.1 Lite is a subset of RDFa 1.1 Five simple attributes: vocab, typeof, property, resource, and prefix Completely upwards compatible RDFa.
Sematic Web Microdata, Microformat and RDF Advanced Web-based Systems | Misbhauddin.
Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.
CSCI 572 Project Presentation Mohsen Taheriyan Semantic Search on FOAF profiles.
Semantic Search Jiawei Rong Authors Semantic Search, in Proc. Of WWW Author R. Guhua (IBM) Rob McCool (Stanford University) Eric Miller.
Semantic Web Bootcamp Dominic DiFranzo PhD Student/Research Assistant Rensselaer Polytechnic Institute Tetherless World Constellation.
Logics for Data and Knowledge Representation SPARQL Protocol and RDF Query Language (SPARQL) Feroz Farazi.
Semantic Web Series 1 Mohammad M. R. Cowdhury UniK, Kjeller.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
SPARQL All slides are adapted from the W3C Recommendation SPARQL Query Language for RDF Web link:
Avro Apache Course: Distributed class Student ID: AM Name: Azzaya Galbazar
IT533 Lectures Session Management in ASP.NET. Session Tracking 2 Personalization Personalization makes it possible for e-businesses to communicate effectively.
SPARQL Semantic Web - Spring 2008 Computer Engineering Department Sharif University of Technology.
Master Informatique 1 Semantic Technologies Part 11Direct Mapping Werner Nutt.
JSON-LD. JSON as an XML Alternative JSON is a light-weight alternative to XML for data- interchange JSON = JavaScript Object Notation – It’s really language.
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
Introduction to the Semantic Web and Linked Data
Understanding RDF. 2/30 What is RDF? Resource Description Framework is an XML-based language to describe resources. A common understanding of a resource.
Pete Johnston, Eduserv Foundation 16 April 2007 An Introduction to the DCMI Abstract Model JISC.
Web Service Exchange Protocols Preliminary Proposal ISO TC37 SC4 WG1 2 September 2013 Pisa, Italy.
Fedora Digital Object in a Nutshell Sandy Payette, Executive Director UK Fedora Training London January 22-23, 2009.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
Data Integrity & Indexes / Session 1/ 1 of 37 Session 1 Module 1: Introduction to Data Integrity Module 2: Introduction to Indexes.
An Introduction to RDFa QingXia Liu Contents What is RDFa? Why RDFa? Versions of RDFa An Example
What's New in RDF 1.1 Cambridge Semantic Web Gathering 9 April 2013
Neo4j: GRAPH DATABASE 27 March, 2017
Session: Towards systematically curating and integrating
4.01 How Web Pages Work.
DHTML.
4.01 How Web Pages Work.
Global Register Allocation Based on
Stanford University, Stanford, CA, USA
SPARQL.
Using E-Business Suite Attachments
Introduction to the C Language
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
XML QUESTIONS AND ANSWERS
Middleware independent Information Service
Physical Structure of GDB
JSON-LD.
NOSQL databases and Big Data Storage Systems
PDAP Query Language International Planetary Data Alliance
Analyzing and Securing Social Networks
Logics for Data and Knowledge Representation
Part of the Multilingual Web-LT Program
Instance Model Structure
Web services, WSDL, SOAP and UDDI
Entity-Relationship Model
CC La Web de Datos Primavera 2016 Lecture 2: RDF Model & Syntax
RDF 1.1 Concepts and Abstract Syntax
New Perspectives on XML
Presented by: Jacky Ma Date: 11 Dec 2001
Semantic Web Update W3C RDF, OWL Standards, Development and Applications Dave Beckett.
Semantic Markup for Semantic Web Tools:
RDA Community and linked data
RDFa: Embedding RDF Knowledge in HTML
JSON for Linked Data: a standard for serializing RDF using JSON
Resource Description Framework (RDF)
W3C Recommendation 17 December 2013 徐江
Logics for Data and Knowledge Representation
The Fat-Free Alternative to XML
Gregg Kellogg – Spec Ops
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
4.01 How Web Pages Work.
JSON-LD.
Presentation transcript:

JSON-LD 1.0 Yanan Zhang

A JSON-based Serialization for Linked Data JSON-LD 1.0 Processing Algorithms and API W3C Candidate Recommendation 10 September 2013

Introduction JSON is a lightweight, language-independent data interchange format.  EXAMPLE 1: Sample JSON document difficult to integrate  has no built-in support for hyperlinks Linked Data is a way to create a network of standards-based machine interpretable data across different documents and Web sites. EXAMPLE 2: Sample JSON-LD document using full IRIs instead of terms { "name": "Manu Sporny", "homepage": "http://manu.sporny.org/", "image": "http://manu.sporny.org/images/manu.png" } { "http://schema.org/name": "Manu Sporny", “http://schema.org/url”: { “@id”: “http://manu.sporny.org/” } "http://schema.org/image": { "@id": Http://manu.sporny.org/images/manu.png" } }

Features a universal identifier mechanism for JSON objects via the use of IRIs, a way to disambiguate keys shared among different JSON documents by mapping them to IRIs via a context, a mechanism in which a value in a JSON object may refer to a JSON object on a different site on the Web, the ability to annotate strings with their language, a way to associate datatypes with values such as dates and times, and a facility to express one or more directed graphs, such as a social network, in a single document.

Concepts The context Used to define the short-hand names that are used throughout a JSON-LD document, map terms to IRIs. Referencing a JSON-LD context { "@context": { "name": "http://schema.org/name", "image": { "@id": "http://schema.org/image", "@type": "@id"}, "homepage": { "@id": "http://schema.org/url", "@type": "@id"} } { "@context": "http://json-ld.org/contexts/person.jsonld", "name": "Manu Sporny", "homepage": "http://manu.sporny.org/", "image": "http://manu.sporny.org/images/manu.png" }

IRIs JSON object keys that have a term mapping in the active context expand to an IRI (only applies outside of the context definition). An IRI is generated for the string value specified using @id or @type. "homepage": { "@id": "http://example.com/" } "@type": "http://schema.org/Restaurant" An IRI is generated for the string value of any key for which there are coercion rules that contain a @type key that is set to a value of @id or @vocab. { "@context": { "name": "http://schema.org/name" , "image": { "@id": "http://schema.org/image", "@type": "@id"}, "homepage": { "@id": "http://schema.org/url", "@type": "@id"} } "name": "Manu Sporny", "homepage": "http://manu.sporny.org/" ,

Node Identifiers Base IRI @id : Used to uniquely identify things that are being described in the document with IRIs or blank node identifiers. Base IRI @base:null  will prevent relative IRIs to be expanded to absolute IRIs. RISK { "@context": { "@context": { ... "name": "http://schema.org/name" }, "@id": "http://me.markus-lanthaler.com/", "name": "Markus Lanthaler", } { "@context": { "@base": "http://example.com/document.jsonld" }, "@id": "", "label": "Just a simple document" }

Default Vocabulary Compact IRIs prefix:suffix Blank nodes "_:suffix" @vocab : Used to expand properties and values in @type with a common prefix IRI. Compact IRIs prefix:suffix Blank nodes "_:suffix" { "@context": { "@vocab": "http://schema.org/", "databaseId": null } "@id": "http://example.org/places#BrewEats", "@type": "Restaurant", "name": "Brew Eats" "databaseId": "23987520" ... } { "@context": { "foaf": "http://xmlns.com/foaf/0.1/" ... }, "@type": "foaf:Person" "foaf:name": "Dave Longley", }

Typed Values Embedding Node type / Value type { ... "@id": "http://example.org/posts#TripToWestVirginia", "@type": "http://schema.org/BlogPosting", <- This is a node type "modified": "@value": "2010-05-29T14:17:39+02:00", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" <- This is a value type } { ... "name": "Manu Sporny", "knows": { "@type": "Person", "name": "Gregg Kellogg", } }

Type Coercion RISK: Confusion related to context-sensitivity of @type

Interpreting JSON as JSON-LD reference a JSON-LD context document in an HTTP Link Header. rel="http://www.w3.org/ns/json-ld#context"; String Internationalization Sets and Lists { ... "@id": "http://example.org/people#joebob", "foaf:nick": { "@list": [ "joe", "bob", "jaybee" ] }, }

Reverse Properties Named Graphs

The following features are at risk and may be removed: Support for @base: null Confusion related to context-sensitivity of @type Lists of lists and partial list conversion from RDF Allow blank nodes to be used as properties

summary JSON-LD is a lightweight syntax to serialize Linked Data in JSON . A JSON-LD document serializes a generalized RDF Dataset, which is a collection of graphs that comprises exactly one default graph and zero or more named graphs. However, JSON-LD also extends the RDF data model to optionally allow JSON-LD to serialize Generalized RDF Datasets. It is primarily intended to be a way to use Linked Data in Web-based programming environments, to build interoperable Web services, and to store Linked Data in JSON-based storage engines.

Thanks!