BIT 3193 MULTIMEDIA DATABASE CHAPTER 4 : QUERING MULTIMEDIA DATABASES.

Slides:



Advertisements
Similar presentations
CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
Advertisements

Multimedia Database Systems
Group 3 Akash Agrawal and Atanu Roy 1 Raster Database.
Introduction to Structured Query Language (SQL)
Information Retrieval in Practice
1 Query Languages. 2 Boolean Queries Keywords combined with Boolean operators: –OR: (e 1 OR e 2 ) –AND: (e 1 AND e 2 ) –BUT: (e 1 BUT e 2 ) Satisfy e.
Introduction to Structured Query Language (SQL)
CS335 Principles of Multimedia Systems Content Based Media Retrieval Hao Jiang Computer Science Department Boston College Dec. 4, 2007.
Organizing Data & Information
Introduction to Databases Transparencies
Visual Information Retrieval Chapter 1 Introduction Alberto Del Bimbo Dipartimento di Sistemi e Informatica Universita di Firenze Firenze, Italy.
Information retrieval Finding relevant data using irrelevant keys Example: database of photographic images sorted by number, date. DBMS: Well structured.
CH 11 Multimedia IR: Models and Languages
Introduction to Structured Query Language (SQL)
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Overview of Search Engines
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
CORE 2: Information systems and Databases STORAGE & RETRIEVAL 2 : SEARCHING, SELECTING & SORTING.
1 Introduction to databases concepts CCIS – IS department Level 4.
ASP.NET Programming with C# and SQL Server First Edition
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
Multimedia Databases (MMDB)
Introduction to Accounting Information Systems
Database Technical Session By: Prof. Adarsh Patel.
Chapter 7 Web Content Mining Xxxxxx. Introduction Web-content mining techniques are used to discover useful information from content on the web – textual.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Database System Concepts and Architecture
Concepts and Terminology Introduction to Database.
Chapter 7 Working with Databases and MySQL PHP Programming with MySQL 2 nd Edition.
1 University of Palestine Topics In CIS ITBS 3202 Ms. Eman Alajrami 2 nd Semester
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
 Three-Schema Architecture Three-Schema Architecture  Internal Level Internal Level  Conceptual Level Conceptual Level  External Level External Level.
Query Processing. 2 Basic Concepts Query Processing – activities involved in retrieving and manipulating data from the database: SQL query translation.
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
4 1 SEARCHING THE WEB Using Search Engines and Directories Effectively New Perspectives on THE INTERNET.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
Next Generation Search Engines Ehsun Daroodi 1 Feb, 2003.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
XML and Database.
2005/12/021 Fast Image Retrieval Using Low Frequency DCT Coefficients Dept. of Computer Engineering Tatung University Presenter: Yo-Ping Huang ( 黃有評 )
Database Management System. DBMS A software package that allows users to create, retrieve and modify databases. A database is a collection of related.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. DATABASE.
Managing Data Resources File Organization and databases for business information systems.
Databases and Database User ch1 Define Database? A database is a collection of related data.1 By data, we mean known facts that can be recorded and that.
Information Retrieval in Practice
Best pTree organization? level-1 gives te, tf (term level)
Visual Information Retrieval
Designing Cross-Language Information Retrieval System using various Techniques of Query Expansion and Indexing for Improved Performance  Hello everyone,
Module 11: File Structure
Introduction Multimedia initial focus
Text Based Information Retrieval
Chapter Ten Managing a Database.
Chapter 12 Information Systems.
Week 12 Option 3: Database Design
CS 430: Information Discovery
Database Management Systems
Databases and Information Management
Multimedia Information Retrieval
Query Languages.
MANAGING DATA RESOURCES
Data Model.
Database Systems Instructor Name: Lecture-3.
Databases and Information Management
CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS
Presentation transcript:

BIT 3193 MULTIMEDIA DATABASE CHAPTER 4 : QUERING MULTIMEDIA DATABASES

Language expression that describes the data to be retrieved from database.

Data item : as output Information base : search is to be made Condition : have to be satisfied for a data item to be selected

Manipulation (editing and modifying data) Presentation Analysis (indexing and searching)

Multimedia queries can be of different types (deal with different media and with different properties) The process of querying multimedia data is complex and it can approach this in TWO ways: WHAT INFORMATION CAN BE RETRIEVED HOW THE INFORMATION CAN BE RETRIEVED

There are THREE levels of complexity associated with the “WHAT”: a)Level 1 : Retrieval of primitive features such as color, shape, texture, spatial location and object movement. Query example: “ find clips of objects flying from top-right to bottom-left of screen”

b) Level 2 : Retrieval of logical features related to the identity of the object within the media. Query example: “ find clips of an aeroplane taking off”

c) Level 3 : Retrieval of abstract attributes associated with an understanding of the nature or purpose of the object. Query example: “ find a picture of nutritional disasters"

The “ HOW” can also be classified on the basis of whether the information is retrieved by: Query on the Content (Content based query) Query by Example (QBE) Time Indexed Query Spatial Query Application Specific Query

Content Based Query The content of media information is described by the metadata associated with media objects. Hence, these queries have to be processed by: accessing directly the metadata then the media objects Example: “Show the details of the movie where a cartoon character says: “I like you”

Query by Example (QBE) Have to be processed by finding a similar object that matches the one in the example. The query processor has to identify exactly the characteristics of the example object the user wants to match. The similarity matching required by the user can be on texture, color, spatial characteristics or the shape of the object.

Query by Example (QBE) Matching can be exact or partial. For partial matching, the query processor has to identify the degree of mismatch that can be tolerated. Then the query processor has to apply the cluster generation function for the example media object. These cluster generating functions map the example object into an m- dimensional feature space.

Query by Example (QBE) Object present within this distance d are retrieved with a certain measure of confidence and are presented as an ordered list. Here the distance d is proportional to the degree of mismatch that can be tolerated. Example: “ Show me the movie which contains this song: Flying Without Wings”

Time Indexed Query These queries are made on the temporal characteristics of the media objects. The temporal characteristics can be stored using segment index trees. The query processor has to process the time indexed queries by accessing the index information stored using segment trees or other similar methods.

Time Indexed Query Example : “Show me the movie 30 minutes after its start”

Spatial Query There are made on the spatial characteristics associated with the media objects. These spatial characteristics can be generated as metadata information. The query processor can access this metadata information to generate the response. Example: “ Show me the image where Ali is seen to the left of Abu”

Application Specific Query Application specific descriptions can be stored as metadata information. The query processor can access this information for generating purposes. Example : “ Show me the video where the river changes its course”

Involve single media. Example : text Text Index Text Database Other Media DBs Response to Query Text Media Query Figure 4.1 : Processing Single Media Query

Query Process: Assuming the existence of metadata for the text information: the indexed file is accessed first and the information is presented to the user

Involve more than one media. Example : text and image Text Database Image Index Image Database Response to Query Text & Image Media Query Figure 4.2 : Processing Multiple Media Query Text Index Image Database Text Index Text Database Response to Query Text & Image Media Query Image Index a) Accessing Text Index First a) Accessing Image Index First

Query Process: can be in TWO different ways: a) Accessing Text Index First Select an initial set of documents This set of documents are examined to determine whether any documents contains the image object specified in the query. This implies that documents carries the information regarding the contained images.

b) Accessing Image Index First Select a set images. Examined to determine whether images are part of any document. This strategy assumes that the information regarding the containment of images in documents are maintained as a separated information base.

Access to multimedia information must be quick so that retrieval time is minimal. Metadata must be stored using appropriate index structure to provide efficient access. Index structures to be used depend on the media, the metadata and the types of the query. SQL language is relevant to multimedia data.

Standard language for dealing with relational databases

developed from an earlier Structured English Query Language, SEQUEL. with a lot of improvement, SQL become the de facto standard of the database world. includes the specification for a data dictionary called the information schema.

Involves TWO process: create the structure of the table followed by inserting the data example: Create the structure CREATE TABLE employee (employee_no CHAR (4), employee_name VARCHAR2(30), salary NUMBER(6,2))

Insert: INSERT INTO employee (employee_no CHAR (4), employee_name VARCHAR2(30), salary NUMBER(6,2)) VALUES (‘123B’, ‘Ali Ahmad’, ‘ ’)

Update: UPDATE employee SET employee_name =‘Abu Ahmad’ WHERE employee_no = ‘123B’

SQL statements: SELECT(select list) FROM(table list) WHERE(search condition) Example: SELECTemployee_name FROMemployee WHEREemployee_no = ‘123B’

Text objects consist of words. Easy to recognize because within the body of text can be delineated by spaces. Words consist of character strings. These features enable to process easily using query language such as SQL.

However there are some problems with words meaningless words such as “and, but, the, from, to” these are called stop words deal with them by removing or ignoring them synonymy when a word has the same meaning as another word polysemy when a word has more than one meaning in different context

Principles of techniques specialized for text: text retrieval (TR) Schema-directed extraction (SDE) query-directed extraction (QDE)

Text Retrieval simplest form of processing documents are returned in the result set if they are considered relevant to the query method to achieve: exact matching inexact matching proximity searches intelligent searches, ect.

using BOOLEAN queries SELECT cocoa_name, price FROM cocoa_list WHERE region = ‘Ghana’ AND category = ‘ABC’

the uncertain spelling problem can be solved by using SOUNDEX function SELECT cocoa_name, SOUNDEX (cocoa_type) FROM cocoa_list WHERE SOUNDEX (cocoa_type)=SOUNDEX (‘couverture’) Coco-type SOUN couverture C130

SOUNDEX codes CharacterSOUNDEX Codes B,F,P,V C,G,J,K,Q,S,X,Z D,T L M,N R Table 4.1 : SOUNDEX codes

vowel sounds “A,E,H,I,O,U,W,Y” are not assigned a value.

can be used in both exact and inexact search conditions. LIKE keyword is used to match a column with a known string or part of a string example: SELECT coco_type FROM coco_list WHERE coco_type LIKE ‘cou%’

also use LIKE to search topics within character data example: SELECT coco_type FROM coco_list WHERE character LIKE ‘%chocolate%’ This query can be expressed using natural language as “Give me type of each cocoa that has character that is described by a string that contains the substring “chocolate” with any number of characters before or after”

Query- Directed extraction it is useful for semi-structured text documents such as business or scientific domains where documents are laid out to conform to a pattern

Schema- Directed extraction process that manipulates large collections of related text objects such as schema : {sender, receiver, date, subject, persons, places}