27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU1 Semantic Query Languages Atilla ELÇİ Dept. of Computer Engineering Eastern Mediterranean University.

Slides:



Advertisements
Similar presentations
Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
Advertisements

DCMI Workshop on Metadata and Search Vendor Panel Presentation Bradley P. Allen
Querying on the Web: XQuery, RDQL, SparQL Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
Native XML Database or RDBMS. Data or Document orientation If you are primarily storing documents, then a Native XML Database may be the best option.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
XML: Extensible Markup Language
RDF Tutorial.
Research topics Semantic Web - Spring 2007 Computer Engineering Department Sharif University of Technology.
Ontology Notes are from:
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
NaLIX: A Generic Natural Language Search Environment for XML Data Presented by: Erik Mathisen 02/12/2008.
SKOS and Other W3C Vocabulary Related Activities Gail Hodge Information International Assoc. NKOS Workshop Denver, CO June 10, 2005.
1 COS 425: Database and Information Management Systems XML and information exchange.
ReQuest (Validating Semantic Searches) Norman Piedade de Noronha 16 th July, 2004.
Databases: Some Research Opportunities For Latin America Marcelo Arenas Pontificia Universidad Católica de Chile Marcelo Arenas Pontificia Universidad.
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
OIL: An Ontology Infrastructure for the Semantic Web D. Fensel, F. van Harmelen, I. Horrocks, D. L. McGuinness, P. F. Patel-Schneider Presenter: Cristina.
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
Triple Stores.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Publishing data on the Web (with.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Rajashree Deka Tetherless World Constellation Rensselaer Polytechnic Institute.
Ontology Development Kenneth Baclawski Northeastern University Harvard Medical School.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
DATABASE and XML Moussa Mané. Learning Objectives ● Learn about Native XML Databases ● Learn about the conversion technology available ● Understand New.
Session II Chapter 2 – Chapter 2 – XSLhttp://
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
1 The BT Digital Library A case study in intelligent content management Paul Warren
SPARQL Semantic Web - Spring 2008 Computer Engineering Department Sharif University of Technology.
Indo-US Workshop, June23-25, 2003 Building Digital Libraries for Communities using Kepler Framework M. Zubair Old Dominion University.
Ontologies and Lexical Semantic Networks, Their Editing and Browsing Pavel Smrž and Martin Povolný Faculty of Informatics,
14/05/'07 upd 22/04/08CmpE 588 Spring 2008 EMU1 Semantic Information Access Atilla ELÇİ Dept. of Computer Engineering Eastern Mediterranean University.
21/05/'07 upd 06/05/08CmpE 588 Spring 2008 EMU1 Semantic Technology Application Show Cases Atilla ELÇİ Dept. of Computer Engineering Eastern Mediterranean.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
updated CmpE 583 Fall 2006RDF Schema- 1 CmpE 583- Web Semantics: Theory and Practice INTRODUCTION TO RDF SCHEMA Atilla ELÇİ Computer Engineering.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
XML and Database.
OWL Representing Information Using the Web Ontology Language.
Introduction to the Semantic Web and Linked Data
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
Strategies for subject navigation of linked Web sites using RDF topic maps Carol Jean Godby Devon Smith OCLC Online Computer Library Center Knowledge Technologies.
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Triple Stores. What is a triple store? A specialized database for RDF triples Can ingest RDF in a variety of formats Supports a query language – SPARQL.
05/01/2016 SPARQL SPARQL Protocol and RDF Query Language S. Garlatti.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
The Semantic Web. What is the Semantic Web? The Semantic Web is an extension of the current Web in which information is given well-defined meaning, enabling.
Steven Perry Dave Vieglais. W a s a b i Web Applications for the Semantic Architecture of Biodiversity Informatics Overview WASABI is a framework for.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
Ontology Technology applied to Catalogues Paul Kopp.
GoRelations: an Intuitive Query System for DBPedia Lushan Han and Tim Finin 15 November 2011
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.
BBY 464 Semantic Information Management (Spring 2016) Semantic Query Languages Yaşar Tonta & Orçun Madran [yasartonta, Hacettepe.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Metadata Issues in Long-term Management of Data and Metadata
XML: Extensible Markup Language
XML Related Technologies
Triple Stores.
Middleware independent Information Service
CmpE 583- Web Semantics: Theory and Practice INTRODUCTION TO RDF
CmpE 583- Web Semantics: Theory and Practice RULES & RULE MARKUP
Zachary Cleaver Semantic Web.
Triple Stores.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Introduction to Information Retrieval
Triple Stores.
Metadata supported full-text search in a web archive
Presentation transcript:

27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU1 Semantic Query Languages Atilla ELÇİ Dept. of Computer Engineering Eastern Mediterranean University

27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU2 What is Query Language?  Webopedia: A specialized language for requesting information from a database. For example, the query SELECT ALL WHERE age > 30 AND name = "Smith" Webopedialanguagedatabasequery  requests all records in which the name- field is "Smith" and the Age field has a value greater than 30. The de facto standard for query languages is SQL.records fieldde facto standardSQL

27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU3 Shortcomings of Current Query Language Technology  Query construction: Syntactic units such as keywords/terms are used. Polysemy: multiple meanings Query ambiguity: # of keywords used per query (circa 2000): 2.2!  Lack of semantics: Inability to handle synonymy & polisemy Missed semantic links  Lack of context: Missing the context to disambiguate the user’s query.  Presentation of results: Often too many results  Managing heterogeneity: Providing a coherent view of diverse sources and types of information: very difficult and unsatisfactory at the best.  Lots of data but lacking information!  High recall but low precision!

Shortcoming 2  Difficult for ordinary end user  DB schemas change over time even though the data remains unchanged  Addition of a new set of data or archiving existing data may also result in schema changes ==> These non-semantic changes imply changes in queries therefore updates on IS relying on such queries. [Yuan & Jones] 27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU4

Semantic Access to RDB Data  Most data is kept in RDB sets due to various resons  Some challenges of semantic access to existing RDB data: Lack of explicit ontology of RDB data Mapping:  the semantic model (ontology) to the underlying data model; or  the semantic query primitives to the relational query primitives  “In order to successfully push down the semantic query evaluation as much as possible into a RDB query engine, a generic mapping structure needs to be developed between ontologies and relational data models and theoretical foundation needs to be built between the semantic query formalisms and the relational calculus/algebra.” Result transformation: Query answer transformation: converting query answers out of the RDB engine into an instantiation of ontology:  How to formulate the URI for each instance?  how to preserve the intermediate query answers efficiently? Performance 27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU5

27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU6 Advantages of Semantic Web Technology (Retrofitted for Semantic Query Language Technology)  Resolving shortcomings of the current query languages by: Exploiting machine-processable metadata Using ontological concepts to define queries Using semantic relations in defining queries Providing information not simply data  Future search engines must rely on “information-centric” approach including semantic query languages rather than document-centric one in order to seek: Relevant sections not simply documents Digest of info from several docs/sections

.QL  An object-oriented query language used to retrieve data from relational database management systems. [Wikipedia]database management systemsWikipedia .QL language reference..QL language reference  A private initiative of Semmle Limited.Semmle Limited 27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU7

Library of Congress’ CQL  CQL: Contextual Query Language (SRU Version 1.2 Specifications)SRU Version 1.2 Specifications Note its query syntax and some examples. Note its BNF definition. 27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU8

OASIS Core Standards  OASIS Cover Pages: process history of generating XML query languages: XQuery and its lesser brother XPath in the XSLT technology line for full-text search over XML documents.Cover Pages 27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU9

XQuery: XML Query Language  XQuery is a query language (with some programming language features) that is designed to query collections of XML data. It is semantically similar to SQL. [Wikipedia]query languageprogramming language XMLsemantically similarSQLWikipedia  XQuery is a functional language comprised of several kinds of expressions that can be nested and composed with full generality.  XQuery tutorial by DonChamberlin (an editor of XQuery language specifications): XQuery: An XML query language. In IBM Systems Journal, Vol 41, No 4, 2002, pp: XQuery tutorial Take note of the complexity of syntax, For example: even simple cases like Q7 & Q8. And, see sample function definitions.  Current: XQuery 1.0 and XPath 2.0 Full-Text 1.0 as W3C Working Draft dated 18 May 2007.W3C Working Draft dated 18 May /04/08 rev 29/4/08CmpE 588 Spring 2008 EMU10

RDF Query Language  A RDF query language is a computer language able to retrieve and manipulate data stored in Resource Description Framework format. Resource Description Framework  Check Wikipedia entry for links to a list of RDF query languages, such as, DQL, N3QL, R- DEVICE, RDFQ, RDQ, RDQL, RQL/RVL, SeRQL, Versa, XUL, and Adenine.Wikipedia entry  SPARQL is now a defacto standard. 27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU11

W3C SPARQL  SPARQL (pronounced "sparkle" [1] ) is an RDF query language. [Wikipedia]sparkle [1]RDF query languageWikipedia  Its name is a recursive acronym that stands for SPARQL Protocol and RDF Query Language  Standardized by W3C RDF Data Access Working Group.W3C RDF Data Access Working Group  SPARQL Protocol for RDF: Protocol for RDF  It uses WSDL 2.0 to describe a means for conveying SPARQL queries to an SPARQL query processing service and returning the query results to the entity that requested them.WSDL 2.0  SPARQL Query Language for RDFQuery Language for RDF W3C Recommendation 15 January 2008 Defines the syntax and semantics of SPARQL query language for RDF. 27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU12

SPARQL Query Language for RDFQuery Language for RDF  Can express queries across diverse data sources, such as stored natively as RDF or viewed as RDF via middleware.  Can query required and optional graph patterns, their conjunctions and disjunctions.  Supports extensible value testing and constraining queries by source RDF graph.  The results of SPARQL queries can be results sets or RDF graphs.  Examples: Example in Wikipedia entry.Wikipedia Sect. 1 & 2 in W3C Recommendation 15 January 2008W3C Recommendation 15 January /04/08 rev 29/4/08CmpE 588 Spring 2008 EMU13

SPARQL Software  ESW Wiki Entry: SparqlImplementationsSparqlImplementations 27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU14

27/04/08 rev 29/4/08CmpE 588 Spring 2008 EMU15 References  W3C Semantic Web Tools Wiki page.Semantic Web Tools  Jun Yuan, David H. Jones: Enabling Semantic Access to Enterprise RDB Data, Position Paper for W3C workshop on RDF Access to Relational Databases. Mathematics & Computing Technology, Boeing Phantom Works, P.O. Box 3707, M/C 7L-70, Seattle, Washington, 98124, U.S.A. Here. Jun YuanDavid H. JonesHere