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

Size: px
Start display at page:

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

Transcription

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

2 Retrospective Knowledge Representation (1/2) What is the purpose of knowledge representation? Give examples for classes, individuals, relationships, and rules What is an ontology? Name different knowledge representation approaches What does reasoning mean? Give an example. How does it work? Explain open word assumption and closed world assumption. What are the differences? What are implications of the assumption made? (tbc ) 2

3 Retrospective Knowledge Representation (2/2) What is a resource in RDF? How are namespaces used? What is an RDF triple? How are classes declared in RDF(S)? How are individuals (instances) assigned to classes? What are differences between classes / instances in RDF(S) and in object-orientation? How are properties declared in RDF(S)? How are properties used? Name the Semantic Web principle. What are the implications? Which serialization syntaxes exist for RDF? 3

4 Agenda SPARQL Services / Products Map 4

5 SPARQL Query Language Query Language for RDF Standardized by W3C Current Version: 1.1 Specification: 5

6 Namespaces Namespace prefix definition (slightly different from RDF) Example: PREFIX dbpedia: < PREFIX yago: < PREFIX rdf: < PREFIX rdfs: < PREFIX dbpedia-owl: < PREFIX dbpprop: < PREFIX foaf: < PREFIX xsd: < 6

7 Simple SELECT query: What is Raphael s nationality? PREFIX dbpedia: < PREFIX Keywords dbpedia-owl: SELECT, < WHERE PREFIX dbpprop: < PREFIX simliar yago: to SQL < Variable prefixed by? SELECT?n WHERE { dbpedia:raphael dbpedia-owl:nationality?n. Result when executed in Protegé: dbpedia:italy 7

8 Find all Italian Artists SELECT?p WHERE {?p rdf:type dbpedia-owl:person ; dbpedia-owl:nationality dbpedia:italy. No Abbreviated Notation as in RDF 8

9 Multiple result variables: Artists with their nationality SELECT?p?n WHERE {?p rdf:type dbpedia-owl:person ; dbpedia-owl:nationality?n. No If all used Variables shall be returned then SELECT * may be used 9

10 SELECT DISTINCT: What nationalities do Artists have? SELECT DISTINCT?n WHERE {?p rdf:type dbpedia-owl:person ; dbpedia-owl:nationality?n. No Abbreviated Notation as in RDF 10

11 Path expressions: Paintings by Italian artists SELECT?a WHERE {?a rdf:type yago:painting ; dbpprop:artist/dbpedia-owl:nationality dbpedia:italy. No Path expression using /. Abbreviation for:?a dbpprop:artist?p.?p dbpedia-owl:nationality dbpedia:italy. 11

12 Transitive closures: Artists who were born in Spain No SELECT DISTINCT?p WHERE {?p dbpedia-owl:birthplace?l.?l dbpedia-owl:ispartof* dbpedia:spain. * : Zero to n predicates dbpedia-owl:ispartof, e.g. dbpedia:barcelona dbpedia-owl:ispartof dbpedia:catalonia. dbpedia:catalonia dbpedia-owl:ispartof dbpedia:spain. 12

13 More SPARQL concepts ASK queries: checks for a condition and returns a boolean result CONSTRUCT queries: generate new RDF statements like production rules FILTER: allows to formulate additional conditions, e.g., on datatypes OPTIONAL: specifies optional values EXISTS / NOT EXISTS: negation GROUP BY, HAVING: aggregation ORDER BY: sorting Subqueries 13

14 Construct paintings, sculptures, artists, museums, artistic movements (1/2) To be executed on Dbpedia SPARQL endpoint CONSTRUCT {?artwork rdf:type?type ; dbpprop:artist?artist ; rdfs:label?label ; dbpprop:year?year ; dbpedia-owl:abstract?abstract ; foaf:depiction?depiction ; dbpprop:museum?museum. PREFIX dbpedia: < PREFIX yago: < PREFIX rdf: < PREFIX rdfs: < PREFIX dbpedia-owl: < PREFIX dbpprop: < PREFIX foaf: < PREFIX dbp-res: < PREFIX xsd: < rdf:type dbpedia-owl:person ; rdfs:label?artistlabel ; dbpedia-owl:birthdate?birthdate ; dbpedia-owl:deathdate?deathdate ; dbpedia-owl:birthplace?birthplace ; dbpedia-owl:deathplace?deathplace ; dbpedia-owl:nationality?nationality ; dbpedia-owl:abstract?artistabstract ; dbpedia-owl:movement?movement ; dbpedia-owl:influencedby?influence ; foaf:depiction?artistdepiction.?movement rdf:type yago:artisticmovement ; rdfs:label?movementlabel ; dbpedia-owl:abstract?movementabstract.?museum rdf:type yago:museum ; rdfs:label?museumlabel ; dbpedia-owl:abstract?museumabstract ; dbpprop:website?museumwebsite ; foaf:depiction?museumdepiction ; dbpedia-owl:location?museumlocation ; dbpprop:latitude?lat ; dbpprop:longitude?long. WHERE... 14

15 Construct paintings, sculptures, artists, museums, artistic movements (2/2)... WHERE {?artwork rdf:type?type ; dbpprop:artist?artist ; rdfs:label?label ; dbpedia-owl:abstract?abstract ; foaf:depiction?depiction. FILTER (?type = yago:painting ?type = yago:sculpture ) FILTER ( lang(?label) = "en" ) FILTER ( lang(?abstract ) = "en" ) OPTIONAL {?artwork dbpprop:year?year. FILTER ( datatype(?year ) = xsd:integer )?artist rdf:type dbpedia-owl:person ; rdfs:label?artistlabel ; dbpedia-owl:abstract?artistabstract. FILTER ( lang(?artistlabel) = "en" ) FILTER ( lang(?artistabstract ) = "en" ) OPTIONAL {?artist dbpedia-owl:birthdate?birthdate. FILTER ( datatype(?birthdate ) = xsd:date ) OPTIONAL {?artist dbpedia-owl:deathdate?deathdate. FILTER ( datatype(?deathdate ) = xsd:date ) OPTIONAL {?artist dbpedia-owl:birthplace?birthplace.?birthplace rdf:type yago:location OPTIONAL {?artist dbpedia-owl:deathplace?deathplace.?deathplace rdf:type yago:location OPTIONAL {?artist dbpedia-owl:nationality?nationality.?nationality rdf:type yago:location OPTIONAL {?artist dbpedia-owl:influencedby?influence.?influence rdf:type dbpedia-owl:person. OPTIONAL {?artist foaf:depiction?artistdepiction OPTIONAL {?artist dbpedia-owl:movement?movement. as yago:artisticmovement ?movement rdfs:label?movementlabel ; dbpedia-owl:abstract?movementabstract. FILTER ( lang(?movementlabel ) = "en" ) FILTER ( lang(?movementabstract ) = "en" ) OPTIONAL {?artwork dbpprop:museum?museum.?museum rdf:type yago:museum ; rdfs:label?museumlabel ; dbpedia-owl:abstract?museumabstract. FILTER ( lang(?museumlabel ) = "en" ) FILTER ( lang(?museumabstract ) = "en" ) OPTIONAL {?museum dbpprop:website?museumwebsite. OPTIONAL {?museum foaf:depiction?museumdepiction. OPTIONAL {?museum dbpedia-owl:location?museumlocation.?museumlocation rdf:type yago:location OPTIONAL {?museum dbpprop:latitude?lat ; dbpprop:longitude?long. FILTER ( datatype(?lat) = xsd:double) FILTER ( datatype(?long) = xsd:double) 15

16 Construct location hierarchies for artists PREFIX dbpedia: < PREFIX yago: < PREFIX rdf: < PREFIX rdfs: < PREFIX dbpedia-owl: < PREFIX dbpprop: < PREFIX foaf: < PREFIX dbp-res: < PREFIX xsd: < CONSTRUCT {?location2 rdf:type yago:location ; rdfs:label?label ; dbpedia-owl:abstract?abstract ; geo:lat?lat ; geo:long?long.?location2 dbpedia-owl:ispartof?location3. WHERE { {?artwork rdf:type yago:painting UNION {?artwork rdf:type yago:sculpture {?artwork dbpprop:artist/(dbpedia-owl:birthplace dbpedia-owl:deathplace dbpedia-owl:nationality)?location. UNION {?artwork dbpprop:museum/dbpedia-owl:location?location.?location (dbpedia-owl:ispartof dbpedia-owl:city dbpedia-owl:country)*?location2.?location2 rdf:type yago:location ; rdfs:label?label. FILTER ( lang(?label ) = "en" ) OPTIONAL {?location2 dbpedia-owl:abstract?abstract ; geo:lat?lat ; geo:long?long. FILTER ( lang(?abstract ) = "en" ) OPTIONAL {?location2(dbpedia-owl:ispartof dbpedia-owl:city dbpedia-owl:country)?location3. 16

17 Construct ontology classes PREFIX yago: < PREFIX rdf: < PREFIX rdfs: < PREFIX dbpedia-owl: < PREFIX dbpprop: < PREFIX foaf: < PREFIX dbp-res: < PREFIX xsd: < CONSTRUCT {?c3 rdfs:subclassof?c4 ; rdf:type?t ; rdfs:label?l ; rdfs:comment?c. WHERE {?c1 rdfs:subclassof?c2. FILTER (?c1 = yago:painting ?c1 = yago:sculpture ?c1 = dbpedia-owl:person?c1 = yago:artisticmovement ?c1 = yago:museum ?c1 = yago:location )?c1 rdfs:subclassof*?c3.?c3 rdfs:subclassof?c4. OPTIONAL {?c3 rdf:type?t. OPTIONAL {?c3 rdfs:label?l. FILTER ( lang(?l ) = "en" ) OPTIONAL {?c3 rdfs:comment?c. FILTER ( lang(?c ) = "en" ) 17

18 Agenda SPARQL Services / Products Map 18

19 Services and product maps A services map depicts groups of functionality that products offer in a certain area like knowledge representation. Eamples: - Knowledge editor - Reasoning engine A product map maps the services to specific products (tools and tool suites; commercial and open source) Examples: - Protégé - Pellet 19

20 Method for selecting products in a project 1. Mark the services which are relevant in this project. 2. Retrieve products that cover the relevant services from the product map product candidates 3. Select a product or a set of products 1. Determine evaluation criteria, e.g., programming language, operating system, performance, price, etc. 2. Remove product candidates that fail on a criterion product short list (2-5 products) 3. Determine criteria for each candidate on the short list 4. Select candidate(s) with best fit. 4. If more than one product was chosen (best-of-breed approach) integrate the products for your solution. 20

21 Knowledge Editor Data Integration / Semantic Enrichment Knowledge Resources Knowledge Representation Services Map Product bundle for many knowledge representation services KB access via programming language Off-the-shelf ontologies Integrated Environment API Query Engine Reasoner Knowledge Base 21 Editing ontologies Storing ontologies Inferencing Integrating knowledge resources

22 Knowledge Editor Data Integration / Semantic Enrichment Knowledge Resources Knowledge Representation Product Map Topbraid Suite, OntoStudio, Virtuoso, GraphDB, AllegroGraph, Sesame, JENA, Integrated Environment API Query Engine Reasoner Knowledge Base 22 Protégé, Topbraid Composer, Pellet, FaCT++, HermiT,.. Dbpedia, YAGO, CYC, WikiData, GND,

23 Product Map as a table 23

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

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

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

2. RDF Semantic Web Basics Semantic Web

2. RDF Semantic Web Basics Semantic Web 2. RDF Semantic Web Basics Semantic Web Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences Summer semester 2011 1 Agenda Semantic Web Basics Literature

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

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

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

Layers of Abstraction to Semantic Web Programming

Layers of Abstraction to Semantic Web Programming Reasoning Applications activity UML Activity Diagrams EPC Diagrams... activity split decision-split join decision-and decision-or decision-xor join-and join-or join-xor start decision-join end followed-by

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

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

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

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

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

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

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

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

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

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

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

COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN

COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN Konstantinos Kontakis, Malvina Steiakaki, Michael Kalochristianakis, Kostas Kapetanakis and Athanasios G. Malamos Acknowledgements This

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

Connecting SMW to RDF Databases: Why, What, and How?

Connecting SMW to RDF Databases: Why, What, and How? University of Oxford Department of Computer Science Connecting SMW to RDF Databases: Why, What, and How? Markus Krötzsch University of Oxford SMWCon 2011 Fall, Berlin * * Talk given during the 2011 papal

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

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

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

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 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 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

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

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

JENA: A Java API for Ontology Management

JENA: A Java API for Ontology Management JENA: A Java API for Ontology Management Hari Rajagopal IBM Corporation Page Agenda Background Intro to JENA Case study Tools and methods Questions Page The State of the Web Today The web is more Syntactic

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

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

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

SADI Semantic Web Services

SADI Semantic Web Services SADI Semantic Web Services London, UK 8 December 8 2011 SADI Semantic Web Services Instructor: Luke McCarthy http:// sadiframework.org/training/ 2 Contents 2.1 Introduction to Semantic Web Services 2.1

More information

Unit 1 a Bird s Eye View on RDF(S), OWL & SPARQL

Unit 1 a Bird s Eye View on RDF(S), OWL & SPARQL Unit 1 a Bird s Eye View on RDF(S), OWL & SPARQL Axel Polleres Siemens AG Österreich VU 184.729 Semantic Web Technologies A. Polleres VU 184.729 1/48 Unit Outline 1. Motivation Aggregating Web Data 2.

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

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

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

Introduction to RDF and the Semantic Web for the life sciences

Introduction to RDF and the Semantic Web for the life sciences Introduction to RDF and the Semantic Web for the life sciences Simon Jupp Sample Phenotypes and Ontologies Team European Bioinformatics Institute jupp@ebi.ac.uk Practical sessions Converting data to RDF

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

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

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 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

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

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

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

Semantic Web. Lecture XIII Tools Dieter Fensel and Katharina Siorpaes. Copyright 2008 STI INNSBRUCK

Semantic Web. Lecture XIII Tools Dieter Fensel and Katharina Siorpaes. Copyright 2008 STI INNSBRUCK Semantic Web Lecture XIII 25.01.2010 Tools Dieter Fensel and Katharina Siorpaes Copyright 2008 STI INNSBRUCK Today s lecture # Date Title 1 12.10,2009 Introduction 2 12.10,2009 Semantic Web Architecture

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

Profiles Research Networking Software API Guide

Profiles Research Networking Software API Guide Profiles Research Networking Software API Guide Documentation Version: March 13, 2013 Software Version: ProfilesRNS_1.0.3 Table of Contents Overview... 2 PersonID, URI, and Aliases... 3 1) Profiles RNS

More information

Semantic Web Rules. - Tools and Languages - Holger Knublauch. Tutorial at Rule ML 2006, Athens, GA

Semantic Web Rules. - Tools and Languages - Holger Knublauch. Tutorial at Rule ML 2006, Athens, GA Semantic Web Rules - Tools and Languages - Tutorial at Rule ML 2006, Athens, GA Holger Knublauch Semantic Web Languages RDF Schema OWL SWRL Jena Rules Language SPARQL RDF Triples are the common foundation

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

Extracting knowledge from Ontology using Jena for Semantic Web

Extracting knowledge from Ontology using Jena for Semantic Web Extracting knowledge from Ontology using Jena for Semantic Web Ayesha Ameen I.T Department Deccan College of Engineering and Technology Hyderabad A.P, India ameenayesha@gmail.com Khaleel Ur Rahman Khan

More information

Representing and Querying Linked Geospatial Data

Representing and Querying Linked Geospatial Data Representing and Querying Linked Geospatial Data Kostis Kyzirakos kostis@cwi.nl Centrum voor Wiskunde en Informatica Database Architectures group University of Athens School of Science Faculty of Informatics

More information

6. RDFS Modeling Patterns Semantic Web

6. RDFS Modeling Patterns Semantic Web 6. RDFS Modeling Patterns Semantic Web Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences Summer semester 2011 1 Agenda RDFS Modeling Patterns Literature

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

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

An overview of RDB2RDF techniques and tools

An overview of RDB2RDF techniques and tools An overview of RDB2RDF techniques and tools DERI Reading Group Presentation Nuno Lopes August 26, 2009 Main purpose of RDB2RDF WG... standardize a language for mapping Relational Database schemas into

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

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

Programming with LOD. Fumihiro Kato

Programming with LOD. Fumihiro Kato Programming with LOD Fumihiro Kato Research Organization of Information and Systems Transdisciplinary Research Integration Center National Institute of Informatics 1 Linked Data Principles 1. Use URIs

More information

Introducing Layers of Abstraction to Semantic Web Programming 1

Introducing Layers of Abstraction to Semantic Web Programming 1 Introducing Layers of Abstraction to Semantic Web Programming 1 Bernhard G. Humm, Alexey Korobov Hochschule Darmstadt University of Applied Sciences, Haardtring 100, 64295 Darmstadt, Germany Bernhard.Humm@h-da.de

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

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

Query RDF Data (SPARQL)

Query RDF Data (SPARQL) Query RDF Data (SPARQL) 1 Querying RDF graphs Jena example: StmtIterator iter=model.liststatements(subject,null,null); while(iter.hasnext()) { st = iter.next(); p = st.getproperty(); o = st.getobject();

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

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

Scalable Reduction of Large Datasets to Interesting Subsets

Scalable Reduction of Large Datasets to Interesting Subsets Scalable Reduction of Large Datasets to Interesting Subsets Gregory Todd Williams, Jesse Weaver, Medha Atre, and James A. Hendler Tetherless World Constellation, Rensselaer Polytechnic Institute, Troy,

More information

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

Enhancing Security Exchange Commission Data Sets Querying by Using Ontology Web Language MPRA Munich Personal RePEc Archive Enhancing Security Exchange Commission Data Sets Querying by Using Ontology Web Language sabina-cristiana necula Alexandru Ioan Cuza University of Iasi September 2011

More information

FOCUS MEETING ON FAIR DATA DEVELOPMENTS. Luiz Olavo Bonino -

FOCUS MEETING ON FAIR DATA DEVELOPMENTS. Luiz Olavo Bonino - FOCUS MEETING ON FAIR DATA DEVELOPMENTS Luiz Olavo Bonino - luiz.bonino@dtls.nl SUMMARY What is FAIR data? The FAIR ecosystem Plans and how to realise Produces Consumes stewardship privacy? sustainability

More information

Generating of RDF graph from a relational database using Jena API

Generating of RDF graph from a relational database using Jena API Generating of RDF graph from a relational database using Jena API Jamal BAKKAS #1, Mohamed BAHAJ #2 # Department of Mathematics and computer science, University Hassan I, FSTS FST Settat, Km 3, B.P.:57,

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

Index. Callimachus, 112 Contexts and Dependency Injection (CDI), 111 createdefaultmodel() method, 94 CubicWeb, 109 Cypher Query Language (CQL), 188

Index. Callimachus, 112 Contexts and Dependency Injection (CDI), 111 createdefaultmodel() method, 94 CubicWeb, 109 Cypher Query Language (CQL), 188 Index A AllegroGraph ACID implementation, 151 client installation, 156 editions, 151 graph algorithms, 152 Gruff, 160 high-performance storage, 213 Java API connection() method, 157 create method, 157

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

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

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

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

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

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

Energy-related data integration using Semantic data models for energy efficient retrofitting projects

Energy-related data integration using Semantic data models for energy efficient retrofitting projects Sustainable Places 2017 28 June 2017, Middlesbrough, UK Energy-related data integration using for energy efficient retrofitting projects Álvaro Sicilia ascilia@salleurl.edu FUNITEC, La Salle Architecture

More information

Semantic Web: Core Concepts and Mechanisms. MMI ORR Ontology Registry and Repository

Semantic Web: Core Concepts and Mechanisms. MMI ORR Ontology Registry and Repository Semantic Web: Core Concepts and Mechanisms MMI ORR Ontology Registry and Repository Carlos A. Rueda Monterey Bay Aquarium Research Institute Moss Landing, CA ESIP 2016 Summer meeting What s all this about?!

More information

RDFS. Suresh Manandhar* & Dimitar Kazakov

RDFS. Suresh Manandhar* & Dimitar Kazakov ARIN KR Lecture 3 RDFS Suresh Manandhar* & Dimitar Kazakov *Several of these slides are based on tutorial by Ivan Herman (W3C) reproduced here with kind permission. All changes and errors are mine. 1 Lecture

More information

ISWC 2017 Tutorial: Semantic Data Management in Practice

ISWC 2017 Tutorial: Semantic Data Management in Practice ISWC 2017 Tutorial: Semantic Data Management in Practice Part 1: Introduction Olaf Hartig Linköping University olaf.hartig@liu.se @olafhartig Olivier Curé University of Paris-Est Marne la Vallée olivier.cure@u-pem.fr

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

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

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

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3 Today: RDF syntax + conjunctive queries for OWL KR4SW Winter 2010 Pascal Hitzler 3 Today s Session: RDF Schema 1. Motivation 2. Classes and Class Hierarchies 3. Properties and Property Hierarchies 4. Property

More information

DBpedia-An Advancement Towards Content Extraction From Wikipedia

DBpedia-An Advancement Towards Content Extraction From Wikipedia DBpedia-An Advancement Towards Content Extraction From Wikipedia Neha Jain Government Degree College R.S Pura, Jammu, J&K Abstract: DBpedia is the research product of the efforts made towards extracting

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

A short tutorial on rrdf

A short tutorial on rrdf A short tutorial on rrdf Egon L. Willighagen Copyright (C) November 30, 2012 This tutorial is licensed Creative Commons BY-SA. 1 Introduction After RDF and SPARQL integration into Bioclipse was finished,

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

Using RDF to Model the Structure and Process of Systems

Using RDF to Model the Structure and Process of Systems Using RDF to Model the Structure and Process of Systems Marko A. Rodriguez Jennifer H. Watkins Johan Bollen Los Alamos National Laboratory {marko,jhw,jbollen}@lanl.gov Carlos Gershenson New England Complex

More information

Rajashree Deka Tetherless World Constellation Rensselaer Polytechnic Institute

Rajashree Deka Tetherless World Constellation Rensselaer Polytechnic Institute Rajashree Deka Tetherless World Constellation Rensselaer Polytechnic Institute Ø The majority of data underpinning the Web are stored in Relational Databases (RDB). Ø Advantages: Secure and scalable architecture.

More information

W3C Workshop on RDF Access to Relational Databases October, 2007 Boston, MA, USA D2RQ. Lessons Learned

W3C Workshop on RDF Access to Relational Databases October, 2007 Boston, MA, USA D2RQ. Lessons Learned W3C Workshop on RDF Access to Relational Databases 25-26 October, 2007 Boston, MA, USA D2RQ Lessons Learned Christian Bizer Richard Cyganiak Freie Universität Berlin The D2RQ Plattform 2002: D2R MAP dump

More information

FedX: Optimization Techniques for Federated Query Processing on Linked Data. ISWC 2011 October 26 th. Presented by: Ziv Dayan

FedX: Optimization Techniques for Federated Query Processing on Linked Data. ISWC 2011 October 26 th. Presented by: Ziv Dayan FedX: Optimization Techniques for Federated Query Processing on Linked Data ISWC 2011 October 26 th Presented by: Ziv Dayan Andreas Schwarte 1, Peter Haase 1, Katja Hose 2, Ralf Schenkel 2, and Michael

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

R2RML: RDB to RDF Mapping Language

R2RML: RDB to RDF Mapping Language 1 : RDB to RDF Mapping Language Werner Nutt 2 Acknowledgment These slides are based on a slide set by Mariano Rodriguez 3 Reading Material/Sources specification by W3C http://www.w3.org/tr/r2rml/ specification

More information

Programming THE SEMANTIC WEB. Build an application upon Semantic Web models. Brief overview of Apache Jena and OWL-API.

Programming THE SEMANTIC WEB. Build an application upon Semantic Web models. Brief overview of Apache Jena and OWL-API. Programming THE SEMANTIC WEB Build an application upon Semantic Web models. Brief overview of Apache Jena and OWL-API. Recap: Tools Editors (http://semanticweb.org/wiki/editors) Most common editor: Protégé

More information

Semantic Web Technologies: Theory & Practice. Axel Polleres Siemens AG Österreich

Semantic Web Technologies: Theory & Practice. Axel Polleres Siemens AG Österreich Semantic Web Technologies: Theory & Practice Siemens AG Österreich 1 The Seman*c Web in W3C s view: 2 3. Shall allow us to ask structured queries on the Web 2. Shall allow us to describe the structure

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