Dr. Alexandra I. Cristea SPARQL Exerciess.

Slides:



Advertisements
Similar presentations
Digital Repositories – Linked Open Data – the possible Role of D4Science Workshop, December 2010, FAO use cases A tool to create Linked Data providers.
Advertisements

Schema Matching and Query Rewriting in Ontology-based Data Integration Zdeňka Linková ICS AS CR Advisor: Július Štuller.
Alexandra Cristea & Matthew Yau 1.
 Copyright 2004 Digital Enterprise Research Institute. All rights reserved. SPARQL Query Language for RDF presented by Cristina Feier.
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
Creating Banded Reports im CF using Nested tags Douglas M. Smith Application Architect Automation Creations, Inc.
Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.
Actual Trends Semantic Web Lecture WS 2010/2011. What‘s next? W3C view: Look at Semantic Web activity:
Exercise Exercise3.1 8 Exercise3.1 9 Exercise
Exercise Exercise Exercise Exercise
Exercise Exercise Exercise Exercise
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
Exercise Exercise6.1 7 Exercise6.1 8 Exercise6.1 9.
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
Creating an ERD John Wright Where to Start We need a description of some kind from interviews, questionnaires, etc Armed with the description we can.
Identifying things. Four rules of linked data Use URIs as names for things Use HTTP URIs so that people can look up those names. When someone looks up.
Logics for Data and Knowledge Representation SPARQL Protocol and RDF Query Language (SPARQL) Feroz Farazi.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
1 XPath XPath became a W3C Recommendation 16. November 1999 XPath is a language for finding information in an XML document XPath is used to navigate through.
Using someone else’s words as your own by: ≈ Directly copying from a book or other work ≈ “Cut and paste” from the Internet Use “quotation marks” around.
 The dewey decimal system works like this there is a call number and it has two parts the DDS and the cutter number. The DDS comes first and then the.
Querying with SPARQL Tuesday, October 28, 2014 Technical Exchange on Network Management Interoperability Andrea Westerinen JHU-APL/Nine Points Solutions.
SPARQL AN RDF Query Language. SPARQL SPARQL is a recursive acronym for SPARQL Protocol And Rdf Query Language SPARQL is the SQL for RDF Example: PREFIX.
Some of the best books of  &mid= A23D2FC75CD A23D2FC75CD7.
Logics for Data and Knowledge Representation SPARQL -- Exercises Feroz Farazi.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
SQL introduction. RHS – SOC 2 Getting data out of databases Databases are ”just” containers of data We could – in principle – just put data in a text.
© Copyright 2008 STI INNSBRUCK RDF Best Practice Best Practice Recipes for Publishing RDF Vocabularies W3C Working.
8.1.4 Can it still be factored? Factoring Completely I can factor out a common factor.
post- after occurring or continuing after death; usually related to a book that is published after the author has died.
Putting the ‘search’ in research
CC L A W EB DE D ATOS P RIMAVERA 2015 Lecture 7: SPARQL (1.0) Aidan Hogan
This is Not a Book About …. Author: Illustrator: Class: Date:
Title Page The title page is the first page in the book. It tells you the title of the book, the author and the illustrator. It also tells you who published.
Formal Semantics Purpose: formalize correct reasoning.
Power Designer n See course web page for additional information on using Power Designer n Business rules – Come from a description of activities – Example.
Name: Ms. Weber.  ds/science-space-kids/solar-system-101-kids/
Lala Hajibayova.  Project aims to  Create RDF model of FRBR, based on sample of five OCLC bibliographic records  Query model using SPARQL and Jena.
DATA MODELING AND ENTITY-RELATIONSHIP MODEL II IST 210: Organization of Data IST210 1.
Midway evaluation Your name. Title of your PhD work Title.
Presentation Title.
Presentation Title.
How to Search Books (OPAC guide)
Subjects in the FR family
Vincenzo Maltese, Fausto Giunchiglia University of Trento
CC La Web de Datos Primavera 2017 Lecture 7: SPARQL [i]
DATA INTEGRATION FOR LANGUAGE DOCUMENTATION
RDF and RDB 1 Some slides adapted from a presentation by Ivan Herman at the Semantic Technology & Business Conference, 2012.
1-6 Relations Goals: Represent relations as tables, ordered pairs, graphs and mappings. Eligible Content: A / A / A / A
Triple click and type your book title and author here
APA Brochure Citation.
Presentation Title Here
The Coordinate Plane Chapter 2 Integers pg. 88.
Logics for Data and Knowledge Representation
Amazom.com “Product/Book Information Management Business Process”
CC La Web de Datos Primavera 2016 Lecture 7: SPARQL (1.0)
Information needed for citing sources:
  30 A 30 B 30 C 30 D 30 E 77 TOTALS ORIGINAL COUNT CURRENT COUNT
Group 1 Group 1 Group 1 Group 1 word word word word word word word word word word word word word word word word word word word word word word word.
Logics for Data and Knowledge Representation
The parts of a scholarly book
Section 4 - Sorting/Functions
Triple click and type your book title and author here
Type your presentation title here
Logics for Data and Knowledge Representation
1-6 Relations Goals: Represent relations as tables, ordered pairs, graphs and mappings. Eligible Content: A / A / A / A
Book report: Harry Potter
Presentation Title Your information.
Linked Open Data in 10 Minutes Sandro Hawke, W3C
Book Report Non- Fiction Text.
Presentation transcript:

Dr. Alexandra I. Cristea SPARQL Exerciess

Exercise 1  Suppose that an RDF model represents information about real world entities of unknown types. The entities can be persons, locations, books, monuments, organizations, etc. (i) Write a SPARQL query to return all possible information about all kinds of entities. (ii) Write a SPARQL query that can return at most 5 triples representing information

Exercise 2 Given that an RDF model represents information about books and the model is created using standard vocabularies. (i) Write a SPARQL query that can return the authors of the books. Note that books can be represented as URIs. (ii) Write a SPARQL query that can return the titles and authors of the books. (iii) Write a SPARQL query that can return the date of publication of the books.

Exercise 3 Given that an RDF model represents information about books and the model is created using standard vocabularies. (i) Write a SPARQL query that returns the authors and publishers of the books for which publisher information is available. (ii) Write a SPARQL query that returns the authors and publishers of the books for which publisher might or might not be (or optionally) available.

Exercise 4 Given that an RDF model represents information about books and the model is created using standard vocabularies. (i) Write a SPARQL query that returns the authors of the books in descending order. (ii) Write a SPARQL query that returns the authors of the books that have titles start with “Harry Potter”. (iii) Write a SPARQL query that returns the authors of the books that have titles containing the term “deathly” or “Deathly”.

Exercise 5 Given that an RDF model represents information about various entities including books and the model is created using standard vocabularies. (i) Write a SPARQL query that separates information about books i.e. title and author and creates another RDF model that is a subset of the original one. (ii) Write a SPARQL query that separates information about books i.e. title, author and publisher (if any) and creates another RDF model that is a subset of the original one.