Linked Data and RDF. COMP60421 Sean Bechhofer

Similar documents
Linked Data and RDF. COMP60421 Sean Bechhofer

SKOS. COMP60421 Sean Bechhofer

Semantic Web. RDF and RDF Schema. Morteza Amini. Sharif University of Technology Spring 90-91

Linked data basic notions!

Helmi Ben Hmida Hannover University, Germany

The Semantic Web. Mansooreh Jalalyazdi

Ontologies SKOS. COMP62342 Sean Bechhofer

SKOS. COMP62342 Sean Bechhofer

Semantic Web Test

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

Semantic Web Fundamentals

Introducing Linked Data

The OWL API: An Introduction

Semantic Web. Tahani Aljehani

Semantic Web Fundamentals

COMP6217 Social Networking Technologies Web evolution and the Social Semantic Web. Dr Thanassis Tiropanis

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

BUILDING THE SEMANTIC WEB

Multi-agent and Semantic Web Systems: Linked Open Data

a paradigm for the Introduction to Semantic Web Semantic Web Angelica Lo Duca IIT-CNR Linked Open Data:

RDF /RDF-S Providing Framework Support to OWL Ontologies

The P2 Registry

Orchestrating Music Queries via the Semantic Web

Semantic Web Systems Linked Open Data Jacques Fleuriot School of Informatics

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa

Introduction to Linked Data

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services.

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

a paradigm for the Semantic Web Linked Data Angelica Lo Duca IIT-CNR Linked Open Data:

Multi-agent Semantic Web Systems: Data & Metadata

Semantic Web Ontologies

Semantic Web and Linked Data

The Semantic Web DEFINITIONS & APPLICATIONS

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

Querying the Semantic Web

Adding formal semantics to the Web

Ontological Modeling: Part 2

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages

Multi-agent Semantic Web Systems: RDF Models

Linked Data: What Now? Maine Library Association 2017

Towards the Semantic Web

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

Publishing Vocabularies on the Web. Guus Schreiber Antoine Isaac Vrije Universiteit Amsterdam

> Semantic Web Use Cases and Case Studies

Bridging the Gap between Semantic Web and Networked Sensors: A Position Paper

COMP9321 Web Application Engineering

LINKING WEB DATA WEB:

COMP9321 Web Application Engineering

Library of Congress Controlled Vocabularies as Linked Data:

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

Table of Contents. iii

Unlocking the full potential of location-based services: Linked Data driven Web APIs

Deep integration of Python with Semantic Web technologies

The Semantic Grid. School of Computer Science University of Manchester. Department of Computer Science University of Cyprus.

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

RDFS. Suresh Manandhar* & Dimitar Kazakov

WebGUI & the Semantic Web. William McKee WebGUI Users Conference 2009

RDF Schema. Mario Arrigoni Neri

Linked Open Data: a short introduction

Introduction. October 5, Petr Křemen Introduction October 5, / 31

Semantic Web and Python Concepts to Application development

JENA: A Java API for Ontology Management

Linked Data. The World is Your Database

The Emerging Web of Linked Data

An Introduction to the Semantic Web. Jeff Heflin Lehigh University

Semantic Adaptation Approach for Adaptive Web-Based Systems

Semantic Integration with Apache Jena and Apache Stanbol

The Data Web and Linked Data.

INF3580/4580 Semantic Technologies Spring 2015

Day 2. RISIS Linked Data Course

Semantic web. Tapas Kumar Mishra 11CS60R32

Semantic Annotation, Search and Analysis

Linking Distributed Data across the Web

Why You Should Care About Linked Data and Open Data Linked Open Data (LOD) in Libraries

Semantiska webben DFS/Gbg

Semantic Web Knowledge Representation in the Web Context. CS 431 March 24, 2008 Carl Lagoze Cornell University

Ontologies and Schema Languages on the Web. Kaveh Shahbaz

Reducing Consumer Uncertainty

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements

Resilient Linked Data. Dave Reynolds, Epimorphics

SRI International, Artificial Intelligence Center Menlo Park, USA, 24 July 2009

Linked Data Practices for the Geospatial Community

COMP9321 Web Application Engineering

Week 4. COMP62342 Sean Bechhofer, Uli Sattler

Ontologies and OWL. Riccardo Rosati. Knowledge Representation and Semantic Technologies

Interacting with Linked Data Part I: General Introduction

Semantic Web Publishing. Dr Nicholas Gibbins 32/4037

Mapping between Digital Identity Ontologies through SISM

ITARC Stockholm Olle Olsson World Wide Web Consortium (W3C) Swedish Institute of Computer Science (SICS)

ITARC Stockholm Olle Olsson World Wide Web Consortium (W3C) Swedish Institute of Computer Science (SICS)

DBpedia-An Advancement Towards Content Extraction From Wikipedia

Enhancing Security Exchange Commission Data Sets Querying by Using Ontology Web Language

Europeana update: aspects of the data

2. Knowledge Representation Applied Artificial Intelligence

Towards the Semantic Desktop. Dr. Øyvind Hanssen University Library of Tromsø

Design & Manage Persistent URIs

SEMANTIC WEB AN INTRODUCTION. Luigi De

Linked Data Evolving the Web into a Global Data Space

Approach for Mapping Ontologies to Relational Databases

Semantic Queries and Mediation in a RESTful Architecture

Transcription:

Linked Data and RDF COMP60421 Sean Bechhofer sean.bechhofer@manchester.ac.uk

Building a Semantic Web Annotation Associating metadata with resources Integration Integrating information sources Inference Reasoning over the information we have. Could be light-weight (taxonomy) Could be heavy-weight (logic-style) Interoperation and Sharing are key goals 6

Linked Data* Linked Data or the Data Web is about using the Web to connect related data that wasn t previously linked. The intention is that we move from a web of documents to a web of data The Web as database! The Linked Data approach builds heavily on RDF. *Linked data slides based on material from Ian Davis and Tom Heath: http://www.slideshare.net/iandavis/30-minute-guide-to-rdf-and-linked-data 8

Database tables isbn title author publisherid pages 0743267478 Q&A Vikas Swarup 1435 336 014029466X The Rotters Club Jonathan Coe 1546 416.. 9

Rows represent things isbn title author publisherid pages 0743267478 Q&A Vikas Swarup 1435 336 014029466X The Rotters Club Jonathan Coe 1546 416.. 10

Columns represent properties isbn title author publisherid pages 0743267478 Q&A Vikas Swarup 1435 336 014029466X The Rotters Club Jonathan Coe 1546 416.. 11

Intersections represent properties of things isbn title author publisherid pages 0743267478 Q&A Vikas Swarup 1435 336 014029466X The Rotters Club Jonathan Coe 1546 416.. 12

Graphical Representation book title The Rotters Club more generally: subject property value 13

Selecting multiple properties isbn title author publisherid pages 0743267478 Q&A Vikas Swarup 1435 336 014029466X The Rotters Club Jonathan Coe 1546 416.. 14

Multiple properties graphically title The Rotters Club book isbn 014029466X author Jonathan Coe 15

Relations between things title The Rotters Club book isbn 014029466X publisher author Jonathan Coe publisher name Penguin Books 16

Identification We need to be able to identify things globally and uniquely. URIs provide this capability Key to Linked Data is the use of URIs, specifically http:// URIs. 17

URIs in graphs URIs as names for nodes http://example.com/person/176 http://example.com/name Jonathan Coe URIs as names for relations 18

URIs and naming URIs identify the things we are describing. If two people create data using the same URI, the assumption is that they are describing the same thing. Merging/integrating data then becomes easy Although introduces issues of URI control. 19

Graph Merging http://example.com/person/176 http://example.com/author http://example.com/book/014029466x http://example.com/name Jonathan Coe http://example.com/person/176 http://example.com/birthplace http://example.com/place/xyz765 http://example.com/name Birmingham 20

Graph Merging http://example.com/person/176 http://example.com/book/014029466x http://example.com/author http://example.com/birthplace http://example.com/name Jonathan Coe http://example.com/place/xyz765 http://example.com/name Birmingham 21

URIs are active URIs can be more than just names -- they can be dereferenced, and information can be retrieved. In particular, we can lookup the URIs in a graph and potentially retrieve more information about the URI. Follow your nose navigation Information should be returned in appropriate, machine readable formats (e.g. another graph) 22

Linked Data Principles 1. Use URIs as names for things 2. Use http URIs so that those names can be dereferenced. 3. When a URI is looked up, provide useful information 4. Include statements that link to other URIs so that more information can be discovered.! Common infrastructure facilitates construction of applications. Largely browsers up to now. Other guidelines relating to connecting documents with the data that describes them. Use of content negotiation to supply appropriate representations Use of microformats/rdfa to publish data 23

RDF RDF stands for Resource Description Framework It is a W3C Recommendation http://www.w3.org/rdf RDF is a graphical formalism ( + concrete syntax) for representing metadata for describing the semantics of information in a machineaccessible way Provides a simple data model based on triples.! Allows us to represent relationships between things. 24

The RDF Data Model Statements are <subject, predicate, object> triples: <Sean,hasColleague,Uli> Can be represented as a graph:!! Statements describe properties of resources Sean A resource is any object that can be pointed to by a URI Properties themselves are also resources (URIs) hascolleague Uli 25

Linking Statements The subject of one statement can be the object of another Such collections of statements form a directed, labeled graph!!!!! Sean!!!!! hasname Sean K. Bechhofer hascolleague hascolleague Carole Note that the object of a triple can also be a literal (a string) Uli hashomepage http://www.cs.man.ac.uk/~sattler 26

RDF Syntax RDF has an XML syntax that has a specific meaning: Every Description element describes a resource Every attribute or nested element inside a Description is a property of that Resource We can refer to resources by URIs <Description about="some.uri/person/sean_bechhofer"> <hascolleague resource="some.uri/person/uli_sattler"/> <hasname rdf:datatype="&xsd;string">sean K. Bechhofer</hasName> </Description> <Description about="some.uri/person/uli_sattler"> <o:hashomepage>http://www.cs.mam.ac.uk/~sattler</o:hashomepage> </Description> <Description about="some.uri/person/carole_goble"> <o:hascolleague resource="some.uri/person/uli_sattler"/> </Description> 27

What does RDF give us? A mechanism for annotating data and resources. Single (simple) data model. Syntactic consistency between names (URIs). Low level integration of data.! The Linked Data/Web of Data approach. 28

Querying RDF: SPARQL RDF provides us with a way of representing information as a graph SPARQL allows us to query this information http://www.w3.org/tr/sparql11-overview/ Provides a query language and the description of a protocol for interacting with SPARQL endpoints via HTTP PREFIX etree:<http://etree.linkedmusic.org/vocab/>! PREFIX mo:<http://purl.org/ontology/mo/>! PREFIX event:<http://purl.org/net/c4dm/event.owl#>! PREFIX skos:<http://www.w3.org/2004/02/skos/core#>! PREFIX timeline:<http://purl.org/net/c4dm/timeline.owl#>! PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>!! SELECT DISTINCT?artist WHERE! {!?art rdf:type mo:musicartist.!?art skos:preflabel?artist.! } 24

RDF(S): RDF Schema RDF gives a formalism for meta data annotation, and a way to write it down in XML, but it doesn t give any special meaning to vocabulary such as subclassof or type Interpretation is an arbitrary binary relation RDF Schema extends RDF with a schema vocabulary that allows you to define basic vocabulary terms and the relations between those terms Class, Property type, subclassof range, domain 29

RDF(S) These terms are the RDF Schema building blocks (constructors) used to create vocabularies: <Person,type,Class> <hascolleague,type,property> <Professor,subClassOf,Person> <Carole,type,Professor> <hascolleague,range,person> <hascolleague,domain,person> Semantics gives extra meaning to particular RDF predicates and resources specifies how terms should be interpreted 30

RDF(S) Inference rdf:type rdfs:class rdfs:subclassof rdfs:subclassof Person Academic rdf:type rdf:type rdf:subclassof Lecturer 31

RDF(S) Inference rdf:type rdfs:class Academic rdfs:subclassof rdf:type rdfs:type Lecturer rdf:type Sean 32

RDF/RDF(S) Liberality No distinction between classes and instances (individuals) <Species,type,Class> <Lion,type,Species> <Leo,type,Lion> No distinction between language constructors and ontology vocabulary, so constructors can be applied to themselves/each other <type,range,class> <Property,type,Class> <type,subpropertyof,subclassof> In order to cope with this, RDF(S) has a particular non-standard model theory. 33

What does RDF(S) give us? Ability to use simple schema/vocabularies when describing our resources. Consistent vocabulary use and sharing. Basic inference 34

Problems with RDF(S) RDF(S) is too weak to describe resources in sufficient detail No localised range and domain constraints Can t say that the range of haschild is Person when applied to Persons and Elephant when applied to Elephants No existence/cardinality constraints Can t say that all instances of Person have a mother that is also a Person, or that Persons have exactly 2 parents No transitive, inverse or symmetrical properties Can t say that ispartof is a transitive property, that haspart is the inverse of ispartof or that touches is symmetrical Difficult to provide reasoning support No native reasoners for non-standard semantics May be possible to reason via FO axiomatisation 35

OWL OWL: Web Ontology Language Extends existing Web standards Such as XML, RDF, RDFS Is (hopefully) easy to understand and use Based on familiar KR idioms Of adequate expressive power Formally specified Possible to provide automated reasoning support But you already know all this 36

Microformats, RDFa Microformats: open data formats for embedding data in pages. Fixed schemas for calendars, address books, opinions, licenses etc.!!! RDFa: general mechanism for embedding RDF metadata within pages. No fixed schema Used with Linked Data resources E.g. LCSH: http://id.loc.gov/authorities/subjects/sh85052522 33

Linked Data Benefits Separation of data from formatting and presentational aspects Self-describing data. Applications encountering unfamiliar vocabularies can dereference and access definitions Simplified data access via HTTP and RDF. Heterogeneity of Web APIs Open Applications not implemented against fixed set of data sources. 34

RDF/Linked Data Examples dbpedia RDFised version of wikipedia Scraping structured information from info-boxes. Quality? BBC Programme catalogues published as Linked Data Sports coverage driven by triplestore Crosslinking to resources like dbpedia and MusicBrainz GeoNames Geographical data Lat/long, postal codes etc. LCSH SKOS 37

dbpedia 36

Ordnance Survey 37

BBC 38

Library of Congress 39

etree.linkedmusic.org 40

Modelling Music Ontology Event Ontology 41

Similarities Similarity Ontology 42

Big Picture 43

fishdelish 44

45

46

data.gov.uk Open Public Data Empowering citizen developers But pushback against formats URI Design Hash vs slash Statistical information Tensions Centralised vs Distributed Rules vs Guidance Trust in the Web Darwinian Evolution 38

Semantic Web Challenge 48

LD in Use Five Stars of Open Linked Data http://inkdroid.org/journal/2010/06/04/the-5-stars-of-open-linkeddata/ Make data available Make it available as structured data Use non-proprietary formats Use URLs to identify things Link your data Costs and Benefits http://lab.linkeddata.deri.ie/2010/star-scheme-by-example/ 49

Issues with Linked Data Identity and co-reference How do we handle the fact that different URIs may be used to refer to the same things? Use of owl:sameas may be too strong (can result in all information, including annotations, metadata etc.) being merged. Versioning Version information in URLs? Versioning at architectural level (Memento) How does versioning play with a follow your nose paradigm? Querying Distributed query across data sets LD applications tend to use an extract, transform, load approach. 39

Issues with Linked Data Still primarily about data Vocabularies used to facilitate integration Little deep semantics. Big O vs little o Role of SKOS and RDF(S) Scalability Focus on mechanisms for data publication rather than consumption Lots of work on recipes, mangling relation sources into RDF etc. What do you actually do with the stuff? Applications (so far) mainly browsing/cv generation/introspective apps End user applications? Build it and they will come.??? 40

Do you need them all? 1. Use URIs as names for things 2. Use http URIs so that those names can be dereferenced. 3. When a URI is looked up, provide useful information 4. Include statements that link to other URIs so that more information can be discovered. 23