







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
KSOL course page: http://snipurl.com/va Course web site: http://www.kddresearch.org/Courses/Fall-2006/CIS Instructor home page: http://www.cis.ksu.edu/~bhsu
Reading for Next Class: Skim Chapter 19, Silberschatz et al. , 5 th^ edition
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Information Retrieval SystemsInformation Retrieval Systems
Information organized as a collection of documents Documents are unstructured, no schema
e.g., find documents containing the words “database systems”
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Information Retrieval Systems (Cont.)Information Retrieval Systems (Cont.)
IR systems don’t deal with transactional updates (including concurrency control and recovery) Database systems deal with structured data, with schemas that define the data organization IR systems deal with some querying issues not generally addressed by database systems Ö Approximate searching by keywords Ö Ranking of retrieved answers by estimated degree of relevance
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Relevance Ranking Using Terms (Cont.) Relevance Ranking Using Terms (Cont.)
Words that occur in title, author list, section headings, etc. are given greater importance Words whose first occurrence is late in the document are given lower importance Very common words such as “a”, “an”, “the”, “it” etc are eliminated Ö Called stop words Proximity : if keywords in query occur close together in the document, the document has higher importance than if they occur far apart
Usually only top few documents are returned, not all
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Similarity Based Retrieval Similarity Based Retrieval
Similarity may be defined on the basis of common words Ö E.g. find k terms in A with highest TF ( d, t ) / n ( t ) and use these terms to find relevance of other documents.
User selects a few relevant documents from those retrieved by keyword query, and system finds other documents similar to these
Vector for document d goes from origin to a point whose i th coordinate is TF ( d,t ) / n ( t ) The cosine of the angle between the vectors of two documents is used as a measure of their similarity.
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Relevance Using Hyperlinks Relevance Using Hyperlinks
Ö E.g. a travel agency can add many occurrences of the words “travel” to its page to make its rank very high
Solution: next slide
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Relevance Using Hyperlinks (Cont.)Relevance Using Hyperlinks (Cont.)
Count only one hyperlink from each site (why? - see previous slide) Popularity measure is for site, not for individual page Ö But, most hyperlinks are to root of site Ö Also, concept of “site” difficult to define since a URL prefix like cs.yale.edu contains many unrelated pages of varying popularity
When computing prestige based on links to a site, give more weight to links from sites that themselves have higher prestige Ö Definition is circular Ö Set up and solve system of simultaneous linear equations Above idea is basis of the Google PageRank ranking mechanism
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Concept-Based QueryingConcept-Based Querying
For each word, determine the concept it represents from context Use one or more ontologies: Ö Hierarchical structure showing relationship between concepts Ö E.g.: the ISA relationship that we saw in the E-R model
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Indexing of DocumentsIndexing of Documents
Documents identified by identifiers
Keyword locations within document to allow proximity based ranking Counts of number of occurrences of keyword to compute TF
Intersection S 1 ∩ S 2 ∩..... ∩ S n
union, S 1 ∩ S 2 ∩..... ∩ S n ,.
“ not ” can also be efficiently implemented by merging of sorted lists
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Measuring Retrieval EffectivenessMeasuring Retrieval Effectiveness
false negative (false drop) - some relevant documents may not be retrieved. false positive - some irrelevant documents may be retrieved. For many applications a good index should not permit any false drops, but may permit a few false positives.
precision - what percentage of the retrieved documents are relevant to the query. recall - what percentage of the documents relevant to the query were retrieved.
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Measuring Retrieval Effectiveness (Cont.)Measuring Retrieval Effectiveness (Cont.)
Ö Can increase recall by retrieving many documents (down to a low level of relevance ranking), but many irrelevant documents would be fetched, reducing precision
Recall as a function of number of documents fetched, or Precision as a function of recall Ö Equivalently, as a function of number of documents fetched E.g. “precision of 75% at recall of 50%, and 60% at a recall of 75%”
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Information Retrieval and Structured DataInformation Retrieval and Structured Data
Extraction of house attributes (size, address, number of bedrooms, etc.) from a text advertisement Extraction of topic and people named from a new article
System seeks connections among data to answer queries Question answering systems
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
DirectoriesDirectories
users can see not only requested document but also related ones.
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
A Classification Hierarchy For A Library System A Classification Hierarchy For A Library System
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
Classification DAG Classification DAG
Computing & Information Sciences CIS 560: Database System Concepts Monday, 04 Dec 2006 Kansas State University
End of Chapter End of Chapter