Day 2. RISIS Linked Data Course

Size: px
Start display at page:

Download "Day 2. RISIS Linked Data Course"

Transcription

1 Day 2 RISIS Linked Data Course

2 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 Lunch 13:30-14:00 Linksets & Lenses for Aligning Datasets 14:00-14:30 Linked Data Publishing 14:30-14:45 Coffee 14:45-16:00 Data Publishing Hands-On 16:00-17:00 Actual Research

3 SPARQL Query Language Rinke Hoekstra,

4 Questions Goals How can we query Linked Data Know the syntax of SPARQL What is the syntax of SPARQL How can we use SPARQL Understand how to query Linked Data on the Web Know about standard vocabularies in Linked Data

5

6 Deep Breath by Tomas A

7 RDF - Where is it? As separate files, e.g. as.ttl,.rdf,.nt, etc. Integrated with Web pages (RDFa/Microdata) Accessible through content negotiation curl -L -H "Accept: text/turtle" " curl -L -H "Accept: text/html" " In RDF-specific databases called triple stores A standard HTTP REST API for querying using the SPARQL language This API is called a SPARQL endpoint

8 SPARQL - The SPARQL Protocol and RDF Query Language The SPARQL Protocol specifies how to query Triple stores over HTTP The SPARQL Query Language specifies a syntax for writing queries There are six types of queries SELECT, CONSTRUCT, INSERT, DELETE, ASK, DESCRIBE?

9 SPARQL - Query Syntax PREFIX: the namespace prefixes used in the SPARQL query PREFIX dbo: < SELECT?city WHERE {?city dbo:areacode "020". } LIMIT 10 SELECT: the entities (variables) you want to return WHERE: the (sub)graph you want to get information from... including additional constraints on results (using operators)

10 SPARQL - Graph Pattern The WHERE clause specifies a graph pattern that should be matched can match multiple times A graph pattern is an RDF graph with some nodes & edges as variables dbo:country "020"^^xsd:string rdf:type??? dbo:capital

11 SPARQL - Triple Patterns A graph pattern consists of multiple triple patterns A triple pattern is a triple with zero or more variables?x dbo:capital dbpedia:amsterdam.?x dbo:capital?y.?x dbo:areacode "020".?x?p?y dbo:country "020"^^xsd:string dbpedia:netherlands rdf:type dbo:country ; dbo:capital dbpedia:amsterdam. rdf:type dbo:areacode dbpedia:amsterdam dbo:areacode "020". dbpedia:the_netherlands dbo:capital dbpedia:amsterdam

12 SPARQL - Triple patterns form a conjunction Every triple pattern should match PREFIX dbo: < SELECT?x WHERE {?x dbo:capital?y.?y dbo:areacode "020". } LIMIT 10 dbo:country "020"^^xsd:string rdf:type? dbo:capital?? dbo:country rdf:type dbpedia:the_netherlands "020"^^xsd:string dbo:areacode dbo:capital dbpedia:amsterdam "020"^^xsd:string dbo:areacode dbpedia:westminster

13 SPARQL - But we can also use disjunctions At least one of the graph patterns should match PREFIX dbo: < SELECT?y WHERE { {?y dbo:areacode "020". } UNION {?y dbo:areacode "010". } } LIMIT 10 "020"^^xsd:string "010"^^xsd:string dbo:areacode dbo:areacode dbpedia:amsterdam dbpedia:rotterdam

14 SPARQL - Optional graphs A part of the graph pattern is optional, and does not need to match PREFIX dbo: < SELECT?x?y WHERE {?y dbo:areacode "020". OPTIONAL {?x dbo:capital?y. } } LIMIT 10 dbo:country "020"^^xsd:string "020"^^xsd:string rdf:type dbo:areacode & dbo:areacode dbpedia:the_netherlands dbo:capital dbpedia:amsterdam dbpedia:westminster

15 Filtering query results Tests in the FILTER clause have to be validated for matching subgraphs PREFIX dbo: < SELECT?y WHERE {?y dbo:areacode "020".?y dbo:populationtotal?x. FILTER (?x > ) } "020"^^xsd:string dbo:areacode dbpedia:amsterdam dbo:populationtotal "790654"^^xsd:integer "020"^^xsd:string dbo:areacode dbpedia:borehamwood dbo:populationtotal "28546"^^xsd:integer

16 SPARQL - Solution modifiers Sorting using ORDER BY PREFIX dbo: < PREFIX rdfs: < SELECT?label WHERE {?place dbo:areacode "020"; rdfs:label?label. } ORDER BY DESC (?label) LIMITing the number of results PREFIX dbo: < PREFIX rdfs: < SELECT?label WHERE {?y dbo:areacode "020"; rdfs:label?label. FILTER (lang(?label) = "en" ) } ORDER BY DESC(?label) LIMIT 10 DISTINCT results PREFIX dbo: < PREFIX dbpedia: < PREFIX rdf: < SELECT DISTINCT?name WHERE {?country rdf:type dbo:country ; dbo:capital?ams.?ams dbo:country dbpedia:netherlands ; rdfs:label?name. FILTER (lang(?name) = "en" ) }

17 SPARQL - Property Paths Not interested in variable bindings Transitively walk over the same property relation Are interested in alternatives without having to write a UNION PREFIX dbo: < PREFIX dbpedia: < PREFIX rdf: < PREFIX skos: < SELECT DISTINCT?name WHERE {?country rdf:type dbo:country ; dbo:capital PREFIX dbo:?city < {?city rdfs:label PREFIX dbpedia:?name < } UNION PREFIX rdf: < {?city skos:preflabel PREFIX skos:?name < } FILTER (lang(?name) = "en" ) } SELECT DISTINCT?name WHERE {?country rdf:type dbo:country ; dbo:capital/(rdfs:label skos:preflabel)?name. } FILTER (lang(?name) = "en" ) }

18 SELECT returns a table with variable bindings CONSTRUCT returns a RDF graph PREFIX dbo: < PREFIX ex: < CONSTRUCT {?y ex:kengetal "020". } WHERE {?y dbo:areacode "020". } ASK returns true or false DESCRIBE returns a RDF graph INSERT is like CONSTRUCT, but inserts the graph into the triple store PREFIX dbo: < PREFIX dbr: < ASK WHERE { dbr:amsterdam dbo:areacode "020". } PREFIX dbr: < DESCRIBE dbr:amsterdam PREFIX dbo: < PREFIX ex: < INSERT {?y ex:kengetal "020". } WHERE {?y dbo:areacode "020". } SPARQL Update

19 SPARQL - More features Named Graphs provide context for statements they contain GRAPH < { } Aggregates COUNT, SUM, MIN, MAX, AVG, GROUP_CONCAT and SAMPLE Grouping and group aggregates GROUP BY and HAVING Negation MINUS Functions IF, BOUND, EXISTS, NOT EXISTS, IN, NOT IN &&,, =, <, >, =>, =< isiri, isblank, isliteral, isnumeric, str, lang, datatype STRLEN, SUBSTR, CONTAINS, CONCAT, REGEX now, year, month, day, hours, minutes, seconds and more Provide data inline VALUES

20

21 SPARQL - Querying the Linked Data Cloud DBPedia + = LOD Cache: DBPedia + Geonames + NY Times + MusicBrainz +... Same query, different results! PREFIX dbo: < PREFIX owl: < SELECT DISTINCT?x?y WHERE {?x dbo:areacode "020".?y owl:sameas?x. FILTER (?x!=?y) }

22 SPARQL - Summary Linked Data is usually stored in triple stores SPARQL is the query language for the Web of Linked Data Queries are sent to SPARQL endpoints over HTTP Queries describe graph patterns with variables Graph patterns match (parts of) the RDF graphs stored in the triple store Results are returned as a table with variable bindings (JSON, XML, TSV, CSV )

23 Linked Data Lifecycle Interlinking Authoring Enrichment Storage/ Querying Linked (Open) Data Lifecycle Quality Analysis Extraction Evolution Exploration

24 Exploration

25 Exploration RDF - Vocabularies The RDF vocabulary and RDFS reserved terms needed for the data model Geonames locations Friend of a Friend (FOAF) persons and relations between persons Dublin Core (DC and DCTerms) bibliographic attributes (author, title, etc.) DBPedia Ontology DBPedia is at the heart of the Web of Data Data Cube (QB) statistical data Simple Knowledge Organization System (SKOS) concept hierarchies and mappings Web Ontology Language (OWL) formal constraints on class membership

26 Exploration RDF - The RDF Vocabulary Namespace < Usual prefix rdf (NB: needs to be declared, like all others) Important elements rdf:type links a resource to a type rdf:resource is the type of all resources rdf:property is the type of all predicates Examples geo:amsterdam rdf:type rdf:resource. geo:containedin a rdf:property. rdf:type a rdf:property.

27 Exploration RDFS - The RDF Schema Vocabulary Namespace < Usual prefix rdfs (NB: needs to be declared, like all others) Important elements rdfs:label links a resource to its name rdfs:class is the type of all types rdfs:subclassof inheritance over types rdfs:subpropertyof inheritance over properties Examples geo:amsterdam rdfs:label geo:containedin rdfs:subpropertyof ex:partof. geo:amsterdam a ex:city. ex:city rdfs:subclassof ex:place.

28 Exploration FOAF - The Friend-of-a-Friend Vocabulary Namespace < Usual prefix foaf Important elements foaf:person a person, alive, dead, imaginary foaf:name the name of a person foaf:mbox the URI of a person foaf:knows one person knows another person Examples vu:rinke_hoekstra rdf:type foaf:person ; foaf:knows vu:albert_merono ; foaf:name "Rinke Hoekstra".

29 Exploration DC - The Dublin Core Vocabulary Namespace < Usual prefix dct Important elements dct:creator a document's main author dct:created the creation date dct:description a natural language description dct:title the title of the document Examples vu:swprimer dct:creator vu:rinke_hoekstra ; dct:created "2012"^^xsd:date. dct:title "A Semantic Web ".

30 Exploration RDF Data Cube Vocabulary Published by the Government Linked Data Working Group Designed for multidimensional statistical data Inspired by existing standards (SDMX) and methods (OLAP) slice dimension ID surname age occupation sex married_to 1 Fumes 20 cigar maker female 25 observation 2 Bridges 32 civil engineer female 64 3 Moves 17 dancer male 325 code

31 Exploration RDF Data Cube Vocabulary Used to represent the data structure of datasets Identify the role of attributes (dimension, measure, annotation)... Predictable graph structure Bridges surname occupation... surname married_to 64 age age 2 married_to occupation sex female... civil engineer

32 RDF Data Cube Vocabulary Exploration

33 Interlinking A moment of reflection Can we use SPARQL for interlinking?

34 Hands On

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

3. Queries Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences

3. Queries Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences 3. Queries Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences 1 Retrospective Knowledge Representation (1/2) What is

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

SPARQL By Example: The Cheat Sheet

SPARQL By Example: The Cheat Sheet SPARQL By Example: The Cheat Sheet Accompanies slides at: http://www.cambridgesemantics.com/semantic-university/sparql-by-example Comments & questions to: Lee Feigenbaum VP

More information

Chapter 3 Querying RDF stores with SPARQL

Chapter 3 Querying RDF stores with SPARQL Chapter 3 Querying RDF stores with SPARQL Why an RDF Query Language? l Why not use an XML query language? l XML at a lower level of abstraction than RDF l There are various ways of syntactically representing

More information

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

Semantic Web Technologies: Assignment 1. Axel Polleres Siemens AG Österreich Semantic Web Technologies: Assignment 1 Siemens AG Österreich 1 The assignment: 2 FOAF: 1. Create your own FOAF file. You can use a generator tool such as FOAF- a- Ma>c to generate a skeleton. 2. Make

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

SPARQL QUERY LANGUAGE WEB:

SPARQL QUERY LANGUAGE   WEB: SPARQL QUERY LANGUAGE JELENA JOVANOVIC EMAIL: JELJOV@GMAIL.COM WEB: HTTP://JELENAJOVANOVIC.NET SPARQL query language W3C standard for querying RDF graphs Can be used to query not only native RDF data,

More information

SEMANTIC WEB 07 SPARQL TUTORIAL BY EXAMPLE: DBPEDIA IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD

SEMANTIC WEB 07 SPARQL TUTORIAL BY EXAMPLE: DBPEDIA IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD SEMANTIC WEB 07 SPARQL TUTORIAL BY EXAMPLE: DBPEDIA IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD WWW.IMRANIHSAN.COM VIRTUOSO SERVER DOWNLOAD Open Link Virtuoso Server http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/main/vosdownload

More information

Today s Plan. INF3580/4580 Semantic Technologies Spring Reminder: RDF triples. Outline. Lecture 4: The SPARQL Query Language.

Today s Plan. INF3580/4580 Semantic Technologies Spring Reminder: RDF triples. Outline. Lecture 4: The SPARQL Query Language. Today s Plan INF3580/4580 Semantic Technologies Spring 2015 Lecture 4: The SPARQL Query Language Kjetil Kjernsmo 9th February 2015 4 Department of Informatics University of Oslo INF3580/4580 :: Spring

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

Introducing Linked Data

Introducing Linked Data Introducing Linked Data (Part of this work was funded by PlanetData NoE FP7/2007-2013) Irini Fundulaki 1 1 Institute of Computer Science FORTH & W3C Greece Office Manager EICOS : 4th Meeting, Athens, Greece

More information

Interacting with Linked Data Part I: General Introduction

Interacting with Linked Data Part I: General Introduction Interacting with Linked Data Part I: General Introduction Agenda Part 0: Welcome Part I: General Introduction to Semantic Technologies Part II: Advanced Concepts Part III: OWLIM Part IV: Information Workbench-

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

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

Filter: Evaluable Expression. List Syntax. Tests. Filter: Evaluable Expression. Tests : functions. Tests 06/09/2013. (1?x v )

Filter: Evaluable Expression. List Syntax. Tests. Filter: Evaluable Expression. Tests : functions. Tests 06/09/2013. (1?x v ) SPARQL 2 W3C RDF Data Access SPARQL W3C Simple Protocol And RDF Query Language olivier.corby@inria.fr Use Case and Requirements : http://www.w3.org/tr/rdf-dawg-uc Query language : http://www.w3.org/tr/rdf-sparql-query

More information

INFO216: Advanced Modelling

INFO216: Advanced Modelling INFO216: Advanced Modelling Theme, spring 2018: Modelling and Programming the Web of Data Andreas L. Opdahl Session 3: SPARQL Themes: introducing SPARQL Update SPARQL 1.1 Update

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

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna)

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna) Formalising the Semantic Web (These slides have been written by Axel Polleres, WU Vienna) The Semantics of RDF graphs Consider the following RDF data (written in Turtle): @prefix rdfs: .

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

Lars Schmidt-Thieme, Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany, Course on XML and Semantic Web

Lars Schmidt-Thieme, Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany, Course on XML and Semantic Web Course on XML and Semantic Web Technologies, summer term 2012 0/45 XML and Semantic Web Technologies XML and Semantic Web Technologies II. Semantic Web / 3. SPARQL Query Language for RDF Lars Schmidt-Thieme

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

Global standard formats for opening NLK data. Adding to the Global Information Ecosystem

Global standard formats for opening NLK data. Adding to the Global Information Ecosystem Sam Oh Professor, Sungkyunkwan University, LIS Affiliate Professor, University of Washington ISO/IEC JTC1/SC34 Chair ISO TC46/SC9 Chair DCMI Oversight Committee Member Jinho Park Senior Researcher, National

More information

Web NDL Authorities SPARQL API Specication

Web NDL Authorities SPARQL API Specication Web NDL Authorities SPARQL API Specication National Diet Library of Japan March 31th, 2014 Contents 1 The Outline of the Web NDLA SPARQL API 2 1.1 SPARQL query API.................................... 2

More information

XML and Semantic Web Technologies. III. Semantic Web / 3. SPARQL Query Language for RDF

XML and Semantic Web Technologies. III. Semantic Web / 3. SPARQL Query Language for RDF XML and Semantic Web Technologies XML and Semantic Web Technologies III. Semantic Web / 3. SPARQL Query Language for RDF Lars Schmidt-Thieme Information Systems and Machine Learning Lab (ISMLL) Institute

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

Inception of RDF: Context

Inception of RDF: Context Inception of RDF: Context Fukuoka City Homepage Gnavi page (Fukuoka) Municipal Documents (Fukuoka city) List of nursery in Fukuoka The www is a mine of information This is however mostly unstructured information

More information

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

Linked data and its role in the semantic web. Dave Reynolds, Epimorphics Linked data and its role in the semantic web Dave Reynolds, Epimorphics Ltd @der42 Roadmap What is linked data? Modelling Strengths and weaknesses Examples Access other topics image: Leo Oosterloo @ flickr.com

More information

Querying RDF & RDFS. Several query languages exist to retrieve

Querying RDF & RDFS. Several query languages exist to retrieve Knowledge management: Querying with SPARQL 1 Querying RDF & RDFS Several query languages exist to retrieve resulting triples from RDF RDQL SERQL SPARQL These languages use triple patterns as input and

More information

OLAP over Federated RDF Sources

OLAP over Federated RDF Sources OLAP over Federated RDF Sources DILSHOD IBRAGIMOV, KATJA HOSE, TORBEN BACH PEDERSEN, ESTEBAN ZIMÁNYI. Outline o Intro and Objectives o Brief Intro to Technologies o Our Approach and Progress o Future Work

More information

Linked Data: What Now? Maine Library Association 2017

Linked Data: What Now? Maine Library Association 2017 Linked Data: What Now? Maine Library Association 2017 Linked Data What is Linked Data Linked Data refers to a set of best practices for publishing and connecting structured data on the Web. URIs - Uniform

More information

SPARQL Protocol And RDF Query Language

SPARQL Protocol And RDF Query Language SPARQL Protocol And RDF Query Language WS 2011/12: XML Technologies John Julian Carstens Department of Computer Science Communication Systems Group Christian-Albrechts-Universität zu Kiel March 1, 2012

More information

SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri

SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri Mon Jun 07 2004 12:07:51 Europe/London SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri Project name: Semantic Web Advanced Development for Europe (SWAD-Europe) Project Number: IST-2001-34732

More information

Reminder: RDF triples

Reminder: RDF triples Reminder: RDF triples The RDF data model is similar to classical conceptual modelling approaches such as entity relationship or class diagrams it is based on the idea of making statements about resources

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

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

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, 2018 Version 3 RDFS RDF Schema Mustafa Jarrar Birzeit University 1 Watch this lecture and download the slides Course Page: http://www.jarrar.info/courses/ai/

More information

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

a paradigm for the Semantic Web Linked Data Angelica Lo Duca IIT-CNR Linked Open Data: Linked Data Angelica Lo Duca IIT-CNR angelica.loduca@iit.cnr.it Linked Open Data: a paradigm for the Semantic Web Linked Data are a series of best practices to connect structured data through the Web.

More information

BUILDING THE SEMANTIC WEB

BUILDING THE SEMANTIC WEB BUILDING THE SEMANTIC WEB You might have come across the term Semantic Web Applications often, during talks about the future of Web apps. Check out what this is all about There are two aspects to the possible

More information

Introduction to a Web of Linked Data

Introduction to a Web of Linked Data Introduction to a Web of Linked Data Week 3: SPARQL Query Language Accessing Data Sources on the Web Olivier Corby Week 3: SPARQL Query Language Query RDF triple stores published on the Web 1 Week 3: SPARQL

More information

INF3580 SPRING 2014 EXERCISES WEEK 4

INF3580 SPRING 2014 EXERCISES WEEK 4 INF3580 SPRING 2014 EXERCISES WEEK 4 Martin G. Skjæveland 10 mars 2014 4 SPARQL Read Semantic Web Programming: chapter 6. Foundations of Semantic Web Technologies: chapter 7. 4.1 Query engine In this exercise

More information

path-based language Versa (see XPath for RDF forward/backward traversal, filtering, but no support for restructuring/constructing

path-based language Versa (see   XPath for RDF forward/backward traversal, filtering, but no support for restructuring/constructing 1.1 Querying Semantic Web SPARQL History of RDF Query Languages relational-based SPARQL, RQL, TRIPLE, Xcerpt, SeRQL reactive-rule language Algea (see http://www.w3.org/2001/annotea) actions (ask, assert,

More information

Publishing Statistical Data as Linked Data «The RDF Data Cube Vocabulary»

Publishing Statistical Data as Linked Data «The RDF Data Cube Vocabulary» Publishing Statistical Data as Linked Data «The RDF Data Cube Vocabulary» George Papastefanatos Irene Petrou Institute for the Management of Information Systems RC Athena Open Data Day 2013@ Athens Data

More information

Jena.

Jena. Jena http://openjena.org/ The Beginning... From: McBride, Brian Date: Mon, 28 Aug 2000 13:40:03 +0100 To: "RDF Interest (E-mail)" A few weeks ago I posted

More information

Semantic Web. Lecture 12: SW Programming Dr. Knarig Arabshian

Semantic Web. Lecture 12: SW Programming Dr. Knarig Arabshian Semantic Web Lecture 12: SW Programming Dr. Knarig Arabshian Knarig.arabshian@hofstra.edu Hello Semantic Web World Example Say hello to the Semantic Web Say hello to some friends of the Semantic Web Expand

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

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

Nested Queries in SPARQL

Nested Queries in SPARQL Nested Queries in SPARQL Renzo Angles Claudio Gutierrez Presented by: Nuno Lopes Stefan.Decker@deri.org http://www.stefandecker.org/! Copyright 2010. All rights reserved. Motivation for nested queries

More information

An Introduction to Linked Open Data

An Introduction to Linked Open Data An Introduction to Linked Open Data Felix.Ostrowski@googlemail.com (@literarymachine) Pascal Christoph@hbz-nrw.de (@dr0ide) Adrian Pohl@hbz-nrw.de (@acka47) #swib12 Pre-Conference Workshop Monday, November

More information

SPARQL: An RDF Query Language

SPARQL: An RDF Query Language SPARQL: An RDF Query Language Wiltrud Kessler Institut für Maschinelle Sprachverarbeitung Universität Stuttgart Semantic Web Winter 2015/16 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike

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

The R2R Framework: Christian Bizer, Andreas Schultz. 1 st International Workshop on Consuming Linked Data (COLD2010) Freie Universität Berlin

The R2R Framework: Christian Bizer, Andreas Schultz. 1 st International Workshop on Consuming Linked Data (COLD2010) Freie Universität Berlin 1 st International Workshop on Consuming Linked Data (COLD2010) November 8, 2010, Shanghai, China The R2R Framework: Publishing and Discovering i Mappings on the Web Christian Bizer, Andreas Schultz Freie

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

Semantic challenges in sharing dataset metadata and creating federated dataset catalogs

Semantic challenges in sharing dataset metadata and creating federated dataset catalogs Linked Open Data in Agriculture MACS-G20 Workshop in Berlin, September 27th 28th, 2017 Semantic challenges in sharing dataset metadata and creating federated dataset catalogs The example of the CIARD RING

More information

Making BioPAX SPARQL

Making BioPAX SPARQL Making BioPAX SPARQL hands on... start a terminal create a directory jena_workspace, move into that directory download jena.jar (http://tinyurl.com/3vlp7rw) download biopax data (http://www.biopax.org/junk/homosapiens.nt

More information

Querying Semantic Web Data

Querying Semantic Web Data Querying Semantic Web Data Lalana Kagal Decentralized Information Group MIT CSAIL Eric Prud'hommeaux Sanitation Engineer World Wide Web Consortium SPARQL Program Graph patterns Motivations for RDF RDF

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

The Semantic Web. What is the Semantic Web?

The Semantic Web. What is the Semantic Web? The Semantic Web Alun Preece Computing Science, University of Aberdeen (from autumn 2007: School of Computer Science, Cardiff University) What is the Semantic Web, and why do we need it now? How does the

More information

SPARQL เอกสารหล ก ใน มคอ.3

SPARQL เอกสารหล ก ใน มคอ.3 SPARQL SLIDES REFERENCE: SEMANTIC WEB PRIMER BOOK เอกสารหล ก ใน มคอ.3 Why an RDF Query Language? Different XML Representations XML at a lower level of abstraction than RDF There are various ways of syntactically

More information

Today s Plan. INF3580 Semantic Technologies Spring Outline. Oblig 4. Lecture 13: More SPARQL. Kjetil Kjernsmo.

Today s Plan. INF3580 Semantic Technologies Spring Outline. Oblig 4. Lecture 13: More SPARQL. Kjetil Kjernsmo. Today s Plan INF3580 Semantic Technologies Spring 2011 Lecture 13: More SPARQL Kjetil Kjernsmo 26th April 2011 1 2 4 Department of Informatics University of Oslo INF3580 :: Spring 2011 Lecture 13 :: 26th

More information

SPARQL. Dr Nicholas Gibbins

SPARQL. Dr Nicholas Gibbins SPARQL Dr Nicholas Gibbins nmg@ecs.soton.ac.uk Semantic Web Applications Technologies considered so far allow us to create representation schemes (RDFS, OWL) and to represent data (RDF) We can put data

More information

Usage of Linked Data Introduction and Application Scenarios. Presented by: Barry Norton

Usage of Linked Data Introduction and Application Scenarios. Presented by: Barry Norton Usage of Linked Data Introduction and Application Scenarios Presented by: Barry Norton Agenda 1. Motivation Scenario 2. Linked Data Foundations 3. Introduction to Linked Data 4. Linked Data use case scenarios

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

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

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

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

Knowledge Representation VII - IKT507. SPARQL stands for SPARQL Protocol And RDF Query Language

Knowledge Representation VII - IKT507. SPARQL stands for SPARQL Protocol And RDF Query Language Knowledge Representation VII - IKT507 This sentence is false! PARQL stands for PARQL Protocol And RDF Query Language Jan Pettersen Nytun, UiA 1 The emantic Web tack Hierarchy of languages, where each layer

More information

Representing Linked Data as Virtual File Systems

Representing Linked Data as Virtual File Systems Representing Linked Data as Virtual File Systems Bernhard Schandl University of Vienna Department of Distributed and Multimedia Systems http://events.linkeddata.org/ldow2009#ldow2009 Madrid, Spain, April

More information

Semantic Information Retrieval: An Ontology and RDFbased

Semantic Information Retrieval: An Ontology and RDFbased Semantic Information Retrieval: An Ontology and RDFbased Model S. Mahaboob Hussain Assistant Professor, CSE Prathyusha Kanakam Assistant Professor, CSE D. Suryanarayana Professor, CSE Swathi Gunnam PG

More information

Semantic Integration with Apache Jena and Apache Stanbol

Semantic Integration with Apache Jena and Apache Stanbol Semantic Integration with Apache Jena and Apache Stanbol All Things Open Raleigh, NC Oct. 22, 2014 Overview Theory (~10 mins) Application Examples (~10 mins) Technical Details (~25 mins) What do we mean

More information

SPAR-QL. Mario Arrigoni Neri

SPAR-QL. Mario Arrigoni Neri SPAR-QL Mario Arrigoni Neri 1 Introduction 2 SPARQL = SPARQL Protocol and RDF Query Language SPARQL - query language to manipulate information in RDF graphs. It provides support to: extract information

More information

Semantic Web and Python Concepts to Application development

Semantic Web and Python Concepts to Application development PyCon 2009 IISc, Bangalore, India Semantic Web and Python Concepts to Application development Vinay Modi Voice Pitara Technologies Private Limited Outline Web Need better web for the future Knowledge Representation

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

CC LA WEB DE DATOS PRIMAVERA Lecture 3: RDF Semantics and Schema. Aidan Hogan

CC LA WEB DE DATOS PRIMAVERA Lecture 3: RDF Semantics and Schema. Aidan Hogan CC6202 1 LA WEB DE DATOS PRIMAVERA 2016 Lecture 3: RDF Semantics and Schema Aidan Hogan aidhog@gmail.com LAST TIME (1) Data, (2) Rules/Ontologies, (3) Query, RDF: Resource Description Framework RDF Properties

More information

Part II. Representation of Meta-Information

Part II. Representation of Meta-Information Part II Representation of Meta-Information 43 As we have seen in Chapter 3, quality-based information filtering policies rely on different types of meta-information about information itself, the information

More information

RDF Schema. Mario Arrigoni Neri

RDF Schema. Mario Arrigoni Neri RDF Schema Mario Arrigoni Neri Semantic heterogeneity Standardization: commitment on common shared markup If no existing application If market-leaders can define de-facto standards Translation: create

More information

BIOLOGICAL PATHWAYS AND THE SEMANTIC WEB

BIOLOGICAL PATHWAYS AND THE SEMANTIC WEB BIOLOGICAL PATHWAYS AND THE SEMANTIC WEB Andra Waagmeester, Tina Kutmon, Egon Willighagen, and Alex Pico Univ. Maastricht, NL, and Gladstone Institutes, CA, USA What we will talk about today Introduc*on

More information

infoh509 xml & web technologies lecture 9: sparql Stijn Vansummeren February 14, 2017

infoh509 xml & web technologies lecture 9: sparql Stijn Vansummeren February 14, 2017 infoh509 xml & web technologies lecture 9: sparql Stijn Vansummeren February 14, 2017 what have we gained? Current no structure Future structured by RDF (subject, predicate, object) b:genome b:field b:molecular-bio

More information

BASI DI DATI II 2 modulo Parte VIII: SPARQL

BASI DI DATI II 2 modulo Parte VIII: SPARQL BASI DI DATI II 2 modulo Parte VIII: SPARQL Prof. Riccardo Torlone Università Roma Tre Outline Querying RDF SPARQL Query Languages: SQL A language for querying collections of tuples: SELECT SALARY, HIRE_DATE

More information

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

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa OSM Lecture (14:45-16:15) Takahira Yamaguchi OSM Exercise (16:30-18:00) Susumu Tamagawa TBL 1 st Proposal Information Management: A Proposal (1989) Links have the following types: depends on is part of

More information

Semantic Web. Querying on the Web: XQuery, RDQL, SparQL. Morteza Amini. Sharif University of Technology Fall 94-95

Semantic Web. Querying on the Web: XQuery, RDQL, SparQL. Morteza Amini. Sharif University of Technology Fall 94-95 ه عا ی Semantic Web Querying on the Web: XQuery, RDQL, SparQL Morteza Amini Sharif University of Technology Fall 94-95 Outline XQuery Querying on XML Data RDQL Querying on RDF Data SparQL Another RDF query

More information

INSPIRE metadata and DCAT-AP: Mapping summary

INSPIRE metadata and DCAT-AP: Mapping summary INSPIRE metadata and DCAT-AP: Mapping summary (Version 0.1, 12 June 2014) 1 Status of this document This is the preliminary result of an exercise carried out at the Joint Research Centre of the European

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

Semantic Web and Linked Data

Semantic Web and Linked Data Semantic Web and Linked Data Petr Křemen December 2012 Contents Semantic Web Technologies Overview Linked Data Semantic Web Technologies Overview Semantic Web Technology Stack from Wikipedia. http://wikipedia.org/wiki/semantic_web,

More information

Linked Data and RDF. COMP60421 Sean Bechhofer

Linked Data and RDF. COMP60421 Sean Bechhofer 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

More information

Linking Distributed Data across the Web

Linking Distributed Data across the Web Linking Distributed Data across the Web Dr Tom Heath Researcher, Platform Division Talis Information Ltd tom.heath@talis.com http://tomheath.com/ Overview Background From a Web of Documents to a Web of

More information

DBPedia (dbpedia.org)

DBPedia (dbpedia.org) Matt Harbers Databases and the Web April 22 nd, 2011 DBPedia (dbpedia.org) What is it? DBpedia is a community whose goal is to provide a web based open source data set of RDF triples based on Wikipedia

More information

Linked Data Semantic Web Technologies 1 (2010/2011)

Linked Data Semantic Web Technologies 1 (2010/2011) Linked Data Semantic Web Technologies 1 (2010/2011) Sebastian Rudolph Andreas Harth Institute AIFB www.kit.edu Data on the Web Increasingly, web sites provide direct access to data Using Semantic Web standards,

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

Lecture 7: Linked Data

Lecture 7: Linked Data Lecture 7: Linked Data TIES4520 Semantic Technologies for Developers Autumn 2017 University of Jyväskylä Khriyenko Oleksiy Linked Data Linked Data is a recommended best practice for exposing, sharing,

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Semester 2, 2017 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 5 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2465 1 Semantic

More information

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

Today s Plan. INF3580 Semantic Technologies Spring RDF on the Web. Outline. Lecture 13: Publishing RDF Data on the Web. Today s Plan INF3580 Semantic Technologies Spring 2010 Lecture 13: Publishing RDF Data on the Web Martin Giese 11th May 2010 1 Introduction 2 3 Linking RDF to HTML 4 Department of Informatics University

More information

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

Web Science & Technologies University of Koblenz Landau, Germany. RDF Schema. Steffen Staab. Semantic Web Web Science & Technologies University of Koblenz Landau, Germany RDF Schema RDF Schemas Describe rules for using RDF properties Are expressed in RDF Extends original RDF vocabulary Are not to be confused

More information

Apache Marmotta. Multimedia Management

Apache Marmotta. Multimedia Management for Multimedia Management Jakob Frank, Thomas Kurz http://marmotta.apache.org/ Who are we? Jakob Frank Researcher at Salzburg Research Solution Architect at Redlink GmbH ASF Committer of Marmotta Thomas

More information

SPARQL. Part III. Jan Pettersen Nytun, UiA

SPARQL. Part III. Jan Pettersen Nytun, UiA ARQL Part III Jan Pettersen Nytun, UiA 1 Agenda P Example with: - RDER BY - UM Example continues with: - GRUP BY - GRUP BY together with UM Example continues with: - HAVING - BIND - CNCAT New example with:

More information

Early analysis and debugging of linked open data cubes

Early analysis and debugging of linked open data cubes Early analysis and debugging of linked open data cubes Enrico Daga 1 Mathieu d Aquin 1 Aldo Gangemi 2 Enrico Motta 1 1 KMi - The Open University {enrico.daga,mathieu.daquin,enrico.motta}@open.ac.uk 2 ISTC-CNR

More information

The P2 Registry

The P2 Registry The P2 Registry -------------------------------------- Where the Semantic Web and Web 2.0 meet Digital Preservation David Tarrant, Steve Hitchcock & Les Carr davetaz / sh94r / lac @ecs.soton.ac.uk School

More information

Orchestrating Music Queries via the Semantic Web

Orchestrating Music Queries via the Semantic Web Orchestrating Music Queries via the Semantic Web Milos Vukicevic, John Galletly American University in Bulgaria Blagoevgrad 2700 Bulgaria +359 73 888 466 milossmi@gmail.com, jgalletly@aubg.bg Abstract

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

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) 2 ITARC 2010 Stockholm 100420 Olle Olsson World Wide Web Consortium (W3C) Swedish Institute of Computer Science (SICS) 3 Contents Trends in information / data Critical factors... growing importance Needs

More information

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) 2 ITARC 2010 Stockholm 100420 Olle Olsson World Wide Web Consortium (W3C) Swedish Institute of Computer Science (SICS) 3 Contents Trends in information / data Critical factors... growing importance Needs

More information