Shape Constraint Language

Size: px
Start display at page:

Download "Shape Constraint Language"

Transcription

1 Veronika Heimsbakk 24. april 2017

2 About us Håvard Veronika Both consultans at Acando Oslo Working with semantic technologies in public sector

3 Agenda 1. Terminology 2. What is SHACL? 3. Using SHACL for data validation 4. Validation result graphs 5. SPARQL processing 6. Demo

4 RDF graph An RDF graph is a set of triples. RDF triple An RDF triple consists of three components; subject, predicate and object.

5 RDF graph An RDF graph is a set of triples. RDF triple An RDF triple consists of three components; subject, predicate and object. subject is an IRI or a blank node.

6 RDF graph An RDF graph is a set of triples. RDF triple An RDF triple consists of three components; subject, predicate and object. subject is an IRI or a blank node. predicate is an IRI.

7 RDF graph An RDF graph is a set of triples. RDF triple An RDF triple consists of three components; subject, predicate and object. subject is an IRI or a blank node. predicate is an IRI. object is an IRI, literal or a blank node.

8 IRI (Internationalized Resource Identifier) within an RDF graph is a Unicode string with syntax defined in RFC3987. IRIs must be absolute, and may contain fragment identifier.

9 Shapes Constraint Language

10 A language for describing and validating RDF graphs. A vocabulary defined by a W3C working group. First revision in July Became a Candidate Recommendation 11th of April 2017.

11 sh:

12 The syntax of SHACL is the same as for any other RDF-based standard.

13 Today we will see both Turtle and JSON-LD.

14 Shapes

15 Shape Definition A shape is an IRI or blank node s that fulfills at least one of the following conditions in the shapes graph: s is a SHACL instance of sh:nodeshape or sh:propertyshape. s is subject of a triple that has sh:targetclass, sh:targetnode, sh:targetobjectsof or sh:targetsubjectsof as predicate. s is subject of a triple that has a parameter as predicate. s is a value of a shape-expecting, non-list-taking parameter such as sh:node, or a member of a SHACL list that is a value of a shape-expecting and list-taking parameter such as sh:or.

16 Node shape Definition A node shape is a shape in the shapes graph that is not the subject of a triple with sh:path as its predicate. SHACL instances of sh:nodeshape cannot have a value for the property sh:path.

17 Property shape Definition A property shape is a shape in the shapes graph that is the subject of a triple that has sh:path as its predicate. A shape has at most one value for sh:path. Each value of sh:path in a shape must be a well-formed SHACL property path. SHACL instances of sh:propertyshape have one value for the property sh:path.

18 It is recommended, but not required, for a node or property shape to be declared as a SHACL instance of sh:nodeshape or sh:propertyshape.

19 Building a shape ex:personshape a sh:nodeshape ; sh:targetclass ex:person.

20 Building a shape ex:namepropertyshape a sh:propertyshape ; sh:path ex:name ; sh:mincount 1.

21 Building a shape ex:personshape a sh:nodeshape ; sh:targetclass ex:person ; sh:property [ sh:path ex:name ; sh:mincount 1 ; ].

22 Severity sh:info sh:warning sh:violation A non-critical informative message. A non-critical constraint violation indicating a warning. A constraint violation.

23 Building a shape ex:personshape a sh:nodeshape ; sh:targetclass ex:person ; sh:property [ sh:path ex:name ; sh:mincount 1 ; sh:severity sh:violation ; ].

24 Focus node An RDF term that is validated against a shape using the triples from a data graph is called a focus node.

25 Value nodes The validators of most constraint components use the concept of value nodes, which is defined as follows: For node shapes the value nodes are the individual focus nodes, forming a set with exactly one member. For property shapes with a value for sh:path p the value nodes are the set of nodes in the data graph that can be reached from the focus node with the path mapping of p.

26 SHACL Core constraint components Value type Cardinality String-based Property pair Logical Shape-based Other

27 Value Type Constraint Components Used to restrict the type of value nodes. sh:class sh:datatype sh:nodekind Type of all value nodes. Values are IRIs. Datatype of all value nodes. Values are IRIs. At most one value for sh:datatype. Node kind of all value nodes. E.g. sh:literal.

28 Value Type Constraint Components ex:personshape a sh:nodeshape ; sh:property [ sh:path ex:name ; sh:datatype xsd:string ; ].

29 Cardinality Constraint Components Restriction on the number of value nodes for the given focus node. sh:mincount sh:maxcount Minimum cardinality. Maximum cardinality. Only for property shapes. At most one value, literal integer.

30 Cardinality Constraint Components ex:personshape a sh:nodeshape ; sh:property [ sh:path ex:name ; sh:mincount 1 ; sh:maxcount 1 ; ].

31 Value Range Constraint Components sh:minexclusive < sh:mininclusive <= sh:maxexclusive > sh:maxinclusive >=

32 String-based Constraint Components Specify conditions on the string representation of value nodes. sh:pattern sh:languagein A regex that all value nodes need to match. String literals, valid arguments for SPARQL REGEX function. SHACL list of allowed language tags for each value node. List members are string literals. sh:minlength, sh:maxlength, sh:uniquelang

33 String-based Constraint Components ex:personshape a sh:nodeshape ; sh:property [ sh:path ex:name ; sh:pattern "^V" ; ].

34 Property Pair Constraint Components Specify conditions on the sets of value nodes in relation to other properties. sh:equals sh:disjoint sh:lessthan sh:lessthanorequals

35 Logical Constraint Components Implement the common operators and, or, not and a variation of exclusive or. sh:not sh:and sh:or sh:xone

36 Shape Based Constraint Components Can be used to specify complex conditions by validating the value nodes against certain shapes. sh:node sh:property sh:qualifiedvalueshape sh:qualifiedmincount sh:qualifiedmaxcount

37 Other Constraint Components sh:closed sh:ignoredproperties sh:hasvalue sh:in

38 A node shape containing several property shapes ex:personshape a sh:nodeshape ; sh:property [ sh:path ex:name ; sh:datatype xsd:string ; sh:mincount 1 ; ] ; sh:property [ sh:path ex:age ; sh:datatype xsd:integer ; ]. After the lecture, I got a question about several property shapes. Here is an example of a node shape with two property shapes. Note that sh:path only may be declared once per property shape.

39 Validation Result Graphs Validation takes a data graph and a shapes graph as input and produces a validation report containing the results of the validation.

40 Shapes graph A shapes graph is an RDF graph containing zero or more shapes that is passed into a SHACL validation process so that a data graph can be validated against the shapes.

41 Data graph Any RDF graph can be a data graph.

42 Validation report The validation report is the result of the validation process that reports the conformance and the set of all validation results. The validation report is described with the SHACL Validation Report Vocabulary.

43 Example data graph ex:veronika a ex:person ; ex:age "25"^^xsd:integer ; ex:worksat ex:acando. ex:veronika ex:worksat a ex:age ex:person 25 ˆˆxsd:integer ex:acando ex:håvard a ex:person ; ex:age "Håvard" ; ex:worksat ex:acando. ex:håvard ex:worksat a ex:age ex:person Håvard. ex:acando

44 Example shapes graph ex:personshape a sh:nodeshape ; sh:targetclass ex:person ; sh:property [ sh:path ex:age ; sh:datatype xsd:integer ; sh:severity sh:violation ; ]. ex:personshape sh:property sh:targetclass a sh:path sh:datatype sh:severity ex:person sh:nodeshape ex:age xsd:integer sh:violation

45 Validation result graph [ a sh:validationreport ; sh:conforms false ; sh: result [ a sh:validationresult ; sh:resultseverity sh:violation ; sh:focusnode ex:håvard ; sh:resultpath ex:age ; sh:resultmessage "ex:age is expecting xsd:integer" ; sh:sourceconstraintcomponent sh:datatypeconstraintcomponent ; sh:sourceshape ex:personshape ; ] ].

46 sh:datatypeconstraintcomponent sh:sourceconstraintcomponent a sh:result sh:validationreport ex:age is expecting xsd:integer. sh:resultmessage ex:personshape sh:sourceshape a sh:validationresult sh:resultseverity sh:focusnode sh:resultpath sh:violation ex:håvard sh:conforms false ex:age

47 Summary Introducing constraints is important for data consistency, validation, quality and for making sense. Expressing constraints (SHACL) formal statements in predicate logic (OWL). May achieve SPARQL free validation.

48 More on SHACL breaking-news-last-shacl-made-cr-status-jan-voskuil shacl-the-next-generation-data-modeling-language/

49 Next up: Håvard & SPARQL processing

SHACL by example RDF Validation tutorial

SHACL by example RDF Validation tutorial SHACL by example RDF Validation tutorial Jose Emilio Labra Gayo WESO Research group University of Oviedo, Spain Eric Prud'hommeaux World Wide Web Consortium MIT, Cambridge, MA, USA Harold Solbrig Mayo

More information

SHACL (Shapes Constraint Language) An Introduction

SHACL (Shapes Constraint Language) An Introduction SHACL (Shapes Constraint Language) An Introduction Irene Polikoff, TopQuadrant EDW, San Diego, April 2018 Copyright 2018 TopQuadrant Inc. Slide 1 CEO and co-founder at TopQuadrant W3C SHACL Working Group

More information

Towards Improving the Quality of Knowledge Graphs with Data-driven Ontology Patterns and SHACL

Towards Improving the Quality of Knowledge Graphs with Data-driven Ontology Patterns and SHACL Università degli Studi di Milano Bicocca Dipartimento di Informatica Sistemistica e Comunicazione Towards Improving the Quality of Knowledge Graphs with Data-driven Ontology Patterns and SHACL Blerina

More information

KNOWLEDGE GRAPHS. Lecture 11: Cypher / Knowledge Graph Quality. TU Dresden, 8th Jan Markus Krötzsch Knowledge-Based Systems

KNOWLEDGE GRAPHS. Lecture 11: Cypher / Knowledge Graph Quality. TU Dresden, 8th Jan Markus Krötzsch Knowledge-Based Systems KNOWLEDGE GRAPHS Lecture 11: Cypher / Knowledge Graph Quality Markus Krötzsch Knowledge-Based Systems TU Dresden, 8th Jan 2019 Review: The Cypher Query Language Example: Find pairs of siblings: MATCH (parent)-[:has_child]->(child1),

More information

Combining graph and tree: writing SHAX, obtaining SHACL, XSD and more

Combining graph and tree: writing SHAX, obtaining SHACL, XSD and more Hans-Juergen Rennau, parsqube GmbH Abstract The Shapes Constraint Language (SHACL) is a data modeling language for describing and validating RDF data. This paper introduces SHAX, which

More information

Towards Improving the Quality of Knowledge Graphs with Data-driven Ontology Patterns and SHACL

Towards Improving the Quality of Knowledge Graphs with Data-driven Ontology Patterns and SHACL Towards Improving the Quality of Knowledge Graphs with Data-driven Ontology Patterns and SHACL Blerina Spahiu, Andrea Maurino, Matteo Palmonari University of Milano-Bicocca {blerina.spahiu andrea.maurino

More information

MI-PDB, MIE-PDB: Advanced Database Systems

MI-PDB, MIE-PDB: Advanced Database Systems MI-PDB, MIE-PDB: Advanced Database Systems http://www.ksi.mff.cuni.cz/~svoboda/courses/2015-2-mie-pdb/ Lecture 11: RDF, SPARQL 3. 5. 2016 Lecturer: Martin Svoboda svoboda@ksi.mff.cuni.cz Author: Martin

More information

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

Unlocking the full potential of location-based services: Linked Data driven Web APIs Unlocking the full potential of location-based services: Linked Data driven Web APIs Open Standards for Linked Organisations about Raf Buyle Ziggy Vanlishout www.vlaanderen.be/informatievlaanderen 6.4

More information

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

KNOWLEDGE GRAPHS. Lecture 2: Encoding Graphs with RDF. TU Dresden, 23th Oct Markus Krötzsch Knowledge-Based Systems KNOWLEDGE GRAPHS Lecture 2: Encoding Graphs with RDF Markus Krötzsch Knowledge-Based Systems TU Dresden, 23th Oct 2018 Encoding Graphs We have seen that graphs can be encoded in several ways: Adjacency

More information

Using Ontology Design Patterns To Define SHACL Shapes

Using Ontology Design Patterns To Define SHACL Shapes Workshop on Ontology Design Patterns 2018 Co-located with ISWC 2018, Monterey, California, USA CC BY 4.0 Using Ontology Design Patterns To Define SHACL Shapes if twitter that'sme Harshvardhan J. Pandit,

More information

Semantic Web Fundamentals

Semantic Web Fundamentals Semantic Web Fundamentals Web Technologies (706.704) 3SSt VU WS 2018/19 with acknowledgements to P. Höfler, V. Pammer, W. Kienreich ISDS, TU Graz January 7 th 2019 Overview What is Semantic Web? Technology

More information

XML technology is very powerful, but also very limited. The more you are aware of the power, the keener your interest in reducing the limitations.

XML technology is very powerful, but also very limited. The more you are aware of the power, the keener your interest in reducing the limitations. XML technology is very powerful, but also very limited. The more you are aware of the power, the keener your interest in reducing the limitations. A key problem is rooted in the very paradigm of XML, which

More information

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

Semantic Web In Depth: Resource Description Framework. Dr Nicholas Gibbins 32/4037 Semantic Web In Depth: Resource Description Framework Dr Nicholas Gibbins 32/4037 nmg@ecs.soton.ac.uk RDF syntax(es) RDF/XML is the standard syntax Supported by almost all tools RDF/N3 (Notation3) is also

More information

RDF Next Version. Ivan Herman and Sandro Hawke W3C

RDF Next Version. Ivan Herman and Sandro Hawke W3C RDF Next Version Ivan Herman and Sandro Hawke W3C History Current RDF has been published in 2004 Significant deployment since then implementation experiences users experiences Some cracks, missing functionalities,

More information

An Alternative CIM Modeling Approach using JSON-LD

An Alternative CIM Modeling Approach using JSON-LD An Alternative CIM Modeling Approach using JSON-LD Authors: Milan Gavrić, Kosa Nenadić Presented by: Milan Gavrić, Ph.D. milan.gavric@schneider-electric-dms.com Head of Systems Integration Department Content

More information

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

KNOWLEDGE GRAPHS. Lecture 4: Introduction to SPARQL. TU Dresden, 6th Nov Markus Krötzsch Knowledge-Based Systems KNOWLEDGE GRAPHS Lecture 4: Introduction to SPARQL Markus Krötzsch Knowledge-Based Systems TU Dresden, 6th Nov 2018 Review We can use reification to encode complex structures in RDF graphs: Film Actor

More information

Mandatory exercises. INF3580/4580 Semantic Technologies Spring 2017 Lecture 12: OWL: Loose Ends. Outline. Make it simple!

Mandatory exercises. INF3580/4580 Semantic Technologies Spring 2017 Lecture 12: OWL: Loose Ends. Outline. Make it simple! Mandatory exercises INF3580/4580 Semantic Technologies Spring 2017 Lecture 12: OWL: Loose Ends Ernesto Jiménez-Ruiz 3rd April 2017 Oblig 6 published after lecture. First attempt by April 25th. Second attempt

More information

LECTURE 09 RDF: SCHEMA - AN INTRODUCTION

LECTURE 09 RDF: SCHEMA - AN INTRODUCTION SEMANTIC WEB LECTURE 09 RDF: SCHEMA - AN INTRODUCTION IMRAN IHSAN ASSISTANT PROFESSOR AIR UNIVERSITY, ISLAMABAD THE SEMANTIC WEB LAYER CAKE 2 SW S16 09- RDFs: RDF Schema 1 IMPORTANT ASSUMPTION The following

More information

CS Knowledge Representation and Reasoning (for the Semantic Web)

CS Knowledge Representation and Reasoning (for the Semantic Web) CS 7810 - Knowledge Representation and Reasoning (for the Semantic Web) 02 Resource Description Framework (RDF) Adila Krisnadhi Data Semantics Lab, Wright State University, Dayton, OH Outline 1. Motivation:

More information

B4M36DS2, BE4M36DS2: Database Systems 2

B4M36DS2, BE4M36DS2: Database Systems 2 B4M36DS2, BE4M36DS2: Database Systems 2 h p://www.ksi.mff.cuni.cz/~svoboda/courses/171-b4m36ds2/ Lecture 2 Data Formats Mar n Svoboda mar n.svoboda@fel.cvut.cz 9. 10. 2017 Charles University in Prague,

More information

JSON-LD 1.0 Processing Algorithms and API

JSON-LD 1.0 Processing Algorithms and API This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group;

More information

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

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 Today s Plan INF3580/4580 Semantic Technologies Spring 2017 Lecture 3: Jena A Java Library for RDF Martin Giese 30th January 2017 2 Department of Informatics University of Oslo INF3580/4580 :: Spring 2017

More information

What's New in RDF 1.1

What's New in RDF 1.1 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

More information

Semantic Web Information Management

Semantic Web Information Management Semantic Web Information Management Norberto Fernández ndez Telematics Engineering Department berto@ it.uc3m.es.es 1 Motivation n Module 1: An ontology models a domain of knowledge n Module 2: using the

More information

RDF AND SPARQL. Part IV: Syntax of SPARQL. Dresden, August Sebastian Rudolph ICCL Summer School

RDF AND SPARQL. Part IV: Syntax of SPARQL. Dresden, August Sebastian Rudolph ICCL Summer School RDF AND SPARQL Part IV: Syntax of SPARQL Sebastian Rudolph ICCL Summer School Dresden, August 2013 Agenda 1 Introduction and Motivation 2 Simple SPARQL Queries 3 Complex Graph Pattern 4 Filters 5 Solution

More information

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

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages OWL a glimpse OWL Web Ontology Language describes classes, properties and relations among conceptual objects lecture 7: owl - introduction of#27# ece#720,#winter# 12# 2# of#27# OWL a glimpse (2) requirements

More information

Introduction to metadata cleansing using SPARQL update queries. April 2014 PwC EU Services

Introduction to metadata cleansing using SPARQL update queries. April 2014 PwC EU Services Introduction to metadata cleansing using SPARQL update queries April 2014 PwC EU Services Learning objectives By the end of this module, you will have an understanding of: How to transform your metadata

More information

Semantic Web Fundamentals

Semantic Web Fundamentals Semantic Web Fundamentals Web Technologies (706.704) 3SSt VU WS 2017/18 Vedran Sabol with acknowledgements to P. Höfler, V. Pammer, W. Kienreich ISDS, TU Graz December 11 th 2017 Overview What is Semantic

More information

Semantics in RDF and SPARQL Some Considerations

Semantics in RDF and SPARQL Some Considerations Semantics in RDF and SPARQL Some Considerations Dept. Computer Science, Universidad de Chile Center for Semantic Web Research http://ciws.cl Dagstuhl, June 2017 Semantics RDF and SPARQL 1 / 7 Semantics

More information

Flat triples approach to RDF graphs in JSON

Flat triples approach to RDF graphs in JSON Flat triples approach to RDF graphs in JSON Dominik Tomaszuk Institute of Computer Science, University of Bialystok, Poland Abstract. This paper describes a syntax that can be used to write Resource Description

More information

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

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 Today s Plan INF3580/4580 Semantic Technologies Spring 2015 Lecture 3: Jena A Java Library for RDF Martin Giese 2nd February 2015 2 Department of Informatics University of Oslo INF3580/4580 :: Spring 2015

More information

Knowledge Representation for the Semantic Web

Knowledge Representation for the Semantic Web Knowledge Representation for the Semantic Web Winter Quarter 2012 Pascal Hitzler Slides 2 01/05/2011 Kno.e.sis Center Wright State University, Dayton, OH http://www.knoesis.org/pascal/ KR4SW Winter 2012

More information

VitroLib: From an Ontology and Instance Editor to a Linked Data Cataloging Editor. Huda Khan, Lynette Rayle, Rebecca Younes DCMI 2017

VitroLib: From an Ontology and Instance Editor to a Linked Data Cataloging Editor. Huda Khan, Lynette Rayle, Rebecca Younes DCMI 2017 VitroLib: From an Ontology and Instance Editor to a Linked Data Cataloging Editor Huda Khan, Lynette Rayle, Rebecca Younes DCMI 2017 Overview Background Screenshots Designing for Cataloging Developing

More information

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

KNOWLEDGE GRAPHS. Lecture 3: Modelling in RDF/Introduction to SPARQL. TU Dresden, 30th Oct Markus Krötzsch Knowledge-Based Systems KNOWLEDGE GRAPHS Lecture 3: Modelling in RDF/Introduction to SPARQL Markus Krötzsch Knowledge-Based Systems TU Dresden, 30th Oct 2018 Review: RDF Graphs The W3C Resource Description Framework considers

More information

Presented By Aditya R Joshi Neha Purohit

Presented By Aditya R Joshi Neha Purohit Presented By Aditya R Joshi Neha Purohit Pellet What is Pellet? Pellet is an OWL- DL reasoner Supports nearly all of OWL 1 and OWL 2 Sound and complete reasoner Written in Java and available from http://

More information

Multi-agent and Semantic Web Systems: Linked Open Data

Multi-agent and Semantic Web Systems: Linked Open Data Multi-agent and Semantic Web Systems: Linked Open Data Fiona McNeill School of Informatics 14th February 2013 Fiona McNeill Multi-agent Semantic Web Systems: *lecture* Date 0/27 Jena Vcard 1: Triples Fiona

More information

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

From the Web to the Semantic Web: RDF and RDF Schema From the Web to the Semantic Web: RDF and RDF Schema Languages for web Master s Degree Course in Computer Engineering - (A.Y. 2016/2017) The Semantic Web [Berners-Lee et al., Scientific American, 2001]

More information

Building Blocks of Linked Data

Building Blocks of Linked Data Building Blocks of Linked Data Technological foundations Identifiers: URIs Data Model: RDF Terminology and Semantics: RDFS, OWL 23,019,148 People s Republic of China 20,693,000 population located in capital

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES Semantics of RDF(S) Sebastian Rudolph Dresden, 25 April 2014 Content Overview & XML Introduction into RDF RDFS Syntax & Intuition Tutorial 1 RDFS Semantics RDFS

More information

Modern Trends in Semantic Web

Modern Trends in Semantic Web Modern Trends in Semantic Web Miroslav Blaško miroslav.blasko@fel.cvut.cz January 15, 2018 Miroslav Blaško (miroslav.blasko@fel.cvut.cz) Modern Trends in Semantic Web January 15, 2018 1 / 23 Outline 1

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES Semantics of SPARQL Sebastian Rudolph Dresden, June 14 Content Overview & XML 9 APR DS2 Hypertableau II 7 JUN DS5 Introduction into RDF 9 APR DS3 Tutorial 5 11

More information

Ontological Modeling: Part 14

Ontological Modeling: Part 14 Ontological Modeling: Part 14 Terry Halpin INTI International University This is the fourteenth in a series of articles on ontology-based approaches to modeling. The main focus is on popular ontology languages

More information

SPARQL ME-E4300 Semantic Web,

SPARQL ME-E4300 Semantic Web, SPARQL ME-E4300 Semantic Web, 27.1.2016 Jouni Tuominen Semantic Computing Research Group (SeCo), http://seco.cs.aalto.fi jouni.tuominen@aalto.fi SPARQL SPARQL Protocol and RDF Query Language sparkle 2

More information

Semantic Web Technologies

Semantic Web Technologies 1/57 Introduction and RDF Jos de Bruijn debruijn@inf.unibz.it KRDB Research Group Free University of Bolzano, Italy 3 October 2007 2/57 Outline Organization Semantic Web Limitations of the Web Machine-processable

More information

Semantic Days 2011 Tutorial Semantic Web Technologies

Semantic Days 2011 Tutorial Semantic Web Technologies Semantic Days 2011 Tutorial Semantic Web Technologies Lecture 2: RDF, The Resource Description Framework Martin Giese 7th June 2011 Department of Informatics University of Oslo Outline 1 The RDF data model

More information

arxiv: v1 [cs.ai] 19 Oct 2017

arxiv: v1 [cs.ai] 19 Oct 2017 Swift Linked Data Miner: Mining OWL 2 EL Class Expressions Directly from Online RDF Datasets J. Potoniec a,, P. Jakubowski a, A. Ławrynowicz a a Faculty of Computing, Poznan University of Technology, ul.

More information

Semantic Web Test

Semantic Web Test Semantic Web Test 24.01.2017 Group 1 No. A B C D 1 X X X 2 X X 3 X X 4 X X 5 X X 6 X X X X 7 X X 8 X X 9 X X X 10 X X X 11 X 12 X X X 13 X X 14 X X 15 X X 16 X X 17 X 18 X X 19 X 20 X X 1. Which statements

More information

RDF AND SPARQL. Part V: Semantics of SPARQL. Dresden, August Sebastian Rudolph ICCL Summer School

RDF AND SPARQL. Part V: Semantics of SPARQL. Dresden, August Sebastian Rudolph ICCL Summer School RDF AND SPARQL Part V: Semantics of SPARQL Sebastian Rudolph ICCL Summer School Dresden, August 2013 Agenda 1 Recap 2 SPARQL Semantics 3 Transformation of Queries into Algebra Objects 4 Evaluation of the

More information

Semantics. KR4SW Winter 2011 Pascal Hitzler 1

Semantics. KR4SW Winter 2011 Pascal Hitzler 1 Semantics KR4SW Winter 2011 Pascal Hitzler 1 Knowledge Representation for the Semantic Web Winter Quarter 2011 Pascal Hitzler Slides 5 01/20+25/2010 Kno.e.sis Center Wright State University, Dayton, OH

More information

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

SEMANTIC WEB 03 RDF DATA MODEL RESOURCE DESCRIPTION FRAMEWORK IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD SEMANTIC WEB 03 RDF DATA MODEL RESOURCE DESCRIPTION FRAMEWORK IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD WWW.IMRANIHSAN.COM MOTIVATION How do you encode the piece of knowledge: or

More information

Querying the Semantic Web

Querying the Semantic Web Querying the Semantic Web CSE 595 Semantic Web Instructor: Dr. Paul Fodor Stony Brook University http://www3.cs.stonybrook.edu/~pfodor/courses/cse595.html Lecture Outline SPARQL Infrastructure Basics:

More information

SPARQL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento

SPARQL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento SPARQL Fausto Giunchiglia and Mattia Fumagallli University of Trento Roadmap Introduction Basic query forms SELECT CONSTRUCT ASK DESCRIBE Other clauses and modifiers SPARQL Federated Query Exercises 2

More information

Toward RDF Normalization

Toward RDF Normalization Toward RDF Normalization Regina Ticona-Herrera 1, Joe Tekli 2, Sébastien Laborie 1, Irvin Dongo 1, Renato Guzman 3, and Richard Chbeir 1 1 University of Pau - LIUPPA, Anglet, France 2 Lebanese American

More information

INF3580 Semantic Technologies Spring 2012

INF3580 Semantic Technologies Spring 2012 INF3580 Semantic Technologies Spring 2012 Lecture 12: OWL: Loose Ends Martin G. Skjæveland 10th April 2012 Department of Informatics University of Oslo Today s Plan 1 Reminder: OWL 2 Disjointness and Covering

More information

STS Infrastructural considerations. Christian Chiarcos

STS Infrastructural considerations. Christian Chiarcos STS Infrastructural considerations Christian Chiarcos chiarcos@uni-potsdam.de Infrastructure Requirements Candidates standoff-based architecture (Stede et al. 2006, 2010) UiMA (Ferrucci and Lally 2004)

More information

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

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29 Semantic Web MPRI 2.26.2: Web Data Management Antoine Amarilli Friday, January 11th 1/29 Motivation Information on the Web is not structured 2/29 Motivation Information on the Web is not structured This

More information

Ontological Modeling: Part 7

Ontological Modeling: Part 7 Ontological Modeling: Part 7 Terry Halpin LogicBlox and INTI International University This is the seventh in a series of articles on ontology-based approaches to modeling. The main focus is on popular

More information

Unit 2 RDF Formal Semantics in Detail

Unit 2 RDF Formal Semantics in Detail Unit 2 RDF Formal Semantics in Detail Axel Polleres Siemens AG Österreich VU 184.729 Semantic Web Technologies A. Polleres VU 184.729 1/41 Where are we? Last time we learnt: Basic ideas about RDF and how

More information

JSON-LD 1.0. A JSON-based Serialization for Linked Data. W3C Recommendation 16 January Abstract. Status of This Document. 1.

JSON-LD 1.0. A JSON-based Serialization for Linked Data. W3C Recommendation 16 January Abstract. Status of This Document. 1. A JSON-based Serialization for Linked Data W3C Recommendation 16 January 2014 This version: http://www.w3.org/tr/2014/rec-json-ld-20140116/ Latest published version: http://www.w3.org/tr/json-ld/ Previous

More information

The XDI Graph Model Editor: Drummond Reed, XDI TC Co-Chair

The XDI Graph Model Editor: Drummond Reed, XDI TC Co-Chair The XDI Graph Model 2012-04-12 Editor: Drummond Reed, XDI TC Co-Chair This document is a work-in-progress from the OASIS XDI Technical Committee reflecting contributions from many members of the TC. Its

More information

Semantic Web Engineering

Semantic Web Engineering Semantic Web Engineering Gerald Reif reif@ifi.unizh.ch Fr. 10:15-12:00, Room 2.A.10 RDF Schema Trust Proof Logic Ontology vocabulary RDF + RDF Schema XML + NS + XML Schema Unicode URI Digital Signature

More information

CC LA WEB DE DATOS PRIMAVERA Lecture 10: RDB2RDF. Aidan Hogan

CC LA WEB DE DATOS PRIMAVERA Lecture 10: RDB2RDF. Aidan Hogan CC7220-1 LA WEB DE DATOS PRIMAVERA 2017 Lecture 10: RDB2RDF Aidan Hogan aidhog@gmail.com Previously RDF: Proposed model for a Web of Data RDF: Proposed model for a Web of Data But where should this RDF

More information

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

COMPUTER AND INFORMATION SCIENCE JENA DB. Group Abhishek Kumar Harshvardhan Singh Abhisek Mohanty Suhas Tumkur Chandrashekhara JENA DB Group - 10 Abhishek Kumar Harshvardhan Singh Abhisek Mohanty Suhas Tumkur Chandrashekhara OUTLINE Introduction Data Model Query Language Implementation Features Applications Introduction Open Source

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES RDFS Rule-based Reasoning Sebastian Rudolph Dresden, 16 April 2013 Content Overview & XML 9 APR DS2 Hypertableau II 7 JUN DS5 Introduction into RDF 9 APR DS3 Tutorial

More information

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

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services Contents G52IWS: The Semantic Web Chris Greenhalgh 2007-11-10 Introduction to the Semantic Web Semantic Web technologies Overview RDF OWL Semantic Web Services Concluding comments 1 See Developing Semantic

More information

Information Technology Document Schema Definition Languages (DSDL) Part 1: Overview

Information Technology Document Schema Definition Languages (DSDL) Part 1: Overview ISO/IEC JTC 1/SC 34 Date: 2008-09-17 ISO/IEC FCD 19757-1 ISO/IEC JTC 1/SC 34/WG 1 Secretariat: Japanese Industrial Standards Committee Information Technology Document Schema Definition Languages (DSDL)

More information

Ontological Modeling: Part 11

Ontological Modeling: Part 11 Ontological Modeling: Part 11 Terry Halpin LogicBlox and INTI International University This is the eleventh in a series of articles on ontology-based approaches to modeling. The main focus is on popular

More information

Semantic Web Technologies: RDF + RDFS

Semantic Web Technologies: RDF + RDFS Semantic Web Technologies: RDF + RDFS RDF Language RDF Schema The limits of my language are the limits of my world. Ludwig Wittgenstein RDF Expressiveness & Semantics RDF Programming Introduction The Semantic

More information

OWL 2 Update. Christine Golbreich

OWL 2 Update. Christine Golbreich OWL 2 Update Christine Golbreich 1 OWL 2 W3C OWL working group is developing OWL 2 see http://www.w3.org/2007/owl/wiki/ Extends OWL with a small but useful set of features Fully backwards

More information

Day 2. RISIS Linked Data Course

Day 2. RISIS Linked Data Course Day 2 RISIS Linked Data Course Overview of the Course: Friday 9:00-9:15 Coffee 9:15-9:45 Introduction & Reflection 10:30-11:30 SPARQL Query Language 11:30-11:45 Coffee 11:45-12:30 SPARQL Hands-on 12:30-13:30

More information

Helmi Ben Hmida Hannover University, Germany

Helmi Ben Hmida Hannover University, Germany Helmi Ben Hmida Hannover University, Germany 1 Summarizing the Problem: Computers don t understand Meaning My mouse is broken. I need a new one 2 The Semantic Web Vision the idea of having data on the

More information

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

Semantic Technologies and CDISC Standards. Frederik Malfait, Information Architect, IMOS Consulting Scott Bahlavooni, Independent Semantic Technologies and CDISC Standards Frederik Malfait, Information Architect, IMOS Consulting Scott Bahlavooni, Independent Part I Introduction to Semantic Technology Resource Description Framework

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES Semantics of RDF(S) Sebastian Rudolph Dresden, 16 April 2013 Agenda 1 Motivation and Considerations 2 Simple Entailment 3 RDF Entailment 4 RDFS Entailment 5 Downsides

More information

Knowledge Representation RDF Turtle Namespace

Knowledge Representation RDF Turtle Namespace Knowledge Representation RDF Turtle Namespace Jan Pettersen Nytun, UiA 1 URIs Identify Web Resources Web addresses are the most common URIs, i.e., uniform Resource Locators (URLs). RDF resources are usually

More information

Simple Triples Discovery Mechanism

Simple Triples Discovery Mechanism 16 March 2018 Editorial note This is an first public draft of a standard defining a simple, generalpurpose discovery mechanism. This document is not endorsed by the FHISO membership, and may be updated,

More information

Resource Description Framework (RDF)

Resource Description Framework (RDF) Where are we? Semantic Web Resource Description Framework (RDF) # Title 1 Introduction 2 Semantic Web Architecture 3 Resource Description Framework (RDF) 4 Web of data 5 Generating Semantic Annotations

More information

OWL Tutorial. LD4P RareMat / ARTFrame Meeting Columbia University January 11-12, 2018

OWL Tutorial. LD4P RareMat / ARTFrame Meeting Columbia University January 11-12, 2018 OWL Tutorial LD4P RareMat / ARTFrame Meeting Columbia University January 11-12, 2018 Outline Goals RDF, RDFS, and OWL Inferencing OWL serializations OWL validation Demo: Building an OWL ontology in Protégé

More information

The Implementation of Semantic Web Technology in Traditional Plant Medicine

The Implementation of Semantic Web Technology in Traditional Plant Medicine The Implementation of Semantic Web Technology in Traditional Plant Medicine Nur Ana 1, A la Syauqi 2, M Faisal 3 123 Informatics Engineering, Faculty Science and Technology State Islamic University Maulana

More information

SEPA SPARQL Event Processing Architecture

SEPA SPARQL Event Processing Architecture SEPA SPARQL Event Processing Architecture Enabling distributed, context aware and interoperable Dynamic Linked Data and Web of Things applications Luca Roffia (luca.roffia@unibo.it) Web of Things: members

More information

Semantic MediaWiki A Tool for Collaborative Vocabulary Development Harold Solbrig Division of Biomedical Informatics Mayo Clinic

Semantic MediaWiki A Tool for Collaborative Vocabulary Development Harold Solbrig Division of Biomedical Informatics Mayo Clinic Semantic MediaWiki A Tool for Collaborative Vocabulary Development Harold Solbrig Division of Biomedical Informatics Mayo Clinic Outline MediaWiki what it is, how it works Semantic MediaWiki MediaWiki

More information

Introduction to Semantic Web Databases. Version 1 Prepared By: Amgad Madkour Ph.D. Candidate Purdue University April 2018

Introduction to Semantic Web Databases. Version 1 Prepared By: Amgad Madkour Ph.D. Candidate Purdue University April 2018 Introduction to Semantic Web Databases Version 1 Prepared By: Amgad Madkour Ph.D. Candidate Purdue University April 2018 Semantic Web Motivation Represents the next generation of the the world wide web

More information

OWL 2 Profiles. An Introduction to Lightweight Ontology Languages. Markus Krötzsch University of Oxford. Reasoning Web 2012

OWL 2 Profiles. An Introduction to Lightweight Ontology Languages. Markus Krötzsch University of Oxford. Reasoning Web 2012 University of Oxford Department of Computer Science OWL 2 Profiles An Introduction to Lightweight Ontology Languages Markus Krötzsch University of Oxford Reasoning Web 2012 Remark for the Online Version

More information

Chapter 13: Advanced topic 3 Web 3.0

Chapter 13: Advanced topic 3 Web 3.0 Chapter 13: Advanced topic 3 Web 3.0 Contents Web 3.0 Metadata RDF SPARQL OWL Web 3.0 Web 1.0 Website publish information, user read it Ex: Web 2.0 User create content: post information, modify, delete

More information

Learning SHACL Constraints for Validation of Relation Assertions in Knowledge Graphs

Learning SHACL Constraints for Validation of Relation Assertions in Knowledge Graphs Learning SHACL Constraints for Validation of Relation Assertions in Knowledge Graphs André Melo and Heiko Paulheim University of Mannheim B6 26, 68159 Mannheim, Germany {andre,heiko}@informatik.uni-mannheim.de

More information

Multi-agent and Semantic Web Systems: RDF Data Structures

Multi-agent and Semantic Web Systems: RDF Data Structures Multi-agent and Semantic Web Systems: RDF Data Structures Fiona McNeill School of Informatics 31st January 2013 Fiona McNeill Multi-agent Semantic Web Systems: RDF Data Structures 31st January 2013 0/25

More information

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

a paradigm for the Semantic Web RDF Data Model Angelica Lo Duca IIT-CNR Linked Open Data: RDF Data Model Angelica Lo Duca IIT-CNR angelica.loduca@iit.cnr.it Linked Open Data: a paradigm for the Semantic Web Motivation How to encode the following piece of knowledge? Theory of

More information

A Framework to Canonicalize Manufacturing Service Capability Models

A Framework to Canonicalize Manufacturing Service Capability Models A Framework to Canonicalize Manufacturing Service Capability Models Boonserm Kulvatunyou 1, Yunsu Lee 1, 2, Nenad Ivezic 1, Yun Peng 2 1 Systems Integration Division, National Institute of Standards and

More information

Semantic Web for Earth and Environmental Terminology (SWEET) Status, Future Development and Community Building

Semantic Web for Earth and Environmental Terminology (SWEET) Status, Future Development and Community Building Semantic Web for Earth and Environmental Terminology (SWEET) 2018 Status, Future Development and Community Building 2 Agenda and Purpose Current status of SWEET e.g. What has the community been doing?

More information

Processing SparQL Queries in an Object-Oriented Mediator

Processing SparQL Queries in an Object-Oriented Mediator 1-47 Uppsala Master s Theses in Computer Science 306 2007-01-07 ISSN 1100-1836 Processing SparQL Queries in an Object-Oriented Mediator Yu Cao Information Technology Computing Science Department Uppsala

More information

Table of Contents. iii

Table of Contents. iii Current Web 1 1.1 Current Web History 1 1.2 Current Web Characteristics 2 1.2.1 Current Web Features 2 1.2.2 Current Web Benefits 3 1.2.3. Current Web Applications 3 1.3 Why the Current Web is not Enough

More information

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

Semantic Web Update W3C RDF, OWL Standards, Development and Applications. Dave Beckett Semantic Web Update W3C RDF, OWL Standards, Development and Applications Dave Beckett Introduction Semantic Web Activity RDF - RDF Core OWL - WebOnt Interest Group Query, Calendaring SWAD and Applications

More information

Semantic Agent Programming Language: use and formalization.

Semantic Agent Programming Language: use and formalization. Michael Cochez Semantic Agent Programming Language: use and formalization. Master s Thesis in Information Technology March 13, 2012 UNIVERSITY OF JYVÄSKYLÄ DEPARTMENT OF MATHEMATICAL INFORMATION TECHNOLOGY

More information

Outline. Introduction Semantic Web

Outline. Introduction Semantic Web Outline Introduction Semantic Web o Vision o From the Web of Documents to the Web Of Data o Technologies o Advantages Semantic Web and Linguistics RDB2RDF o Concepts o Sparqlify (SML) PanLex2RDF Demo Discussion

More information

Analysis Data Transfer Framework "ORIENT" Specification

Analysis Data Transfer Framework ORIENT Specification NPW3C2011-002 Analysis Data Transfer Framework "ORIENT" Specification Revision 1.9 Last update: February 7, 2011 NEC Corporation NEC Corporation 2010 Table of contents 1 Introduction... 5 1.1 Objective...

More information

Web 2.0 Lecture 8: Resource Description Framework

Web 2.0 Lecture 8: Resource Description Framework Web 2.0 Lecture 8: Resource Description Framework doc. Ing. Tomáš Vitvar, Ph.D. tomas@vitvar.com @TomasVitvar http://www.vitvar.com Leopold-Franzens Universität Innsbruck and Czech Technical University

More information

Welcome to INFO216: Advanced Modelling

Welcome to INFO216: Advanced Modelling Welcome to INFO216: Advanced Modelling Theme, spring 2017: Modelling and Programming the Web of Data Andreas L. Opdahl About me Background: siv.ing (1988), dr.ing (1992) from NTH/NTNU

More information

2. Knowledge Representation Applied Artificial Intelligence

2. Knowledge Representation Applied Artificial Intelligence 2. Knowledge Representation Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences 1 Retrospective Introduction to AI What

More information

Welcome to INFO216: Advanced Modelling

Welcome to INFO216: Advanced Modelling Welcome to INFO216: Advanced Modelling Theme, spring 2018: Modelling and Programming the Web of Data Andreas L. Opdahl About me Background: siv.ing (1988), dr.ing (1992) from NTH/NTNU

More information

Implementing and extending SPARQL queries over DLVHEX

Implementing and extending SPARQL queries over DLVHEX Implementing and extending SPARQL queries over DLVHEX Gennaro Frazzingaro Bachelor Thesis Presentation - October 5, 2007 From a work performed in Madrid, Spain Galway, Ireland Rende, Italy How to solve

More information

Mapping Relational Data to RDF with Virtuoso's RDF Views

Mapping Relational Data to RDF with Virtuoso's RDF Views Mapping Relational Data to RDF with Virtuoso's RDF Views Among its many talents, OpenLink Virtuoso Universal Server includes SPARQL support and an RDF data store tightly integrated with its relational

More information