Question

In: Computer Science

Can I get detailed explanation about the following topics Keyword Queries Boolean Queries Phrase Queries Proximity...

Can I get detailed explanation about the following topics

Keyword Queries

Boolean Queries

Phrase Queries

Proximity Queries

Natural Language Queries

Wildcard Queries

Rather than the solution for Chapter 27, proplem 18RQ in Fundamentals of database system (6th Edition) and also provide me with examples

Regards

Solutions

Expert Solution

Document 1: I am a happy person.

Document 2: I want to be happy

Document 3: How to be happy in life

Document 4: I am not sad.

Keyword Queries: The search term must exactly match the word(s) in the collection of documents being searched in order for the document(s) to be retrieved.

Example: A keyword query for "happy" will retrieve all the three docs. because the search term happy occurs in all the three.

Boolean Queries: A query that involves the usage of boolean operators (and, not and or) with the operands being simple search terms or complex queries.

Example: A boolean query for term1 = "happy" and term2 = "I" executed as (term1 and term2) will retrieve documents 1 and 2 because both term1 and term2 are present in these two documents.

Phrase Queries: A query that involves retrieving documents matching a specific sequence of terms. In information retrieval, we usually parse the documents first, before executing any queries on it. Phrase queries are different from keyword queries because they involve searching for phrases or sentences. You can argue that phrase queries is in other words substring matching, but their solutions (such as suffix arrays and permutation indexes) are not being extensively used in today's information retrieval systems.

Example: A query for "be happy" should retrieve documents 2 and 3.

Proximity Queries: A query that involves retrieving documents where the occurrences involve a slight modification of the search term, restricted to a fixed distance.

Example: A query for "Am I happy" will return document 1, but might return documents 2 and 3 also, depending on the distance specified. This way, we can match queries that aren't exactly present in documents but are relatively close.

Wildcard Queries: A wildcard query is made up of one or more missing characters. This is usually the case when the user is unsure of the exact spelling of the search term or when the search term has different spellings in different regions.

Example: "color" and "colour" are two words that have the same meaning but different spellings (British English and American English). Hence, to find documents containing these terms, the user will use "colo*" as the wildcard query.

Natural Language Queries: These are the queries that are made up of terms in the user's natural language.

Example: "Kahan pe ho" is a natural language query (which is the Hindi language typed in English) and it translates to "where are you" in English. Some popular search engines support these kinds of queries.

Please do give a thumbs-up rating if you liked this answer. Feel free to comment if you need any explanations/clarifications regarding the same. Thanks for asking :)


Related Solutions

Kindly provide a detailed explanation to the following question. So i can understand and solve on...
Kindly provide a detailed explanation to the following question. So i can understand and solve on my own Milden Company has an exclusive franchise to purchase a product from the manufacturer and distribute it on the retail level. As an aid in planning, the company has decided to start using a contribution format income statement. To have data to prepare such a statement, the company has analyzed its expenses and has developed the following cost formulas. Cost of goods sold...
Can I get a detailed answer going threw all the steps so I can check my...
Can I get a detailed answer going threw all the steps so I can check my answer. A total debt of $ 1,000 due now, $4000 due 2 years from now, and $6000 due 5 years from now is to be repaid by 3 payments. (1) The first payment is made now. (2) The second payment, which is 80% of the first, is made at the end of 30 months from now. (3) The third payment, which is 60% of...
kindly provide a detailed explanation on the solution provided, so that i can solve on my...
kindly provide a detailed explanation on the solution provided, so that i can solve on my own. “Blast it” Said David Wilson, President of Teledex Company. “We’ve just lost the bid on the Koopers job by $2,000. It seems we’re either too high to get the job or too low to make any money on half the jobs we bid”. Teledex Company manufactures products to customers’ specification and operates a job order system. Manufacturing overhead cost is applied to jobs...
Can anyone give a detailed explanation with some examples on these questions? I am going to...
Can anyone give a detailed explanation with some examples on these questions? I am going to have an exam soon. 1. How should we account for the borrowing costs that we incurred this year on constructing the Torry warehouse facility? 2. Why would a machine, that we have started leasing on a 10 year agreement, have to be shown on our statement of financial position when we don’t own it? 3. The Board of ABC Corp., a manufacturer of electrical...
Can I have a detailed explanation of the blood flow through the heart (left oxygenated blood)...
Can I have a detailed explanation of the blood flow through the heart (left oxygenated blood) (right oxygenated blood)
For this assignment, first provide a detailed description for each of the following topics. Topics Group...
For this assignment, first provide a detailed description for each of the following topics. Topics Group behavior Organizational behavior Attraction or intimacy Friendships Altruism Prejudice and stereotypes Aggression Applied social psychology
Hi, can i get some explanation/clarification in this: 4. Elaborate on Ida Susser’s argument that the...
Hi, can i get some explanation/clarification in this: 4. Elaborate on Ida Susser’s argument that the concept of the United States itself has a history of shifting frontiers and contested boundaries. ( the article is about cultural Diversity in the United States and I can't seem to understand what it is asking me to do)
I am having a hard time writing these SQL queries. Please specify the following queries in...
I am having a hard time writing these SQL queries. Please specify the following queries in SQL on the database schema shown in the figure below. STUDENT Name StudentNumber Class Major Smith 17 1 CS Brown 8 2 CS Kathy 15 1 EE COURSE CourseName CourseNumber CreditHours Department Intro to Computer Science CSE110 4 CS Data Structures CSE205 4 CS Discrete Mathematics MAT240 3 MATH Databases CSE380 3 CS Analog Circuits EE260 3 EE SECTION SectionIdentifier CourseNumber Semester Year Instructor...
I need to write about    Apple Inc..    please can I get all the information about history...
I need to write about    Apple Inc..    please can I get all the information about history of apple inc., also I need information about bonds , investment, earning per share, stockholder's equity , I need to write about 5 pages , so need more information . all relates to apple inc.
Give more details on the following answer Question: Give a detailed explanation about what is happening...
Give more details on the following answer Question: Give a detailed explanation about what is happening with the oil prices. mention coronavirus, OPEC, Saudi Arabia. give references Answer: Oil prices is dropping.Major causes behind the fall is given below: Increase in Supply. Decrease in demand and fall of monopoly power in oil producers. The price of oil sunk to levels not seen since 2002 as demand for crude collapses amid the coronavirus pandemic.Oil prices have fallen by more than half...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT