What's New in RDF 1.1

Similar documents
Chapter 13: Advanced topic 3 Web 3.0

Information Network I Web 3.0. Youki Kadobayashi NAIST

Implementing and extending SPARQL queries over DLVHEX

Web 3.0 Overview: Interoperability in the Web dimension (1) Web 3.0 Overview: Interoperability in the Web dimension (2) Metadata

RDF Next Version. Ivan Herman and Sandro Hawke W3C

Introduction to Linked Data

RDF and RDF Schema. Resource Description Framework

CS Knowledge Representation and Reasoning (for the Semantic Web)

From the Web to the Semantic Web: RDF and RDF Schema

Descriptions. Robert Grimm New York University

Descriptions. Robert Grimm New York University

KNOWLEDGE GRAPHS. Lecture 2: Encoding Graphs with RDF. TU Dresden, 23th Oct Markus Krötzsch Knowledge-Based Systems

Semantic Web Tools. Federico Chesani 18 Febbraio 2010

Knowledge Representation for the Semantic Web

O N T O P E D I A. The Identity of Everything. Subject Identity. Steve Pepper. INF5909,

Semantic Web Engineering

RESOURCES DESCRIPTION FRAMEWORK: RDF

Semantic Web Technologies

KNOWLEDGE GRAPHS. Lecture 3: Modelling in RDF/Introduction to SPARQL. TU Dresden, 30th Oct Markus Krötzsch Knowledge-Based Systems

Processing SparQL Queries in an Object-Oriented Mediator

Semantic Days 2011 Tutorial Semantic Web Technologies

Semantic Web In Depth: Resource Description Framework. Dr Nicholas Gibbins 32/4037

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29

BUILDING THE SEMANTIC WEB

Linked Data: What Now? Maine Library Association 2017

Semantic Web Fundamentals

Web 2.0 Lecture 8: Resource Description Framework

INF3580/4580 Semantic Technologies Spring 2015

SEMANTIC WEB 03 RDF DATA MODEL RESOURCE DESCRIPTION FRAMEWORK IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD

Today s Plan. INF3580 Semantic Technologies Spring RDF on the Web. Outline. Lecture 13: Publishing RDF Data on the Web.

Semantics. Matthew J. Graham CACR. Methods of Computational Science Caltech, 2011 May 10. matthew graham

Is Linked Data the future of data integration in the enterprise?

Flat triples approach to RDF graphs in JSON

RDF /RDF-S Providing Framework Support to OWL Ontologies

Semantic Web Information Management

JSON-LD and MongoDB. Gregg Kellogg. Powering Linked Web Monday, August 20, 12

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3

RDF: Resource Description Failures and Linked Data Letdowns

Welcome to INFO216: Advanced Modelling

RDF AND SPARQL. Part I: Basics of RDF. Dresden, August Sebastian Rudolph ICCL Summer School

COMPUTER AND INFORMATION SCIENCE JENA DB. Group Abhishek Kumar Harshvardhan Singh Abhisek Mohanty Suhas Tumkur Chandrashekhara

Semantic Web and Python Concepts to Application development

Ivan Herman. F2F Meeting of the W3C Business Group on Oil, Gas, and Chemicals Houston, February 13, 2012

Which Of The Following Is Not One Of The Built-in Data Types Of Xml Schema Definition

RDF. Mario Arrigoni Neri

Semantic Web Fundamentals

Building Blocks of Linked Data

COMP20008 Elements of Data Processing. Week 1: Lecture 2. Data format and storage

Semantic Web Update W3C RDF, OWL Standards, Development and Applications. Dave Beckett

RDF. Charlie Abela Department of Artificial Intelligence

XML and Semantic Web Technologies. III. Semantic Web / 1. Ressource Description Framework (RDF)

MarkLogic Server. Semantics Developer s Guide. MarkLogic 9 May, Copyright 2018 MarkLogic Corporation. All rights reserved.

Assignment 11 (NF) - Repetition

Web Science & Technologies University of Koblenz Landau, Germany RDF. Steffen Staab. Semantic Web

Interoperability of Protégé using RDF(S) as Interchange Language

Semantic Web Publishing. Dr Nicholas Gibbins 32/4037

Semantic Technologies and CDISC Standards. Frederik Malfait, Information Architect, IMOS Consulting Scott Bahlavooni, Independent

Linked data and its role in the semantic web. Dave Reynolds, Epimorphics

Chrome if I want to. What that should do, is have my specifications run against four different instances of Chrome, in parallel.

Linking Data with RDF

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology.

Contents. RDF Resource Description Framework. A Graph Model for KR

Welcome to INFO216: Advanced Modelling

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras

Introducing Linked Data

Today s Plan. 1 Repetition: RDF. 2 Jena: Basic Datastructures. 3 Jena: Inspecting Models. 4 Jena: I/O. 5 Example. 6 Jena: ModelFactory and ModelMaker

Microdata and schema.org

Semantic Web Technologies: RDF + RDFS

Using RDF to Model the Structure and Process of Systems

Linked Data and RDF. COMP60421 Sean Bechhofer

Shape Constraint Language

RDF AND SPARQL. Part III: Semantics of RDF(S) Dresden, August Sebastian Rudolph ICCL Summer School

Library of Congress BIBFRAME Pilot. NOTSL Fall Meeting October 30, 2015

Multi-agent and Semantic Web Systems: Linked Open Data

Resilient Linked Data. Dave Reynolds, Epimorphics

Today s Plan. 1 Repetition: RDF. 2 Jena: Basic Datastructures. 3 Jena: Inspecting Models. 4 Jena: I/O. 5 Example. 6 Jena: ModelFactory and ModelMaker

Table of Contents. iii

Formal Methods of Software Design, Eric Hehner, segment 24 page 1 out of 5

Second W3C Web and TV Workshop 8-9 February 2011 Gregg Kellogg. assoc.com

The Semantic Web Revisited. Nigel Shadbolt Tim Berners-Lee Wendy Hall

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

SPARQL ME-E4300 Semantic Web,

ISA Action 1.17: A Reusable INSPIRE Reference Platform (ARE3NA)

Semantic Web and Linked Data

W3C WoT Face-to-Face Meeting. Bundang, Korea, July 2018

Semantic Web Technologies: Assignment 1. Axel Polleres Siemens AG Österreich

JENA: A Java API for Ontology Management

> Semantic Web Use Cases and Case Studies

Querying the Semantic Web

RDF for Life Sciences

Linked Data and RDF. COMP60421 Sean Bechhofer

Big Data 14. Graph Databases

The Atom Project. Tim Bray, Sun Microsystems Paul Hoffman, IMC

Designing a self-medication application on Semantic Web technologies. Olivier Curé UPEM LIGM, France

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

KNOWLEDGE GRAPHS. Lecture 4: Introduction to SPARQL. TU Dresden, 6th Nov Markus Krötzsch Knowledge-Based Systems

A Technique for Automatic Construction of Ontology from Existing Database to Facilitate Semantic Web

Resource Description Framework (RDF)

Part II. Representation of Meta-Information

Transcription:

What's New in RDF 1.1 SemTechBiz June 2013 http://www.w3.org/2013/talks/0603-rdf11 Sandro Hawke, W3C Staff sandro@w3.org @sandhawke

Overview 1. Stability and Interoperability 2. Non-XML Syntaxes Turtle (and friends) JSON-LD 3. Datasets Quads, Named Graphs, Reification,... 4. Improved data types 5. Miscellaneous 6. Q & A

Part 1: Standards RDF developed 1997-1999 RDF rearticulated 2001-2004 Added datatypes Abstract model, multiple syntaxes in theory SPARQL 1.0 2004-2008 SPARQL 1.1 2009-2013 RDF 1.1 Working Group: 2011-2013

Chartering RDF Next Steps (Workshop, June 2010) Future of RDF (Survey, August 2010) Charter: Turtle JSON Multiple Graphs (Datasets) (smaller things)

*NOT* RDF 2 Lots of please don't touch anything...but still some pain points: XML Reification Collections/Containers Fix things without breaking anything!

Participation (That's the workshop. Working group mostly meets on phone.)

Part 2: Beyond XML In theory, RDF didn't have to look like this <?xml version="1.0"?> <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"> <contact:person rdf:about="http://www.w3.org/people/em/contact#me"> <contact:fullname>eric Miller</contact:fullName> <contact:mailbox rdf:resource="mailto:em@w3.org"/> <contact:personaltitle>dr.</contact:personaltitle> </contact:person> </rdf:rdf> XML was created for marking-up (annotating) text.

Turtle @prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#>. @prefix miller: <http://www.w3.org/people/em/contact#>. miller:me a contact:person; contact:fullname "Eric Miller"; contact:mailbox <mailto:em@w3.org>; contact:personaltitle "Dr.".

Turtle Features Elegant Syntax Pretty easy to read Pretty easy to write Nice shortcuts like [ ] and ( ) (Still has namespaces) No confusion with XML Really matches RDF model Very widely deployed de facto standard

Changes During Standardization (Changes from what?) Write 18.0 instead of 18. for decimals Previously: <a> <b> 1. <c> <d> <e>. Now okay: <a> <b> 1. <c> <d> <e>. But maybe people are used to it now. We'll see. More allowed characters, escaping rules OK: foo:bar:baz (colon in local part, for FB OGP) OK: part:33445 (local part starting with digit)

W3C Candidate Recommendation If you have a Turtle parser: Read over the spec (it's about 20 pages, with lots of examples) See how your code fares against the test suite Send us your results Make sure your software can read Turtle Consider writing it instead of RDF/XML

JSON-LD { } "@id": "http://www.w3.org/people/em/contact#me", "fullname": "Eric Miller", "mailbox": "mailto:em@w3.org", "personaltitle": "Dr." Very simple! but needs a context "@context": { "fullname": "http://www.w3.org/2000/10/swap/pim/contact#fullname", "mailbox": { "@id": "http://www.w3.org/2000/10/swap/pim/contact#mailbox", "@type": "@id" }, "personaltitle": "http://www.w3.org/2000/10/swap/pim/contact#personaltitle"

Determining Context Context can come from: Value of @context property of the JSON object URL dereference of value of @context property URL dereference of HTTP header value Application Specific Normal JSON can be JSON-LD (if the receiver knows the @context) JSON-LD-API provides functions to convert among various useful forms (with & without context)

Embedding in HTML No problem for Web Apps Promising (experimental) for data publication <script type= text/turtle > </script> <script type= application/ld+json > </script>

Fate of RDF/XML? Not deprecated Valuable deployment (eg Adobe XMP) But it's now it's clear, RDF = RDF/XML RDFa SPARQL Turtle JSON-LD etc

Part 3: Datasets Old challenge in RDF. How do you: 1. Fetch or construct two or more RDF documents 2. Keep them separate 3. Say something about them in RDF? Reification? 1999 vocabulary for talking about RDF triples in RDF triples. Never fully specified

SPARQL Named Graphs Triples are in zero or more named graphs # some default graph triples <s> <p> <o1>. GRAPH <g1> { # some triples in graph g1 <s> <p> <o1> } GRAPH <g2> { # some triples in graph g2 <s> <p> <o2> }

Alternate View: Quads <s> <p> <o1>. <s> <p> <o1> <g1>. <s> <p> <o2> <g2>. # in default graph # in graph g1 # in graph g2 Formally speaking these are different: (1) Default graph + a set of <name, graph> pairs (2) A set of triples and quads BUT the specs advise against noticing the difference (ie empty named graphs), so you can think about it either way.

Why Default Graph? For folks who don't want the named graphs Just looking for triples? Here you go... How to use it? Might be used for metadata (my favorite) Might be union of all named graphs Might be something else So how is an application entitled to use it? Depends on how it got it (what link or protocol)

Semantics Graph names do not necessarily denote the associated graph It's just structure; semantics depend on vocabulary of use in that dataset. GRAPH <#phase1> { eg:item7 eg:weight 31 } <#phase1> vt:begins 2013-01-01 ^^xs:date; vt:ends 2013-05-30 ^^xs:date. We don't specify what <#phase1> denotes vt:begins and vt:ends just use it (indirectly) to state properties of some triples

Blank Nodes in Datasets Blank nodes can be shared among graphs Surprising to some people Needed for some use cases (eg separation of inference) Blank node as Graph Names? Maybe. See ISSUE-131

Syntax Examples above use subset of SPARQL TriG Very similar, except no GRAPH keywords and default graph in { }. N-Quads 3 or 4 IRIs/literals on a line Others?

Part 4: Changes to Data Types In RDF 1.0: <s> <p> Hello World. was not the same triple as: <s> <p> Hello World ^^xsd:string. If you ever stumbled on this, it was painful. In RDF 1.1 they are the same triple.

rdf:html A data type for indicating some text is an HTML fragment: <s> <p> ''' <span class= nav > <a href= / >Home</a> </span> '''^^rdf:html. Consider instead of plain string or rdf:xmlliteral

Other Datatype Details rdf:xmlliteral changed to match what's usually implemented Specific list of datatypes suggested, including new XSD types like durations Language-tagging formalized slightly differently Ill-typed literals (eg: a ^^xs:int) now make the graph logically inconsistent Now all literals have a datatype Semantics are now in RDF, not RDFS

Part 5: Miscellaneous Editorial changes (rewrites) rdf-concepts rdf-mt (semantics) expecting Primer Standard way to Skolemize blank nodes http://... /.well-known/genid/...

Collections and Containers We're not deprecating rdf:seq or rdf:list (!!) But Turtle and JSON-LD both have special support for pure rdf:list structures I hope implementations will optimize for that. That is, lists which can be losslessly serialized in turtle using the ( ) list syntax.

Part 6: Q & A See http://www.w3.org/2010/rdf-wg All of our drafts, issues, email, etc are public We'll answer all email public-rdf-comments@w3.org