<?xml version="1.0"  encoding="UTF-8" standalone="no"?> 
<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Pat Case (Library of Congress) -->
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Pat Case (CRS) -->
<!--<!DOCTYPE spec SYSTEM "C:\w3c\FTTF\Use Cases\xmlspec.dtd" [-->
<!DOCTYPE spec SYSTEM "http://www.w3.org/2002/xmlspec/dtd/2.2/xmlspec.dtd" [
<!ENTITY date.day "14">
<!ENTITY date.month "February">
<!ENTITY date.monthnum "02">
<!ENTITY date.year "2003">
<!ENTITY doc.date "&date.year;&date.monthnum;&date.day;">
<!ENTITY doc.prefix "WD-xmlquery-full-text-use-cases">
<!ENTITY url.group "http://www.w3.org/XML/Group/">
<!ENTITY url.group.ql "&url.group;xmlquery/">
<!ENTITY url.internal "http://www.w3.org/Style/XSL/Group/xpath2-tf/&doc.prefix;-&doc.date;.html">
<!ENTITY url.external "http://www.w3.org/TR/&date.year;/&doc.prefix;-&doc.date;/">
<!ENTITY url.this "&url.external;">
<!ENTITY w3c.tr "http://www.w3.org/TR">
<!ENTITY doc.shortname "xmlquery-full-text-use-cases">
<!ENTITY doc.w3c-designation "WD-&doc.shortname;">
<!ENTITY doc.publoc "&w3c.tr;/&date.year;/&doc.w3c-designation;-&doc.date;">
<!ENTITY doc.latestloc "&w3c.tr;/&doc.shortname;">
<!ENTITY nbsp "&#160;">
]>
<!--<?xml-stylesheet type="text/xsl" href="C:\w3c\FTTF\Use Cases\full-text.xsl"?>-->
<?xml-stylesheet type="text/xsl" href="full-text.xsl"?>
<spec w3c-doctype="wd">
<header>
<title>XQuery and XPath Full-Text Use Cases</title>
<version/>
<w3c-designation>&doc.w3c-designation;-&doc.date;</w3c-designation>
<w3c-doctype>W3C Working Draft</w3c-doctype>
<pubdate>
<day>&date.day;</day>
<month>&date.month;</month>
<year>&date.year;</year>
</pubdate>
<!--<publoc>
<loc href="&doc.publoc;">&doc.publoc;</loc>
</publoc>-->
<publoc>
<loc href="&url.this;">&url.this;</loc>
</publoc>
<altlocs>
<loc href="&url.this;xmlquery-full-text-use-cases.xml">XML</loc>
</altlocs>
<latestloc>
<loc href="&doc.latestloc;">&doc.latestloc;</loc>
</latestloc>
<!--<prevlocs>
			<loc href="http://www.w3.org/TR/2001/WD-xmlquery-text-use-cases-20020831">
            http://www.w3.org/TR/2001/WD-xml-query-text-use-cases-20020831</loc>
		</prevlocs>-->
<authlist>
<author>
<name>Sihem Amer-Yahia</name>
<affiliation>AT&amp;T Labs</affiliation>
</author>
<author>
<name>Pat Case</name>
<affiliation>Library of Congress</affiliation>
</author>
</authlist>
<status>
<p>This is a public W3C Working Draft for review by W3C Members and other interested parties. This section describes the status of this document at the time of its publication. It is a draft document and may be updated, replaced, or made obsolete by other documents at any time. It is inappropriate to use W3C Working Drafts as reference material or to cite them as other than "work in progress." A list of current public W3C technical reports can be found at <loc href="http://www.w3.org/TR/">http://www.w3.org/TR/. </loc>
</p>
<p>The Full-Text Use Cases have been defined jointly by the <loc href="http://www.w3.org/XML/Query.html">XML Query Working Group</loc> 
and the <loc href="http://www.w3.org/Style/XSL/">XSL Working Group</loc> (both parts of the <loc href="http://www.w3.org/XML/Activity.html">XML Activity</loc>) .</p>
<p>The Full-Text Use Cases are published in conjunction with the <loc href="http://www.w3.org/TR/xmlquery-full-text-requirements">XQuery and XPath Full-Text Requirements</loc>.</p>
<p>This is the first version of this document.</p>
<p>This document is a work in progress. It contains many open issues, and should not be considered to be fully stable. Vendors who wish to create preview implementations 
based on this document do so at their own risk. While this document reflects the general consensus of the working groups, there are still controversial areas that may be subject to change.</p>
<p>Public comments on this document and its open issues are welcome. Comments should be sent to the W3C XPath/XQuery mailing list, 
          <loc href="mailto:public-qt-comments@w3.org">public-qt-comments@w3.org</loc>
          (archived at
          <loc href="http://lists.w3.org/Archives/Public/public-qt-comments/">http://lists.w3.org/Archives/Public/public-qt-comments/</loc>).
          </p>
<p>Patent disclosures relevant to this specification may be found on the XML Query Working Group's patent disclosure page 
at <loc href="http://www.w3.org/2002/08/xmlquery-IPR-statements">http://www.w3.org/2002/08/xmlquery-IPR-statements</loc>
         and on the XSL Working Group's patent disclosure page at <loc href="http://www.w3.org/Style/XSL/Disclosures">http://www.w3.org/Style/XSL/Disclosures</loc>.</p>
<p> A list of current W3C Recommendations and other technical documents
          can be found at <loc href="http://www.w3.org/TR/">http://www.w3.org/TR/</loc>.
          </p>
<!-- ############### Update the status ################# -->
</status>
<abstract>
<p>This document specifies usage scenarios for full-text
queries as part of XML Query  <bibref ref="XQuery"/> and XPath 
<bibref ref="XPath2"/>. </p>
</abstract>
<langusage>
<language id="EN">English</language>
</langusage>
<revisiondesc>
<p/>
</revisiondesc>
</header>
<body>
<div1>
<head>Full-Text Use Cases: Preliminaries</head>
<div2>
<head>Proper Display of This Unicode Document</head>
<p>(1) Use a current operating system and browser.</p>
<p>(2) Set the character encoding in the browser to Unicode or UTF-8. Often this setting is changed from the View menu.</p>
</div2>
<div2>
<head>Introduction</head>
<p>The use cases listed below were created by XML Query and XSL Working Groups, to illustrate important applications of full-text 
querying within an XML query language. Each use case exercises a specific functionality relevant to full-text querying. A Schema 
and sample input data are provided. Each use case specifies a set of queries that might be applied to the input data, and the expected 
results for each query. In a future version, the use cases will be republished with solutions in XQuery and/or XPath.</p>
<p>The document supplements the XML Query Use Cases which can be found in the W3C
XML Query Use Cases <bibref ref="XQuery-UseCases"/>. Use cases for character string querying are included in the XML Query Use Cases, not in this document.</p>
<p>The full-text queries in the following use cases are performed on text
which has been tokenized, i.e., broken into a sequence of words,
units of punctuation, and spaces. A word is defined as any character, n-gram, or sequence of characters
returned by a tokenizer as a basic unit to be queried. Each instance of a word consists of 0 or more
consecutive characters. Beyond that words are implementation defined. Note that consecutive words need not be separated by either
punctuation or space, and words may overlap. Tokenization enables functions and operators which work with the relative positioning of words (e.g., proximity operators). 
Tokenization also enables functions and operators which operate on a part or the root of the word (e.g., wildcards, stemming).</p>
<p>A phrase is a sequence of ordered words. A sequence can contain any number of words.</p>
<p>These use cases:</p>
<p>(1) Present some possible functions and features for tokenized text support in XQuery and XPath. None are yet available in 
XQuery or XPath. Please comment on these use cases and recommend others.</p>
<p>(2) Illustrate simple and complex queries. The more complex queries would normally only be constructed by programmers, librarians, and other expert users, 
or provided for novice users via saved queries or graphical user interfaces.  Each query is intended to illustrate a single functionality, although queries might 
overlap in their functionalities (e.g., phrases and ordered proximity queries allowing no intervening words). Overlapping and similar functionalities are noted in 
the comments on query behavior.</p>
<p>(3) Draw from sample data which are almost entirely in English. Use cases in other languages are solicited, especially where they 
illustrate language-specific implementations of functions and features. Among the most sought after are use cases for queries 
using prefix and infix wild cards, proximity queries, and operators and queries requiring functionality which may not have Western language equivalents.</p>
<p>(4) Include queries which in most instances can be written with pure Boolean full-text predicates or 
with scoring (e.g., scoring on the number of occurrences of a word or phrase,
scoring on how close words are to one another within a proximity
query, scoring on how similar a word is to the one being
stemmed) <bibref ref="BYR99"/>
<bibref ref="HTK00"/>. A few, in Section 12 (SCORE), cannot be written with Boolean full-text predicates. Scoring methodologies will not be defined in this standard. Scoring will be 
implementation-defined. Results are provided in document order, except those in Section 12 (SCORE). 
Results could be returned ordered differently, such as by relevance (based on 
implementation-defined scoring) or explicitly by an element.</p>
<p>(5) Include queries on element content and attribute values.</p>
<p>(6) Include queries which are case-insensitive. When
returning a paragraph, the text is returned as it occurs in the data model. This approach was chosen to keep the sample data short and the expected 
results meaningful. It would have be equally valid to return only the character queried. An variation is found in Section 5 (CHARACTER-MANIPULATION). </p>
<p>(7) Include queries which when they target XML elements are understood,
unless otherwise stated, to query text within any text node descendant of the element.</p>
<p>(8) Include queries which return only elements and attributes which meet all the conditions specified in the query. In particular, Boolean queries return results 
where the Boolean conditions in the query are satisfied, i.e., are used to select what is being returned to users.</p>
<p>Query results may be returned in different ways. From a query for books containing the word "usability", users might be interested in returning, for each
book containing the word "usability", its number and its entire content. In another situtation for the same query, users might be interested in
returning, for each book containing the word "usability", its number and only the elements and attributes in the content which contain the word "usability". As in this second situation, the queries in
these use cases return only elements and attributes which meet all the conditions specified in the query. </p>
<p>The Return clause may also include additional or different elements and attributes if specified, and may construct new elements. </p>
<p>(9) Include queries which provide some of the basic functionality of fuzzy match querying  (e.g., wildcards, stemming, dictionary and thesaurus support, proximity).</p>
<p>(10) Provide highlighting of found words and phrases in the expected results of queries as an aid to users. 
The presence of highlighting says nothing about whether highlighting will be a 	feature of XQuery or XPath full-text querying.</p>
<p>(11) Display no Solutions in XQuery because no decisions have been taken on syntax. They will be added in a future version.</p>
<!---Several implementors have asked that we make the
            queries from these use cases available in a separate file
            to make it easier for them to test their parsers.  These
            queries may be found in <bibref ref="UseCaseQueries"/>. Also, the queries from the XQuery
            specification itself have been made available in <bibref ref="XQueryQueries"/>.-->
<p>Examples of full-text querying functionalities for XML query languages
can be found in <bibref ref="FGR01"/>, <bibref ref="HTK00"/>,
<bibref ref="MJK98"/>, <bibref ref="SCH01"/> and <bibref ref="TWE00"/>.</p>
<p>To make the output more readable, the output of queries has been 
formatted using whitespace which may not be returned by a query 
processor. This whitespace should not be considered normative 
for the correctness of results.</p>
<p>These use cases represent a snapshot of an ongoing work. Some
important operators and features are not yet adequately covered by a
use case. The XML Query and XSL Working Groups reserve the right to
add, delete or modify individual queries or whole use cases as the
work progresses. The presence of a query in this set of use cases does
not necessarily indicate that the query will be expressible in XQuery
 <bibref ref="XQuery"/> and/or XPath  <bibref ref="XPath2"/>
to be created by the XML Query and XSL Working Groups.</p>
</div2>
<div2>
<head>Explanation of Query Statements</head>
<p>The queries in these use cases are presented in the following format:</p>
<p>Query number &nbsp;&nbsp;Query title</p>
<p>User statement of query</p>
<p>Statement of functionality illustrated by query</p>
<ulist>
<item>
<p>Operands: Parts of words, words, phrases</p>
</item>
<item>
<p>Functionality: Operators, functions, collations, other functionality</p>
</item>
<item>
<p>Context: One or more XPath expressions locating the elements and attributes to be queried</p>
</item>
<item>
<p>Return: One or more XPath expressions which are returned only if they meet all the conditions specified in the query, and additional or different XPath expressions if specified. 
These may include constructed elements. </p>
</item>
<item>
<p>Comments: Comments on query behavior in general and against the sample data in particular, plus the rationale for including 
				this query in the use cases.</p>
</item>
<item>
<p>Version: Each query is marked as "For consideration in v.1" or "For consideration after v.1".</p>
</item>
</ulist>
<!--- <p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>Results are provided here.
Found words and phrases are <phrase role="found">highlighted</phrase>. 
Three dots "..." replace elements and content to shorten results.</eg>
</div2>
<div2>
<head>Schema for Sample Data</head>
<p>The example queries in these use cases are based on a
                collection with the following Schema:</p>
<eg role="schema"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" 
schemaLocation = "http://www.w3.org/2001/xml.xsd"/>
   <xs:element name="books">
      <xs:annotation>
      	  <xs:documentation>A possible XML Schema for Sample Data 
      	  in XQuery and XPath  Full-Text Use Cases</xs:documentation>
      </xs:annotation>
      <xs:complexType>
      	  <xs:sequence maxOccurs="unbounded">
      	     <xs:element name="book">
      	        <xs:complexType>
      	           <xs:sequence>
      	              <xs:element name="metadata">
      	                 <xs:complexType>
      	                    <xs:complexContent>
      	                       <xs:extension base="metadataType"/>
      	                    </xs:complexContent>
      	                 </xs:complexType>
      	              </xs:element>
      	              <xs:element name="content" type="contentType"/>
      	           </xs:sequence>
      	           <xs:attribute name="number" type="xs:integer" 
      	           use="required"/>
      	        </xs:complexType>
      	     </xs:element>
      	  </xs:sequence>
      </xs:complexType>
   </xs:element>
   <xs:complexType name="anyXMLTextType" mixed="true">
      <xs:annotation>
      	  <xs:documentation>free text, contains any well-formed 
      	  XML</xs:documentation>
      </xs:annotation>
      <xs:sequence>
      	  <xs:any processContents="skip" minOccurs="0" 
      	  maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="metadataType">
      <xs:sequence>
      	  <xs:element name="title" type="xs:string">
            <xs:complexType>
               <xs:complexContent>
                  <xs:extension base="titlesType">
                     <xs:attribute name="shortTitle" type="xs:string" 
                     use="required"/>
                  </xs:extension>
               </xs:complexContent>
            </xs:complexType>
         </xs:element>
      	  <xs:element name="authors" type="authorsType" 
      	  minOccurs="0"/>
      	  <xs:element name="publicationInfo" 
      	  type="publicationInfoType"/>
      	  <xs:element name="price" minOccurs="0">
      	     <xs:simpleType>
      	        <xs:restriction base="xs:float">
      	           <xs:minInclusive value="0"/>
      	           <xs:maxInclusive value="10000"/>
      	        </xs:restriction>
      	     </xs:simpleType>
      	  </xs:element>
      	  <xs:element name="subjects" maxOccurs="unbounded">
      	     <xs:complexType>
      	        <xs:complexContent>
      	           <xs:extension base="subjectsType">
      	              <xs:attribute ref="xml:lang" use="required"/>
      	           </xs:extension>
      	        </xs:complexContent>
      	     </xs:complexType>
      	  </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="authorsType">
      <xs:sequence>
      	  <xs:element name="author" type="xs:string" minOccurs="0" 
      	  maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="subjectsType">
      <xs:sequence>
      	  <xs:element name="subject" type="xs:string" 
      	  maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="publicationInfoType">
      <xs:sequence>
      	  <xs:element name="place" type="xs:string" minOccurs="0"/>
      	  <xs:element name="publisher" type="xs:string" 
      	  maxOccurs="unbounded"/>
      	  <xs:element name="dateIssued" type="xs:string"/>
      	  <xs:element name="dateRevised" type="xs:string"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="contentType">
      <xs:sequence>
      	  <xs:element name="introduction" type="introductionType" 
      	  minOccurs="0"/>
      	  <xs:element name="part" maxOccurs="unbounded">
      	     <xs:complexType>
      	        <xs:complexContent>
      	           <xs:extension base="partType">
      	              <xs:attribute name="number" type="xs:string" 
      	              use="required"/>
      	           </xs:extension>
      	        </xs:complexContent>
      	     </xs:complexType>
      	  </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="introductionType">
      <xs:sequence>
      	  <xs:element name="author" type="xs:string" minOccurs="0"/>
      	  <xs:element name="p" maxOccurs="unbounded">
      	     <xs:complexType mixed="true">
      	        <xs:choice minOccurs="0" maxOccurs="unbounded">
      	           <xs:element name="b"/>
      	           <xs:element name="emph"/>
      	           <xs:element name="i"/>
      	        </xs:choice>
      	     </xs:complexType>
      	  </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="partType">
      <xs:sequence>
      	  <xs:element name="container" minOccurs="0">
      	     <xs:complexType>
      	        <xs:simpleContent>
      	           <xs:extension base="xs:string">
      	              <xs:attribute name="type" type="xs:string" 
      	              use="required"/>
      	           </xs:extension>
      	        </xs:simpleContent>
      	     </xs:complexType>
      	  </xs:element>
      	  <xs:element name="title" type="titleType" minOccurs="0"/>
      	  <xs:element name="introduction" type="introductionType" 
      	  minOccurs="0"/>
      	  <xs:element name="chapter" type="chapterType" 
      	  minOccurs="0" maxOccurs="unbounded"/>
      	  <xs:element name="component" type="componentType" 
      	  minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="chapterType">
      <xs:sequence>
      	  <xs:element name="title" type="xs:string"/>
      	  <xs:element name="p" type="anyXMLTextType" 
      	  maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="footnoteType" mixed="true">
      <xs:sequence>
      	  <xs:element name="citation" minOccurs="0" 
      	  maxOccurs="unbounded">
      	     <xs:complexType>
      	        <xs:simpleContent>
      	           <xs:extension base="xs:string">
      	              <xs:attribute name="url" type="xs:anyURI" 
      	              use="required"/>
      	           </xs:extension>
      	        </xs:simpleContent>
      	     </xs:complexType>
      	  </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="componentType">
      <xs:sequence>
      	  <xs:element name="container" minOccurs="0">
      	     <xs:complexType>
      	        <xs:simpleContent>
      	           <xs:extension base="xs:string">
      	              <xs:attribute name="type" type="xs:string" 
      	              use="required"/>
      	           </xs:extension>
      	        </xs:simpleContent>
      	     </xs:complexType>
      	  </xs:element>
      	  <xs:element name="componentTitle">
      	     <xs:complexType mixed="true">
      	        <xs:complexContent mixed="true">
      	           <xs:extension base="componentTitleType"/>
      	        </xs:complexContent>
      	     </xs:complexType>
      	  </xs:element>
      	  <xs:element name="subComponent" type="subComponentType" 
      	  minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="titleType" mixed="true">
      <xs:all minOccurs="0">
      	  <xs:element name="date">
      	     <xs:complexType>
      	        <xs:simpleContent>
      	           <xs:extension base="xs:string">
      	              <xs:attribute name="normalize" type="xs:string" 
      	              use="required"/>
      	           </xs:extension>
      	        </xs:simpleContent>
      	     </xs:complexType>
      	  </xs:element>
      </xs:all>
   </xs:complexType>
   <xs:complexType name="componentTitleType" mixed="true">
      <xs:sequence>
      	  <xs:element name="componentDate" minOccurs="0">
      	     <xs:complexType>
      	        <xs:simpleContent>
      	           <xs:extension base="xs:string">
      	              <xs:attribute name="normalize" type="xs:string" 
      	              use="optional"/>
      	           </xs:extension>
      	        </xs:simpleContent>
      	     </xs:complexType>
      	  </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="subComponentType">
      <xs:sequence>
      	  <xs:element name="container" minOccurs="0">
      	     <xs:complexType>
      	        <xs:simpleContent>
      	           <xs:extension base="xs:string">
      	              <xs:attribute name="type" type="xs:string" 
      	              use="required"/>
      	           </xs:extension>
      	        </xs:simpleContent>
      	     </xs:complexType>
      	  </xs:element>
      	  <xs:element name="componentTitle">
      	     <xs:complexType mixed="true">
      	        <xs:complexContent mixed="true">
      	           <xs:extension base="componentTitleType"/>
      	        </xs:complexContent>
      	     </xs:complexType>
      	  </xs:element>
      	  <xs:element name="subsubComponent" 
      	  type="subSubComponentType" minOccurs="0" 
      	  maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="subSubComponentType">
      <xs:sequence>
      	  <xs:element name="container" minOccurs="0">
      	     <xs:complexType>
      	        <xs:simpleContent>
      	           <xs:extension base="xs:string">
      	              <xs:attribute name="type" 
      	              type="xs:string" use="required"/>
      	           </xs:extension>
      	        </xs:simpleContent>
      	     </xs:complexType>
      	  </xs:element>
      	  <xs:element name="componentTitle">
      	     <xs:complexType mixed="true">
      	        <xs:complexContent mixed="true">
      	           <xs:extension base="componentTitleType"/>
      	        </xs:complexContent>
      	     </xs:complexType>
      	  </xs:element>
      </xs:sequence>
   </xs:complexType>
</xs:schema>]]></eg>
</div2>
<div2>
<head>Sample Data</head>
<p>The data consists of a collection of three books. Two are primarily instructive text. The third is a guide to a manuscript collection. All 
contain metadata and full text.</p>
<eg role="sample">&lt;books&gt;
&lt;book number="1"&gt;
   &lt;metadata&gt;
      &lt;title shortTitle="Improving Web Site Usability"&gt;Improving 
      the Usability of a Web Site Through Expert Reviews and 
      Usability Testing&lt;/title&gt;
      &lt;authors&gt;
         &lt;author&gt;Millicent Marigold&lt;/author&gt;
         &lt;author&gt;Montana Marigold&lt;/author&gt;
      &lt;/authors&gt;
      &lt;publicationInfo&gt;
         &lt;place&gt;New York&lt;/place&gt;
         &lt;publisher&gt;Ersatz Publications&lt;/publisher&gt;
         &lt;dateIssued&gt;2001&lt;/dateIssued&gt;
         &lt;dateRevised&gt;2002&lt;/dateRevised&gt;
      &lt;/publicationInfo&gt;
      &lt;price&gt;25.99&lt;/price&gt;   
      &lt;subjects xml:lang="en"&gt;
         &lt;subject&gt;Usability testing&lt;/subject&gt;
         &lt;subject&gt;Web site development&lt;/subject&gt;        
         &lt;subject&gt;Heuristic evaluation&lt;/subject&gt;
         &lt;subject&gt;Cognitive walk-through&lt;/subject&gt;
         &lt;subject&gt;Web site usability&lt;/subject&gt;
      &lt;/subjects&gt;
      &lt;subjects xml:lang="fr"&gt;        
         &lt;subject&gt;Tests d'ergonomie&lt;/subject&gt;
         &lt;subject&gt;Développement de site web&lt;/subject&gt;        
         &lt;subject&gt;Évaluation heuristique&lt;/subject&gt;
         &lt;subject&gt;Parcours cognitif&lt;/subject&gt;
         &lt;subject&gt;Ergonomie de site web&lt;/subject&gt;     
      &lt;/subjects&gt;
      &lt;subjects xml:lang="zh"&gt;    
         &lt;subject&gt;可用性测试&lt;/subject&gt;
         &lt;subject&gt;网站建置&lt;/subject&gt;        
         &lt;subject&gt;启发式评价&lt;/subject&gt;
         &lt;subject&gt;认知推演&lt;/subject&gt;
         &lt;subject&gt;网站可用性&lt;/subject&gt;
      &lt;/subjects&gt;
   &lt;/metadata&gt;
   &lt;content&gt;
      &lt;introduction&gt;
         &lt;author&gt;Elina Rose&lt;/author&gt;
         &lt;p&gt;The usability of a Web site is how well the 
         site supports the user in achieving specified 
         goals. A Web site should facilitate learning, 
         and enable efficient and effective task 
         completion, while propagating few errors. 
         Satisfaction with the site is also important. 
         The user must not only be well-served, but must 
         feel well-served.&lt;/p&gt; 
         &lt;p&gt;Expert reviews and usability testing are 
         methods of identifying problems in layout, 
         terminology, and navigation before they frustrate
         users and drive them away from your site.&lt;/p&gt;
         &lt;p&gt;The most successful projects employ multiple 
         methods in multiple iterations. As Millicent 
         Marigold remarked during a recent conference, 
         "Don't stop. Iterate, iterate, then iterate 
         again."&lt;/p&gt;
         &lt;p&gt;This book has been approved by the Web Site 
         Users Association.&lt;/p&gt;
      &lt;/introduction&gt;
      &lt;part number="1"&gt;
         &lt;title&gt;Expert Reviews&lt;/title&gt;
         &lt;introduction&gt;
            &lt;p&gt;Expert reviewers identify problems 
            and recommend changes to web sites based 
            on research in human computer interaction 
            and their experience in the field.&lt;/p&gt; 
            &lt;p&gt;Two expert review methods are discussed 
            here. They are heuristic evaluation and 
            cognitive walk-through.&lt;/p&gt; 
            &lt;p&gt;Expert review methods should be 
            initiated early in the development process, 
            as soon as paper &lt;b&gt;p&lt;/b&gt;rototypes 
            (hand-drawn pictures of Web pages) or 
            &lt;b&gt;w&lt;/b&gt;ireframes (electronic mockups) are 
            available. They should be conducted using 
            the hardware and software similar to that 
            employed by users.&lt;/p&gt;
         &lt;/introduction&gt;
         &lt;chapter&gt;
            &lt;title&gt;Heuristic Evaluation&lt;/title&gt;
            &lt;p&gt;Expert reviewers critique an interface to 
            determine conformance with recognized 
            usability principles. &lt;footnote&gt;One of the 
            best known lists of heuristics is &lt;citation 
            url="http://www.useit.com/papers/heuristic
            /heuristic_list.html"&gt;Ten Usability 
            Heuristics by Jacob Nielson&lt;/citation&gt;. Another 
            is &lt;citation url="http://usability.gov
            /guidelines/index.html"&gt; Research-Based Web 
            Design and Usability Guidelines&lt;/citation&gt;
            &lt;/footnote&gt;&lt;/p&gt; 
         &lt;/chapter&gt;
         &lt;chapter&gt;
            &lt;title&gt;Cognitive Walk-Through&lt;/title&gt;
            &lt;p&gt;Expert reviewers evaluate Web site 
            understandability and ease of learning while 
            performing specified tasks. They walk through 
            the site answering questions such as "Would a 
            user know by looking at the screen how to 
            complete the first step of the task?" and "If 
            the user completed the first step, would the 
            user know what to do next?," with the goal of 
            identifying any obstacles to completing the 
            task and assessing whether the user would 
            cognitively be aware that he was successful in 
            completing a step in the process.&lt;/p&gt;
         &lt;/chapter&gt;
      &lt;/part&gt;
      &lt;part number="2"&gt;
         &lt;chapter&gt;
            &lt;title&gt;Usability Testing&lt;/title&gt;
            &lt;p&gt;Once the problems identified by expert 
            reviews have been corrected, it is time to 
            conduct some tests of the site with your unique 
            audience or audiences by conducting usability 
            testing.&lt;/p&gt;
            &lt;p&gt;Users are asked to complete tasks which 
            measure the success of the information 
            architecture and navigational elements of the 
            site.&lt;/p&gt;
            &lt;p&gt;Then changes are made to improve service to 
            users.&lt;/p&gt;
         &lt;/chapter&gt;
      &lt;/part&gt; 
   &lt;/content&gt;
&lt;/book&gt;

&lt;book number="2"&gt;
   &lt;metadata&gt;
      &lt;title shortTitle="Usability Basics"&gt;Usability 
      Basics: How to Plan for and Conduct Usability Tests 
      on Web Site Thereby Improving the Usability of Your 
      Web Site&lt;/title&gt;
      &lt;publicationInfo&gt;
         &lt;place&gt;New York&lt;/place&gt;
         &lt;publisher&gt;Ersatz Publications&lt;/publisher&gt;
         &lt;publisher&gt;Electronic BookWorks&lt;/publisher&gt;         
         &lt;dateIssued&gt;2000&lt;/dateIssued&gt;
         &lt;dateRevised&gt;2001&lt;/dateRevised&gt;
      &lt;/publicationInfo&gt;
      &lt;price&gt;174.00&lt;/price&gt;   
      &lt;subjects xml:lang="en"&gt;
         &lt;subject&gt;Usability testing&lt;/subject&gt;
         &lt;subject&gt;Web site development&lt;/subject&gt;
         &lt;subject&gt;Guides and finding aids&lt;/subject&gt;
      &lt;/subjects&gt;
      &lt;subjects xml:lang="fr"&gt;
         &lt;subject&gt;Tests d'ergonomie&lt;/subject&gt;
         &lt;subject&gt;Développement de site web&lt;/subject&gt;
         &lt;subject&gt;Guides et outils de recherche&lt;/subject&gt;
      &lt;/subjects&gt;
      &lt;subjects xml:lang="zh"&gt;
         &lt;subject&gt;可用性测试&lt;/subject&gt;
         &lt;subject&gt;网站建置&lt;/subject&gt;
         &lt;subject&gt;指南和检索工具&lt;/subject&gt;
      &lt;/subjects&gt;
   &lt;/metadata&gt;
   &lt;content&gt;
      &lt;introduction&gt;
         &lt;p&gt;This is a basic handbook for planning and 
         conducting usability tests on Web sites. Usability 
         testing should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         &lt;p&gt;This book has not been approved by the Web Site 
         Users Association.&lt;/p&gt;
      &lt;/introduction&gt;
      &lt;part number="1"&gt;
         &lt;chapter&gt;
            &lt;title&gt;Planning then Conducting Usability 
            Tests&lt;/title&gt; 
            &lt;p&gt;Take the following steps to plan usability 
            testing. &lt;step number="1"&gt;Clarify and 
            articulate the goal of the usability testing.
            &lt;/step&gt; &lt;step number="2"&gt;Identify tasks which 
            are critical for users to be able to complete 
            successfully. &lt;/step&gt; &lt;step number="3"&gt;Compile 
            a script of questions or instructions which 
            will prompt the user to attempt those 
            tasks.&lt;/step&gt; &lt;step number="4"&gt;Identify your 
            users and begin recruiting them.&lt;/step&gt; &lt;step 
            number="5"&gt;Conduct a pretest on a few users.
            &lt;/step&gt; &lt;step number="6"&gt;Edit the script based 
            on insights gleaned from the pretest.&lt;/step&gt; 
            &lt;step number="7"&gt;Resume testing.&lt;/step&gt;&lt;/p&gt;
         &lt;/chapter&gt;
      &lt;/part&gt;
      &lt;part number="2"&gt;
         &lt;chapter&gt;
            &lt;title&gt;Conducting Usability Tests&lt;/title&gt; 
            &lt;p&gt;Users can be tested at any computer 
            workstation &lt;footnote&gt;They may be most 
            comfortable at their own workstation.
            &lt;/footnote&gt; or in a lab.&lt;/p&gt;
            &lt;p&gt;Give the user the script, then assure them 
            that you are testing the Web site, not them. 
            Users are asked to verbalize their thoughts as 
            they complete the tasks. The event is recorded 
            or someone takes notes. It is often preferable 
            to have two testers, &lt;footnote&gt;Usability 
            testing can be done at great expense or on a 
            shoe string, using &lt;testingProcedure&gt;in-house 
            expertise&lt;/testingProcedure&gt; or 
            &lt;testingProcedure&gt;contracting with human 
            computer interaction professionals
            &lt;/testingProcedure&gt;.&lt;/footnote&gt; one to ask the 
            questions, another to take notes. Testers should 
            offer no guidance or comments to the user. Mouse 
            movements, typing, expressions, and the user's 
            words should be recorded.&lt;/p&gt;
         &lt;/chapter&gt;
         &lt;chapter&gt;
            &lt;title&gt;Evaluating and Implementing Results&lt;/title&gt; 
            &lt;p&gt;Compile the results and review collectively. 
            Make changes to the site to alleviate the problems 
            found in Web site components which were propagating 
            the largest number of or the most devastating errors. 
            Begin new iterations of testing and changes, until 
            users are successful in the accomplishing the 
            tasks.&lt;/p&gt;
         &lt;/chapter&gt;
      &lt;/part&gt;
   &lt;/content&gt;
&lt;/book&gt;

&lt;book number="3"&gt;
   &lt;metadata&gt;
      &lt;title shortTitle="Usabilityguy Manuscript 
      Guide"&gt;John Wesley Usabilityguy: A Register of His 
      Papers&lt;/title&gt;
      &lt;authors&gt;
         &lt;author&gt;Millicent Marigold&lt;/author&gt;
         &lt;author&gt;Morty Marigold&lt;/author&gt;
      &lt;/authors&gt;
      &lt;publicationInfo&gt;      
         &lt;publisher&gt;Ersatz Manuscript Library&lt;/publisher&gt;
         &lt;dateIssued&gt;1998&lt;/dateIssued&gt;
         &lt;dateRevised&gt;2002&lt;/dateRevised&gt;
      &lt;/publicationInfo&gt;
      &lt;price&gt;21.49&lt;/price&gt;   
      &lt;subjects xml:lang="en"&gt;
         &lt;subject&gt;Computers&lt;/subject&gt;
         &lt;subject&gt;Software evaluation&lt;/subject&gt;
         &lt;subject&gt;Usability testing&lt;/subject&gt;
         &lt;subject&gt;Manuscript collections&lt;/subject&gt;
      &lt;/subjects&gt;
      &lt;subjects xml:lang="fr"&gt;
         &lt;subject&gt;Ordinateurs&lt;/subject&gt;
         &lt;subject&gt;Évaluation de logiciels&lt;/subject&gt;
         &lt;subject&gt;Tests d'ergonomie&lt;/subject&gt;
         &lt;subject&gt;Collections de manuscrits&lt;/subject&gt;
      &lt;/subjects&gt;
      &lt;subjects xml:lang="zh"&gt;
         &lt;subject&gt;计算机&lt;/subject&gt;
         &lt;subject&gt;软件评价&lt;/subject&gt;
         &lt;subject&gt;可用性测试&lt;/subject&gt;
         &lt;subject&gt;手稿专藏&lt;/subject&gt;
      &lt;/subjects&gt;
   &lt;/metadata&gt;
   &lt;content&gt;
      &lt;introduction&gt;
         &lt;p&gt;The papers of John Wesley Usabilityguy span the 
         years 1946-2001, with the bulk of the items 
         concentrated in the period from 1985 to 2001. The 
         papers feature his career as a developer of software 
         applications and usability specialist. The collection 
         consists of correspondence, memoranda, journals, 
         speeches, article drafts, book drafts, notes, charts, 
         graphs, family papers, clippings, printed matter, 
         photographs, résumés and other materials.&lt;/p&gt;
      &lt;/introduction&gt;
      &lt;part number="1"&gt; &lt;container type="box"&gt;1-12&lt;/container&gt;
         &lt;title&gt;Subject File, &lt;date normalize="1930/1974"&gt;
         1930-1974&lt;/date&gt;&lt;/title&gt;
         &lt;introduction&gt;
            &lt;p&gt;Correspondence, telegrams, memoranda, journals, 
            logs, testimony, approved travel orders, invitations, 
            charts, graphs, forms, biographical data, photographs, 
            book drafts, clippings and other printed matter, 
            résumés and miscellaneous material. Organized by 
            name of person or organization, topic, or type of 
            material.&lt;/p&gt;
         &lt;/introduction&gt;
         &lt;component&gt;&lt;container type="box"&gt;1&lt;/container&gt;
           &lt;componentTitle&gt;Computers&lt;/componentTitle&gt;
           &lt;subComponent&gt;
              &lt;componentTitle&gt;Software, 
              &lt;componentDate normalize="1946/1947"&gt;1946-1947
              &lt;/componentDate&gt;
              &lt;/componentTitle&gt;
           &lt;/subComponent&gt;
           &lt;subComponent&gt;
              &lt;componentTitle&gt;Human Computer Interaction 
              research, &lt;componentDate normalize="1945/1952"&gt;
              1945-1952&lt;/componentDate&gt;
              &lt;/componentTitle&gt;
              &lt;subsubComponent&gt;
                 &lt;componentTitle&gt;Flow diagram, 
                 &lt;componentDate normalize="1950"&gt;1950
                 &lt;/componentDate&gt;
                 &lt;/componentTitle&gt;
              &lt;/subsubComponent&gt;
              &lt;subsubComponent&gt;
                 &lt;componentTitle&gt;General, 
                 &lt;componentDate normalize="1947/1951"&gt;1947-1951
                 &lt;/componentDate&gt;
                 &lt;/componentTitle&gt;
              &lt;/subsubComponent&gt;
              &lt;subsubComponent&gt;&lt;container type="box"&gt;2&lt;/container&gt;
                 &lt;componentTitle&gt;Eye Movement research,
                 &lt;componentDate normalize="1949/1950"&gt;1949-1950
                 &lt;/componentDate&gt;
                 &lt;/componentTitle&gt;
              &lt;/subsubComponent&gt; 
              &lt;subsubComponent&gt;
                 &lt;componentTitle&gt;User profiling, 
                 &lt;componentDate normalize="1950/1959"&gt;1950s
                 &lt;/componentDate&gt;
                 &lt;/componentTitle&gt;
              &lt;/subsubComponent&gt;
            &lt;/subComponent&gt;
         &lt;/component&gt;
         &lt;component&gt;
           &lt;componentTitle&gt;Web User Appreciation Award, 
           &lt;componentDate normalize="1956"&gt;1956&lt;/componentDate&gt;
           &lt;/componentTitle&gt;
         &lt;/component&gt;
      &lt;/part&gt;
      &lt;part number="2"&gt;&lt;container type="box"&gt;3-5&lt;/container&gt;
         &lt;title&gt;Writings File, 
         &lt;date normalize="1985/1999"&gt;1985-1999&lt;/date&gt;
         &lt;/title&gt;
         &lt;introduction&gt;
            &lt;p&gt;Correspondence, articles, book drafts, notes, 
            contracts, clippings, and printed matter. Arranged 
            alphabetically by type (articles, books, reports, 
            and miscellaneous) and therein alphabetically by 
            type of material, subject, or title.&lt;/p&gt;
         &lt;/introduction&gt;
         &lt;component&gt;
            &lt;componentTitle&gt;Writings by Usabilityguy
            &lt;/componentTitle&gt;
            &lt;subComponent&gt;
               &lt;componentTitle&gt;&lt;componentDate normalize="1996"&gt;
               1996&lt;/componentDate&gt;
               &lt;/componentTitle&gt; 
               &lt;subsubComponent&gt;
                  &lt;componentTitle&gt;"How Many Users Are Enough 
                  for User Testing?"&lt;/componentTitle&gt;
               &lt;/subsubComponent&gt; 
               &lt;subsubComponent&gt;
                  &lt;componentTitle&gt;"How to Evaluate Results from 
                  User Tests."&lt;/componentTitle&gt;
               &lt;/subsubComponent&gt;
               &lt;subsubComponent&gt;
                  &lt;container type="box"&gt;5&lt;/container&gt;
                  &lt;componentTitle&gt;"When Are You Done Testing?"
                  &lt;/componentTitle&gt;
               &lt;/subsubComponent&gt;
               &lt;subsubComponent&gt;
                  &lt;componentTitle&gt;"Do-It-Yourself User Testing"
                  &lt;/componentTitle&gt;
               &lt;/subsubComponent&gt; 
            &lt;/subComponent&gt;
         &lt;/component&gt;
         &lt;component&gt;
            &lt;componentTitle&gt;Charitable Contributions
            &lt;/componentTitle&gt; 
            &lt;subComponent&gt;
               &lt;componentTitle&gt;Diseases: AIDS, Hepatitis, 
               Tuberculosis &lt;componentDate normalize=
               "1990/1999"&gt;1990-1999&lt;/componentDate&gt;
               &lt;/componentTitle&gt;
            &lt;/subComponent&gt; 
            &lt;subComponent&gt;
               &lt;componentTitle&gt;Environmental Conservation: 
               Rivers &lt;componentDate normalize="1995"&gt;1995
               &lt;/componentDate&gt;
               &lt;/componentTitle&gt;
            &lt;/subComponent&gt;
         &lt;/component&gt;
      &lt;/part&gt;
   &lt;/content&gt;
&lt;/book&gt;
&lt;/books&gt;</eg>
</div2>
</div1>
<div1 id="Word">
<head>Use Case "WORD": Word and Phrase Queries</head>
<div2 id="word-description">
<head>Description</head>
<p>These use cases begin with the simplest queries possible--queries on a single word or phrase. Phrase queries are queries on one or more 
sequences of words. A sequence can contain any number of words. One of these queries is on Chinese characters.</p>
<p>Refer to Section 9 (BOOLEAN) for multiple word and phrase queries with Boolean full-text predicates. Refer to Section 12 (SCORE) for multiple word and 
phrase queries with score.</p>
</div2>
<div2 id="word-queries-results">
<head>Queries and Results</head>
<div3 id="word-queries-results-q1">
<head>Q1 Single Word Query</head>
<p>Find all book titles containing the word "usability".</p>
<p>This query finds a single word within an element.</p>
<ulist>
<item>
<p>Operands: "usability"</p>
</item>
<item>
<p>Functionality: word query</p>
</item>
<item>
<p>Context: books/book/metadata/title</p>
</item>
<item>
<p>Return: books/book/metadata/title</p>
</item>
<item>
<p>Comments: This is the simplest query possible, a query on one word within one element. This
						query does not employ wildcards, stemming, or thesaurus support. While this query finds useful results in the sample 
						data, most queries such as one on the word "test" would not. A query on the word "test" would return no results, missing the word 
						variants which exist in the sample data: "pretest" "tested" "testers" "testimony" "testing" and "tests".</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the <phrase role="found">Usability</phrase> of a Web Site Through 
Expert Reviews and <phrase role="found">Usability</phrase> Testing&lt;/title&gt;

&lt;title&gt;<phrase role="found">Usability</phrase> Basics: How to Plan for and Conduct 
<phrase role="found">Usability</phrase> Tests on Web Site Thereby Improving the 
<phrase role="found">Usability</phrase> of Your Web Site&lt;/title&gt;</eg>
</div3>
<div3 id="word-queries-results-q2">
<head>Q2 Single Phrase Query</head>
<p>Find all book subjects containing the phrase "usability testing".</p>
<p>This query finds a single phrase within an element.</p>
<ulist>
<item>
<p>Operands: "usability testing"</p>
</item>
<item>
<p>Functionality: phrase query</p>
</item>
<item>
<p>Context: books//subject</p>
</item>
<item>
<p>Return: books//subject</p>
</item>
<item>
<p>Content: This is a simple query on one phrase within one element. Unlike an 
unordered proximity query, the words in this phrase query must be adjacent to 
each other and must appear in the order specified. While this query finds useful results in the sample data, most queries such as one on "software developer" 
would not. A query on the phrase "software developer" would return no results, missing "developer of software" which exists 
in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;subject&gt;<phrase role="found">Usability testing</phrase>&lt;/subject&gt;
						
&lt;subject&gt;<phrase role="found">Usability testing</phrase>&lt;/subject&gt;

&lt;subject&gt;<phrase role="found">Usability testing</phrase>&lt;/subject&gt;</eg>
</div3>
<div3 id="word-queries-results-q3">
<head>Q3 Single Phrase Query on Long Text Excerpt</head>
<p>Find all book text containing the phrase "would a user know by looking at the screen how to complete the first step of the task".</p>
<p>This query finds a single phrase in an element.</p>
<ulist>
<item>
<p>Operands: "would a user know by looking at the screen how to complete the first step of the task"</p>
</item>
<item>
<p>Functionality: phrase query</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books//content</p>
</item>
<item>
<p>Comments: This query shows phrases can be of any length.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;content&gt;
   ...
      &lt;p&gt;Expert reviewers evaluate Web site 
      understandability and ease of learning while 
      performing specified tasks. They walk through 
      the site answering questions such as "<phrase role="found">Would a </phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">user know by looking at the screen how to</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">complete the first step of the task</phrase>?" and "If 
      the user completed the first step, would the 
      user know what to do next?," with the goal of 
      identifying any obstacles to completing the 
      task and assessing whether the user would 
      cognitively be aware that he was successful in 
      completing a step in the process.&lt;/p&gt;
   ...
&lt;/content&gt;</eg>
</div3>
<div3 id="word-queries-results-q4">
<head>Q4 Single Phrase Query on Chinese Characters</head>
<p>Find all book subjects containing the phrase (n-gram) "网站".</p>
<p>This query finds a single phrase (n-gram) within an element.</p>
<ulist>
<item>
<p>Operands: "网站"</p>
</item>
<item>
<p>Functionality: phrase query</p>
</item>
<item>
<p>Context: books//subject</p>
</item>
<item>
<p>Return: books//subject</p>
</item>
<item>
<p>Comments: This query is an example of a phrase query where the phrase being queried consists 
						of two Chinese
						characters. It assumes
						a specific
						language-dependent tokenization.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;subject&gt;<phrase role="found">网站</phrase>建置&lt;/subject&gt;      
&lt;subject&gt;<phrase role="found">网站</phrase>可用性&lt;/subject&gt;

&lt;subject&gt;<phrase role="found">网站</phrase>建置&lt;/subject&gt;</eg>
</div3>
</div2>
</div1>
<div1 id="Element">
<head>Use Case "ELEMENT": Queries on XML Elements and Attributes</head>
<div2 id="element-description">
<head>Description</head>
<p>These use cases query XML elements, including instances of an element and multiple elements, attributes, and elements and attributes. They use a 
single XPath statement to locate the elements or attributes to be queried.</p>
<p>Some queries return additional or different elements than were queried. Another queries an element and its descendants. Another queries across element boundaries. 
They are in this section only because they are very common queries and necessary for writing meaningful full-text queries. Refer to Section 13 (STRUCTURE) 
for queries which more fully exploit the complexity and hierarchy of XML structure and Section 14 (IGNORE) for queries across element boundaries which 
ignore tags and content.</p>
</div2>
<div2 id="element-queries-results">
<head>Queries and Results</head>
<div3 id="element-queries-results-q1">
<head>Q1 Query on Element</head>
<p>Find all book paragraphs with the word "step".</p>
<p>This query finds a word in an element.</p>
<ulist>
<item>
<p>Operands: "step"</p>
</item>
<item>
<p>Functionality: word query</p>
</item>
<item>
<p>Context: books//p</p>
</item>
<item>
<p>Return: books/book/@number, books//p</p>
</item>
<item>
<p>Comments: This query finds the word "step" in the p element, not in any other element. </p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="1"&gt;
   &lt;p&gt;Expert reviewers evaluate Web site 
   understandability and ease of learning while 
   performing specified tasks. They walk through 
   the site answering questions such as "Would a 
   user know by looking at the screen how to 
   complete the first step of the task?" and "If 
   the user completed the first <phrase role="found">step</phrase>, would the 
   user know what to do next?," with the goal of 
   identifying any obstacles to completing the 
   task and assessing whether the user would 
   cognitively be aware that he was successful in 
   completing a <phrase role="found">step</phrase> in the process.&lt;/p&gt;
&lt;/book&gt;</eg>
</div3>
<div3 id="element-queries-results-q2">
<head>Q2 Query on Multiple Operands in Same Instance of an Element</head>
<p>Find all books with the phrase "web site" and the word "usability" in the same subject.</p>
<p>This query finds a word and a phrase within one instance of an element.</p>
<ulist>
<item>
<p>Operands: "web site" "usability"</p>
</item>
<item>
<p>Functionality: phrase query, word query, <code>and</code> query</p>
</item>
<item>
<p>Context: books//subject</p>
</item>
<item>
<p>Return: books/book/@number, books//subject</p>
</item>
<item>
<p>Comments: This query find words and phrases within one instance of an element, not allowing one 
of the operands to be found in one sibling and the other operand in a different sibling of 
the same name. This query does not find book 2 which has "usability" and "web site" in diferrent instances of an element. It 
uses an <code>and</code> query introduced in Section 9 (BOOLEAN).</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="1"&gt;
   &lt;subject&gt;<phrase role="found">Web site</phrase>&nbsp;<phrase role="found">usability</phrase>&lt;/subject&gt;
&lt;/book&gt;</eg>
</div3>
<div3 id="element-queries-results-q3">
<head>Q3 Query on Multiple Operands in Any Instance of an Element</head>
<p>Find all books with the phrase "web site" and the word "usability" in any subject.</p>
<p>This query finds a word and a phrase within any instance of an element, across 
						the siblings of the same name. The word and the phrase may be in different elements.</p>
<ulist>
<item>
<p>Operands: "web site" "usability"</p>
</item>
<item>
<p>Functionality: phrase query, word query, <code>and</code> query</p>
</item>
<item>
<p>Context: books//subject</p>
</item>
<item>
<p>Return: books/book/@number, books//subject</p>
</item>
<item>
<p>Comments: This query returns words and phrases within any instance of an 
						element, allowing one of the operands to be found in one sibling and the other operand 
						in a different sibling of the same name. It uses an <code>and</code> query introduced in Section 9 (BOOLEAN).</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="1"&gt;
   &lt;subject&gt;<phrase role="found">Usability</phrase> testing&lt;/subject&gt;
   &lt;subject&gt;<phrase role="found">Web site</phrase> development&lt;/subject&gt;        
   &lt;subject&gt;<phrase role="found">Web site</phrase>&nbsp;<phrase role="found">usability</phrase>&lt;/subject&gt;  
&lt;/book&gt;
   
&lt;book number="2"&gt;
   &lt;subject&gt;<phrase role="found">Usability</phrase> testing&lt;/subject&gt;
   &lt;subject&gt;<phrase role="found">Web site</phrase> development&lt;/subject&gt;
&lt;/book&gt;</eg>
</div3>
<div3 id="element-queries-results-q4">
<head>Q4 Query on Multiple Operands in Every Instance of an Element</head>
<p>Find all books with the words "ersatz" and "publications" in every publisher name.</p>
<p>This query finds two words within every instance of an element.</p>
<ulist>
<item>
<p>Operands: "ersatz" "publications"</p>
</item>
<item>
<p>Functionality: word query, <code>and</code> query</p>
</item>
<item>
<p>Context: books//publisher</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//publisher</p>
</item>
<item>
<p>Comments: This query does not return a book if at least one of its publishers does not contain the words "ersatz" and 
"publications". Book 1 is returned because it has a single publisher which satisfies the full-text conditions (contains both "Ersatz" and
"Publications").  Book 2 is not returned because even though it has a publisher that satisfies the full-text conditions, it also has a publisher that
does not satisfy it (universal quantification). Book 3 is not returned because it has a single publisher which
does not satisfy the query (contains "Ersatz" but not "Publications"). Finally, universal quantification will allow books without publishers to qualify. 
It uses an <code>and</code> query introduced in Section 9 (BOOLEAN).</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site 
Through Expert Reviews and Usability Testing&lt;/title&gt;
  &lt;publisher&gt;<phrase role="found">Ersatz Publications</phrase>&lt;/publisher&gt;</eg>
</div3>
<div3 id="element-queries-results-q5">
<head>Q5 Query on Element Returning Different Elements</head>
<p>Find all books with the phrase "usability testing" in some subject.</p>
<p>This query finds a single phrase within an element and returns different elements from the same document.</p>
<ulist>
<item>
<p>Operands: "usability testing"</p>
</item>
<item>
<p>Functionality: phrase query</p>
</item>
<item>
<p>Context: books//subject</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//author, 
books//publicationInfo/dateRevised</p>
</item>
<item>
<p>Comments: This query queries the subject element, but does not return it. It returns three different elements which provide useful information 
to the user.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;author&gt;Millicent Marigold&lt;/author&gt;
   &lt;author&gt;Montana Marigold&lt;/author&gt;
   &lt;dateRevised&gt;2002&lt;/dateRevised&gt;
   
&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt;	
   &lt;dateRevised&gt;2001&lt;/dateRevised&gt; 
     
&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;
   &lt;author&gt;Millicent Marigold&lt;/author&gt;
   &lt;author&gt;Morty Marigold&lt;/author&gt;
   &lt;dateRevised&gt;2002&lt;/dateRevised&gt;</eg>
</div3>
<div3 id="element-queries-results-q6">
<head>Q6 Query on Multiple Elements</head>
<p>Find all books with "usability tests" in book or chapter titles.</p>
<p>This query finds a phrase in multiple elements.</p>
<ulist>
<item>
<p>Operands: "usability tests"</p>
</item>
<item>
<p>Functionality: phrase query</p>
</item>
<item>
<p>Context: books/book/metadata/title, books/book/content/part//chapter/title</p>
</item>
<item>
<p>Return: books/book/metadata/title, books/book/content/part//chapter/title</p>
</item>
<item>
<p>Comments: This query is an example of a word query in two elements.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Usability Basics: How to Plan for and Conduct 
<phrase role="found">Usability Tests</phrase> on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;title&gt;Planning then Conducting <phrase role="found">Usability</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">Tests</phrase>&lt;/title&gt; 
   &lt;title&gt;Conducting <phrase role="found">Usability Tests</phrase>&lt;/title&gt;</eg>
</div3>
<div3 id="element-queries-results-q7">
<head>Q7 Query Across Element Boundaries</head>
<p>Find all books with the phrase "usability testing once the problems".</p>
<p>This query finds a phrase which begins in one element and ends in a second.</p>
<ulist>
<item>
<p>Operands: "usability testing once the problems"</p>
</item>
<item>
<p>Functionality: phrase query, ignoring element tags</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: This query crosses sibling element boundaries.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;title&gt;<phrase role="found">Usability Testing</phrase>&lt;/title&gt;
         &lt;p&gt;<phrase role="found">Once the problems</phrase> identified by expert 
         reviews have been corrected, it is time to 
         conduct some tests of the site with your unique 
         audience or audiences by conducting usability 
         testing.&lt;/p&gt;
      ...
   &lt;/content&gt;</eg>
</div3>
<div3 id="element-queries-results-q8">
<head>Q8 Query on Element and Its Descendants</head>
<p>Find all books with the word "tests".</p>
<p>This query finds a word in an element or its descendants.</p>
<ulist>
<item>
<p>Operands: "tests"</p>
</item>
<item>
<p>Functionality: word query</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: This query crosses parent-child element boundaries.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;Once the problems identified by expert 
         reviews have been corrected, it is time to 
         conduct some <phrase role="found">tests</phrase> of the site with your unique 
         audience or audiences by conducting usability 
         testing.&lt;/p&gt;
      ...
   &lt;/content&gt;   
   
&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;content&gt;
      ...	
         &lt;p&gt;This is a basic handbook for planning and 
         conducting usability <phrase role="found">tests</phrase> on Web sites. Usability 
         testing should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         ...
            &lt;title&gt;Planning then Conducting Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">Tests</phrase>&lt;/title&gt;   
      ...
   &lt;/content&gt;   

&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;        
   &lt;content&gt;
      ...	
            &lt;componentTitle&gt;"How to Evaluate Results from 
            User <phrase role="found">Tests</phrase>."&lt;/componentTitle&gt; 
      ...
   &lt;/content&gt;</eg>
</div3>
<div3 id="element-queries-results-q9">
<head>Q9 Query on Attribute</head>
<p>Find all books with "improve" "web" "usability" in the short title.</p>
<p>This query finds multiple words within an attribute allowing  word variants and allowing the words in any order with up to a specified number of intervening words.</p>
<ulist>
<item>
<p>Operands: "improve" "web" "usability" </p>
</item>
<item>
<p>Functionality: word queries, stemming, unordered proximity (0 to 2 intervening words)</p>
</item>
<item>
<p>Context: books/book//title/@shortTitle</p>
</item>
<item>
<p>Return: books/book/@number, books/book//title/@shortTitle</p>
</item>
<item>
<p>Comments: This query illustrates full-text querying within an attribute. It uses stemming introduced in Section 7 (STEMMING) and
an ordered proximity query introduced in Section 10 (DISTANCE).</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="1"&gt;
   &lt;title shortTitle="<phrase role="found">Improving</phrase>
<phrase role="found">Web</phrase> Site <phrase role="found">Usability</phrase>"&gt;Improving 
   the Usability of a Web Site Through Expert Reviews and Usability 
   Testing&lt;/title&gt;
&lt;/book&gt;</eg>
</div3>
<div3 id="element-queries-results-q10">
<head>Q10 Query on Element and Attribute</head>
<p>Find all books with the phrase "manuscript guides" in the short title and the phrase "user profiling" in the text.</p>
<p>This query finds a phrase within an attribute and a phrase within an element and its descendants.</p>
<ulist>
<item>
<p>Operands: "manuscript guides" "user profiling"</p>
</item>
<item>
<p>Functionality: phrase queries, stemming, <code>and</code> query</p>
</item>
<item>
<p>Context: books/book//title/@shortTitle, books//content</p>
</item>
<item>
<p>Return: books/book/@number, books/book//title/@shortTitle, books//content</p>
</item>
<item>
<p>Comments: This query combines querying within an element with querying within an attribute. 
It uses stemming introduced in Section 7 (STEMMING) and an <code>and</code> query introduced in Section 9 (BOOLEAN).</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="3"&gt;
   &lt;title shortTitle="Usabilityguy <phrase role="found">Manuscript</phrase> 
&nbsp;&nbsp;&nbsp;<phrase role="found">Guide</phrase>"&gt;John Wesley Usabilityguy: A Register of His 
   Papers&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;componentTitle&gt;<phrase role="found">User profiling</phrase>, 
         &lt;componentDate normalize="1950/1959"&gt;1950s
         &lt;/componentDate&gt;
         &lt;/componentTitle&gt;
      ...  
   &lt;/content&gt;
&lt;/book&gt;</eg>
</div3>
</div2>
</div1>
<div1 id="Stop-word">
<head>Use Case "STOP-WORD": Queries Ignoring and Overriding Stop Words</head>
<div2 id="stop-word-description">
<head>Description</head>
<p>These use cases identify commonly used words which have been saved to a stop word list. Words on this list
are routinely ignored during querying. Some of the queries override the stop word identification of a word, making it available again for querying.</p>
</div2>
<div2 id="Stop-word-queries-results">
<head>Queries and Results</head>
<div3 id="stop-word-queries-results-q1">
<head>Q1 Query on Word Ignoring Single Stop Word</head>
<p>Find all books with the word "the" in the text.</p>
<p>This query ignores a word which has been identified as a stop word.</p>
<ulist>
<item>
<p>Operands: "the"</p>
</item>
<item>
<p>Functionality: identify and ignore stop words (the), word query</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title</p>
</item>
<item>
<p>Comments: This query on a stop word will either return no results or an error 
						depending on the implementation.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg><![CDATA[No results returned.]]></eg>
</div3>
<div3 id="stop-word-queries-results-q2">
<head>Q2 Query on Phrase Ignoring Single Stop Word</head>
<p>Find all books with the phrase "planning then conducting" in the text.</p>
<p>This query finds a phrase ignoring a word which has been identified as a stop word.</p>
<ulist>
<item>
<p>Operands: "planning then conducting"</p>
</item>
<item>
<p>Functionality: identify and ignore stop words (then), phrase query</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: Once the stop word "then" is ignored, this query is reduced to a query on the words "planning" and" conducting", allowing one 
intervening word. It finds both "planning and conducting" and "planning then conducting" in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;This is a basic handbook for <phrase role="found">planning</phrase> and 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">conducting</phrase> usability tests on Web sites. Usability 
         testing should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         ...
            &lt;title&gt;<phrase role="found">Planning</phrase> then <phrase role="found">Conducting</phrase> Usability
            Tests&lt;/title&gt; 
      ...
   &lt;/content&gt;</eg>
</div3>
<div3 id="stop-word-queries-results-q3">
<head>Q3 Query on Phrase Overriding Single Stop Word</head>
<p>Find books with the phrase "Guides and finding aids" in the subject.</p>
<p>This query finds a phrase overriding the stop word identification of a word.</p>
<ulist>
<item>
<p>Operands: "guides and finding aids"</p>
</item>
<item>
<p>Functionality: identify and override stop words (and), phrase query</p>
</item>
<item>
<p>Context: books//subject</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//subject</p>
</item>
<item>
<p>Comments: This query finds the phrase "guides and finding aids", which might be in a subject 
						element built from a controlled vocabulary where querying the exact phrase may avoid undesired 
						results.</p>
</item>
<item>
<p>Version: For consideration after v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;subject&gt;<phrase role="found">Guides and finding aids</phrase>&lt;/subject&gt;</eg>
</div3>
<div3 id="stop-word-queries-results-q4">
<head>Q4 Query on Phrase Ignoring Multiple Stop Words</head>
<p>Find all books which have not been approved by a Web users organization.</p>
<p>This query finds a phrase ignoring multiple words which has been identified as stop words.</p>
<ulist>
<item>
<p>Operands: "not been approved"</p>
</item>
<item>
<p>Functionality: identify and ignore stop words (not, been), phrase query</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: Once the stop words are ignored, this query is reduced to a query on the word "approved". It returns books 
with the word "approved" in the phrases "been approved" "not been approved" and "approved travel orders" in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;	
   &lt;content&gt;
      ...			
         &lt;p&gt;This book has been <phrase role="found">approved</phrase> by the Web Site 
         Users Association&lt;/p&gt;	
      ...		
 &lt;/content&gt;  				

&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt;
   &lt;content&gt;
      ...		
         &lt;p&gt;This book has not been <phrase role="found">approved</phrase> by the Web Site 
         Users Association&lt;/p&gt;
      ...     
   &lt;/content&gt; 

&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;   
   &lt;content&gt;
      ...		
         &lt;p&gt;Correspondence, telegrams, memoranda, journals, 
         logs, testimony, <phrase role="found">approved</phrase> travel orders, invitations, 
         charts, graphs, forms, biographical data, photographs, 
         book drafts, clippings and other printed matter, 
         résumés and miscellaneous material. Organized by 
         name of person or organization, topic, or type of 
         material.&lt;/p&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="stop-word-queries-results-q5">
<head>Q5 Query on Phrase Overriding Multiple Stop Words</head>
<p>Find all the books which have not been approved by a Web users organization.</p>
<p>This query finds a phrase overriding the stop word identification of a multiple words.</p>
<ulist>
<item>
<p>Operands: "not been approved"</p>
</item>
<item>
<p>Functionality: identify and override stop words (not, been), phrase query</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: This query finds the phrase "not been approved". It does not return the phrases 
						"been approved" and "approved travel orders" in the sample data.</p>
</item>
<item>
<p>Version: For consideration after v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;This book has <phrase role="found">not been approved</phrase> by the Web Site 
         Users Association&lt;/p&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
</div2>
</div1>
<div1 id="Character-manipulation">
<head>Use Case "CHARACTER-MANIPULATION": Queries Manipulating Normalized Characters and Tokenized Words, Spaces, and Punctuation</head>
<div2 id="character-manipulation-description">
<head>Description</head>
<p>These use cases illustrate queries manipulating normalized characters and tokenized words, spaces, and punctuation. Depending on 
the desired result, they may consider or ignore diacritics, case, and special characters.</p>
<p>They query words entered with 
diacritics sometimes returning the same; other times returning words with and without diacritics. They query words 
entered in upper case sometimes returning the same; other times returning words in both upper and lower case. Other queries find words containing 
a hyphen or two words with a space separating them.</p>
</div2>
<div2 id="character-manipulation-queries-results">
<head>Queries and Results</head>
<div3 id="character-manipulation-queries-results-q1">
<head>Q1 Query Returning Characters with Diacritics Only</head>
<p>Verify the existence of a résumé in the papers of John Wesley Usabilityguy.</p>
<p>This query finds a word only when diacritics are present.</p>
<ulist>
<item>
<p>Operands: "résumé"</p>
</item>
<item>
<p>Functionality: collation requiring presence of diacritics, word query</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: The desired return is only the word "résumé" with diacritics, not the
						more often used word "resume" which is present in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;   
   &lt;content&gt;
      ...
         &lt;p&gt;The papers of John Wesley Usabilityguy span the 
         years 1946-2001, with the bulk of the items 
         concentrated in the period from 1985 to 2001. The 
         papers feature his career as a developer of software 
         applications and usability specialist. The collection 
         consists of correspondence, memoranda, journals, 
         speeches, article drafts, book drafts, notes, charts, 
         graphs, family papers, clippings, printed matter, 
         photographs, <phrase role="found">résumés</phrase> and other materials.&lt;/p&gt;
         ...
            &lt;p&gt;Correspondence, telegrams, memoranda, journals, 
            logs, testimony, approved travel orders, invitations, 
            charts, graphs, forms, biographical data, photographs, 
            book drafts, clippings and other printed matter, 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">résumés</phrase> and miscellaneous material. Organized by 
            name of person or organization, topic, or type of 
            material.&lt;/p&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="character-manipulation-queries-results-q2">
<head>Q2 Query Returning Characters with and without Diacritics</head>
<p>Verify the existence of a résumé in the papers of John Wesley Usabilityguy.</p>
<p>This query finds a word whether its diacritics are present or not.</p>
<ulist>
<item>
<p>Operands: "resume"</p>
</item>
<item>
<p>Functionality: collation ignoring the presence of diacritics, word query</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: The desired return is either the word "résumé" with diacritics or the word "resume" without diacritics. The user wants to find
						résumé, but has entered resume possibly because the system does not allow the entry of diacritics, the user does not know how to 
						enter diacritics, or the user did not want to take the time to enter them.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;content&gt;
      ...
         &lt;p&gt;Take the following steps to plan usability 
         testing. &lt;step number="1"&gt;Clarify and 
         articulate the goal of the usability testing.
         &lt;/step&gt; &lt;step number="2"&gt;Identify tasks which 
         are critical for users to be able to complete 
         successfully. &lt;/step&gt; &lt;step number="3"&gt;Compile 
         a script of questions or instructions which 
         will prompt the user to attempt those 
         tasks.&lt;/step&gt; &lt;step number="4"&gt;Identify your 
         users and begin recruiting them.&lt;/step&gt; &lt;step 
         number="5"&gt;Conduct a pretest on a few users.
         &lt;/step&gt; &lt;step number="6"&gt;Edit the script based 
         on insights gleaned from the pretest.&lt;/step&gt; 
         &lt;step number="7"&gt;<phrase role="found">Resume</phrase> testing.&lt;/step&gt;&lt;/p&gt;
      ...     
   &lt;/content&gt;       
   
&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;   
   &lt;content&gt;
      ...
         &lt;p&gt;The papers of John Wesley Usabilityguy span the 
         years 1946-2001, with the bulk of the items 
         concentrated in the period from 1985 to 2001. The 
         papers feature his career as a developer of software 
         applications and usability specialist. The collection 
         consists of correspondence, memoranda, journals, 
         speeches, article drafts, book drafts, notes, charts, 
         graphs, family papers, clippings, printed matter, 
         photographs, <phrase role="found">résumés</phrase> and other materials.&lt;/p&gt;
         ...
            &lt;p&gt;Correspondence, telegrams, memoranda, journals, 
            logs, testimony, approved travel orders, invitations, 
            charts, graphs, forms, biographical data, photographs, 
            book drafts, clippings and other printed matter, 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">résumés</phrase> and miscellaneous material. Organized by 
            name of person or organization, topic, or type of 
            material.&lt;/p&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="character-manipulation-queries-results-q3">
<head>Q3 Query Returning Upper Case Characters Only</head>
<p>	Find out whether John Wesley Usabilityguy included research on AIDS among the charities he supported.</p>
<p>This query finds a word in upper case letters only.</p>
<ulist>
<item>
<p>Operands: "AIDS"</p>
</item>
<item>
<p>Functionality: collation which is case-sensitive or limited to upper case, word query</p>
</item>
<item>
<p>Context: books//book</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//book</p>
</item>
<item>
<p>Comments: This query does not return the word "aids" in lower case which exists in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;
   &lt;book&gt;
      ...
         &lt;componentTitle&gt;Diseases: <phrase role="found">AIDS</phrase>, Hepatitis, 
         Tuberculosis &lt;componentDate normalize=
         "1990/1999"&gt;1990-1999&lt;/componentDate&gt;
         &lt;/componentTitle&gt;
      ...
    &lt;/book&gt;</eg>
</div3>
<div3 id="character-manipulation-queries-results-q4">
<head>Q4 Query Returning Upper Case and Lower Case Characters</head>
<p>	Find out whether John Wesley Usabilityguy included research on AIDS among the charities he supported.</p>
<p>This query finds a word in upper or lower case letters.</p>
<ulist>
<item>
<p>Operands: "AIDS"</p>
</item>
<item>
<p>Functionality: collation which is case-insensitive, word query</p>
</item>
<item>
<p>Context: books//book</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//book</p>
</item>
<item>
<p>Comments: This query returns the word "aids" in upper and lower case.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;book&gt;
      ...
         &lt;subject&gt;Guides and finding <phrase role="found">aids</phrase>&lt;/subject&gt;
      ...      
   &lt;/book&gt;     
   
&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;
   &lt;book&gt;
      ...
         &lt;componentTitle&gt;Diseases: <phrase role="found">AIDS</phrase>, Hepatitis, 
         Tuberculosis &lt;componentDate normalize=
         "1990/1999"&gt;1990-1999&lt;/componentDate&gt;
         &lt;/componentTitle&gt;
      ...
   &lt;/book&gt;</eg>
</div3>
<div3 id="character-manipulation-queries-results-q5">
<head>Q5 Query Returning Word with Special Character</head>
<p>Find all books with "walk-through".</p>
<p>This query finds a word containing a special character.</p>
<ulist>
<item>
<p>Operands: "walk-through"</p>
</item>
<item>
<p>Functionality: word query, collation returning words containing special characters</p>
</item>
<item>
<p>Context: books//book</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//book</p>
</item>
<item>
<p>Comments: The desired return is only the hyphenated word "walk-through",
						not the phrase "walk through" which is also present in the sample data.</p>
</item>
<item>
<p>Version: For consideration after v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;book&gt;
      ...
        &lt;subject&gt;Cognitive <phrase role="found">walk-through</phrase>&lt;/subject&gt;
        ...
        &lt;p&gt;Two expert review methods are discussed 
        here. They are heuristic evaluation and 
        cognitive <phrase role="found">walk-through</phrase>.&lt;/p&gt;
        ...
        &lt;title&gt;>Cognitive <phrase role="found">Walk-Through</phrase>&lt;/title&gt;
     ...
   &lt;/book&gt;</eg>
</div3>
<div3 id="character-manipulation-queries-results-q6">
<head>Q6 Query Returning Word with Special Character or Phrase with Space</head>
<p>Find all books with "walk-through".</p>
<p>This query finds a word with a special character or a phrase where the special character is replaced by a space.</p>
<ulist>
<item>
<p>Operands: "walk-through"</p>
</item>
<item>
<p>Functionality: word query, collation returning words containing special characters or phrases containing a space</p>
</item>
<item>
<p>Context: books//book</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//book</p>
</item>
<item>
<p>Comments: The desired return is the hyphenated word "walk-through" or the phrase "walk through".</p>
</item>
<item>
<p>Version: For consideration after v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;book&gt;
     ...
        &lt;subject&gt;Cognitive <phrase role="found">walk-through</phrase>&lt;/subject&gt;
        ...
        &lt;p&gt;Two expert review methods are discussed 
        here. They are heuristic evaluation and 
        cognitive <phrase role="found">walk-through</phrase>.&lt;/p&gt;
        ...
        &lt;title&gt;Cognitive <phrase role="found">Walk-Through</phrase>&lt;/title&gt;
        &lt;p&gt;Expert reviewers evaluate Web site 
        understandability and ease of learning while 
        performing specified tasks. They <phrase role="found">walk through</phrase> 
        the site answering questions such as "Would a 
        user know by looking at the screen how to 
        complete the first step of the task?" and "If 
        the user completed the first step, would the 
        user know what to do next?," with the goal of 
        identifying any obstacles to completing the 
        task and assessing whether the user would 
        cognitively be aware that he was successful in 
        completing a step in the process.&lt;/p&gt;
     ...
   &lt;/book&gt;</eg>
</div3>
</div2>
</div1>
<div1 id="Wildcard">
<head>Use Case "WILDCARD": Character Wildcard (Prefix, Infix, Suffix) and Word Wildcard Queries</head>
<div2 id="wildcard-description">
<head>Description</head>
<p>These use cases illustrate queries which allow a character or sequence of characters to be inserted into or 
appended to a word or a part of a word. Character wildcards can be prefix (added before the first 
character), infix (inserted within a word), or suffix (added after the last character).</p>
<p>These use cases also illustrate queries which allow a word or words to be inserted into or appended to a phrase.</p>
</div2>
<div2 id="wildcard-queries-results">
<head>Queries and Results</head>
<div3 id="wildcard-queries-results-q1">
<head>Q1 Single Prefix Character Wildcard Query</head>
<p>Find all books with the word "way" with any one character prefix.</p>
<p>This query finds a word allowing any one character prefix (any one character before the first character).</p>
<ulist>
<item>
<p>Operands: "way"</p>
</item>
<item>
<p>Functionality: word query, character wildcard (prefix)</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/@number, books//content</p>
</item>
<item>
<p>Comments: This query specifies that one and only one character be added to the word.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="1"&gt;
   &lt;content&gt;	
      ...				    
       &lt;p&gt;Expert reviews and usability testing are 
       methods of identifying problems in layout, 
       terminology, and navigation before they frustrate
       users and drive them <phrase role="found">away</phrase> from your site.&lt;/p&gt;
      ...	
   &lt;/content&gt;	
&lt;/book&gt;</eg>
</div3>
<div3 id="wildcard-queries-results-q2">
<head>Q2 Single Suffix Character Wildcard Query</head>
<p>Find all books with the word "test" with any one character suffix.</p>
<p>This query finds a word allowing any one character suffix (any one character after the last character).</p>
<ulist>
<item>
<p>Operands: "test"</p>
</item>
<item>
<p>Functionality: word query, character wildcard (suffix)</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/@number, books//content</p>
</item>
<item>
<p>Comments: This query finds "tests", but not "pretest" "test" "tested" "testers" "testimony" 
and "testing" which also appear in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="1"&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;Once the problems identified by expert 
         reviews have been corrected, it is time to 
         conduct some <phrase role="found">tests</phrase> of the site with your unique 
         audience or audiences by conducting usability 
         testing.&lt;/p&gt;
      ...     
   &lt;/content&gt;
&lt;/book&gt;      

&lt;book number="2"&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;This is a basic handbook for planning and 
         conducting usability <phrase role="found">tests</phrase> on Web sites. Usability 
         testing should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         ...
            &lt;title&gt;Planning then Conducting Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">Tests</phrase>&lt;/title&gt; 
         ...
            &lt;title&gt;Conducting Usability <phrase role="found">Tests</phrase>&lt;/title&gt; 				
      ...     
   &lt;/content&gt; 
&lt;/book&gt;     
   
&lt;book number="3"&gt;
   &lt;content&gt;
      ...
         &lt;componentTitle&gt;"How to Evaluate Results from 
         User <phrase role="found">Tests</phrase>."&lt;/componentTitle&gt;
      ...     
   &lt;/content&gt;
&lt;/book&gt;</eg>
</div3>
<div3 id="wildcard-queries-results-q3">
<head>Q3 Single Infix Character Wildcard Query</head>
<p>Find all books with the words "step or stop".</p>
<p>This query finds words allowing any one infix character (any one character in the middle of a word).</p>
<ulist>
<item>
<p>Operands: "st" "p"</p>
</item>
<item>
<p>Functionality: word query, character wildcard (infix)</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/@number, books//content</p>
</item>
<item>
<p>Comments: This query allows one and only one character to be added to the word.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="1"&gt;
   &lt;content&gt;
      ...					    
        &lt;p&gt;The most successful projects employ multiple 
        methods in multiple iterations. As Millicent 
        Marigold remarked during a recent conference, 
        "Don't <phrase role="found">stop</phrase>. Iterate, iterate, then iterate 
        again."&lt;/p&gt;
        ...
           &lt;p&gt;Expert reviewers evaluate Web site 
           understandability and ease of learning while 
           performing specified tasks. They walk through 
           the site answering questions such as "Would a 
           user know by looking at the screen how to 
           complete the first step of the task?" and "If 
           the user completed the first <phrase role="found">step</phrase>, would the 
           user know what to do next?," with the goal of 
           identifying any obstacles to completing the 
           task and assessing whether the user would 
           cognitively be aware that he was successful in 
           completing a <phrase role="found">step</phrase> in the process.&lt;/p&gt;  
     ...
   &lt;/content&gt;
&lt;/book&gt;	</eg>
</div3>
<div3 id="wildcard-queries-results-q4">
<head>Q4 0 or More Prefix Character Wildcard Query</head>
<p>Find all books with the word "test" with any prefix.</p>
<p>This query finds a word allowing any prefix (0 or more characters before the first character).</p>
<ulist>
<item>
<p>Operands: "test"</p>
</item>
<item>
<p>Functionality: word query, character wildcard (prefix)</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: This query finds "pretest", but not "test" "testers" "testimony" "testing" or "tests" 
which also appear in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;content&gt;
      ...
         &lt;step number="5"&gt;Conduct a <phrase role="found">pretest</phrase> on a few 
         users.&lt;/step&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="wildcard-queries-results-q5">
<head>Q5 0 or More Suffix Character Wildcard Query</head>
<p>Find all books with the word "test" with any suffix.</p>
<p>This query finds a word allowing any suffix (0 or more characters after the last character)</p>
<ulist>
<item>
<p>Operands: "test"</p>
</item>
<item>
<p>Functionality: word query, character wildcard (suffix)</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: This query finds "test" "testers" "testimony" "testing" and "tests", but not 
"pretest" which also appear in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;Expert reviews and usability <phrase role="found">testing</phrase> are 
         methods of identifying problems in layout, 
         terminology, and navigation before they frustrate
         users and drive them away from your site.&lt;/p&gt;
         ...
            &lt;title&gt;Usability <phrase role="found">Testing</phrase>&lt;/title&gt;
            &lt;p&gt;Once the problems identified by expert 
            reviews have been corrected, it is time to 
            conduct some <phrase role="found">tests</phrase> of the site with your unique 
            audience or audiences by conducting usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>.&lt;/p&gt;
      ...     
   &lt;/content&gt;      						

&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt;	
   &lt;content&gt;
      ...
         &lt;p&gt;This is a basic handbook for planning and 
         conducting usability <phrase role="found">tests</phrase> on Web sites. Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         ...
            &lt;title&gt;Planning then Conducting Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">Tests</phrase>&lt;/title&gt; 
            &lt;p&gt;Take the following steps to plan usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>. &lt;step number="1"&gt;Clarify and 
            articulate the goal of the usability <phrase role="found">testing</phrase>.
            &lt;/step&gt; &lt;step number="2"&gt;Identify tasks which 
            are critical for users to be able to complete 
            successfully. &lt;/step&gt; &lt;step number="3"&gt;Compile 
            a script of questions or instructions which 
            will prompt the user to attempt those 
            tasks.&lt;/step&gt; &lt;step number="4"&gt;Identify your 
            users and begin recruiting them.&lt;/step&gt; &lt;step 
            number="5"&gt;Conduct a pretest on a few users.
            &lt;/step&gt; &lt;step number="6"&gt;Edit the script based 
            on insights gleaned from the pretest.&lt;/step&gt; 
            &lt;step number="7"&gt;Resume <phrase role="found">testing</phrase>.&lt;/step&gt;&lt;/p&gt;
            ...
            &lt;title&gt;Conducting Usability <phrase role="found">Tests</phrase>&lt;/title&gt; 
            &lt;p&gt;Users can be <phrase role="found">tested</phrase> at any computer 
            workstation &lt;footnote&gt;They may be most 
            comfortable at their own workstation.
            &lt;/footnote&gt; or in a lab.&lt;/p&gt;
            &lt;p&gt;Give the user the script, then assure them 
            that you are <phrase role="found">testing</phrase> the Web site, not them. 
            Users are asked to verbalize their thoughts as 
            they complete the tasks. The event is recorded 
            or someone takes notes. It is often preferable 
            to have two <phrase role="found">testers</phrase>, &lt;footnote&gt;Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> can be done at great expense or on a 
            shoe string, using &lt;testingProcedure&gt;in-house 
            expertise&lt;/testingProcedure&gt; or 
            &lt;testingProcedure&gt;contracting with human 
            computer interaction professionals
            &lt;/testingProcedure&gt;.&lt;/footnote&gt; one to ask the 
            questions, another to take notes. <phrase role="found">Testers</phrase> should 
            offer no guidance or comments to the user. Mouse 
            movements, typing, expressions, and the user's 
            words should be recorded.&lt;/p&gt;
            ...
            &lt;p&gt;Compile the results and review collectively. 
            Make changes to the site to alleviate the problems 
            found in Web site components which were propagating 
            the largest number of or the most devastating errors. 
            Begin new iterations of <phrase role="found">testing</phrase> and changes, until 
            users are successful in the accomplishing the 
            tasks.&lt;/p&gt;
      ...     
   &lt;/content&gt;      

&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;
   &lt;content&gt;
      ...           
         &lt;p&gt;Correspondence, telegrams, memoranda, journals, 
         logs, <phrase role="found">testimony</phrase>, approved travel orders, invitations, 
         charts, graphs, forms, biographical data, photographs, 
         book drafts, clippings and other printed matter, 
         résumés and miscellaneous material. Organized by 
         name of person or organization, topic, or type of 
         material.&lt;/p&gt;
         ...
               &lt;componentTitle&gt;"How Many Users Are Enough 
               for User <phrase role="found">Testing</phrase>?"&lt;/componentTitle&gt;
               ...   
               &lt;componentTitle&gt;"How to Evaluate Results from 
               User <phrase role="found">Tests</phrase>."&lt;/componentTitle&gt;
               ...
               &lt;container type="box"&gt;5&lt;/container&gt;
               &lt;componentTitle&gt;"When Are You Done <phrase role="found">Testing</phrase>?"
               &lt;/componentTitle&gt;
               ...
               &lt;componentTitle&gt;"Do-It-Yourself User <phrase role="found">Testing</phrase>"
               &lt;/componentTitle&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="wildcard-queries-results-q6">
<head>Q6 0 or More Suffix Character Wildcard Query on a Part of a Word</head>
<p>Find all books with the phrases "usability testing" or "user testing".</p>
<p>This query finds a phrase allowing any suffix (0 or more characters after the last character) on a part of 
						one of the words.</p>
<ulist>
<item>
<p>Operands: "us testing"</p>
</item>
<item>
<p>Functionality: phrase query, character wildcard (suffix)</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: This is an example of a suffix query on a part of a word "us" which is not one of the words or one of the roots of the words desired in the results. The query on
"us" will find "usability" and "user". Where stemmed queries (presented below in Section 7 (STEMMING) attempt to return linguistic variants on a word or the root of a word, wildcards may be applied to any part of a word and will return all character combinations found.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;Expert reviews and <phrase role="found">usability testing</phrase> are 
         methods of identifying problems in layout, 
         terminology, and navigation before they frustrate
         users and drive them away from your site.&lt;/p&gt;
         ...
            &lt;title&gt;<phrase role="found">Usability Testing</phrase>&lt;/title&gt; 
            &lt;p&gt;Once the problems identified by expert 
            reviews have been corrected, it is time to 
            conduct some tests of the site with your unique 
            audience or audiences by conducting <phrase role="found">usability</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>.&lt;/p&gt;     
      ...     
   &lt;/content&gt;      
   
&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;content&gt;
      ...
         &lt;p&gt;This is a basic handbook for planning and 
         conducting usability tests on Web sites. <phrase role="found">Usability</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         ...
            &lt;p&gt;Take the following steps to plan <phrase role="found">usability</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>. &lt;step number="1"&gt;Clarify and 
            articulate the goal of the <phrase role="found">usability testing</phrase>.
            &lt;/step&gt; &lt;step number="2"&gt;Identify tasks which 
            are critical for users to be able to complete 
            successfully. &lt;/step&gt; &lt;step number="3"&gt;Compile 
            a script of questions or instructions which 
            will prompt the user to attempt those 
            tasks.&lt;/step&gt; &lt;step number="4"&gt;Identify your 
            users and begin recruiting them.&lt;/step&gt; &lt;step 
            number="5"&gt;Conduct a pretest on a few users.
            &lt;/step&gt; &lt;step number="6"&gt;Edit the script based 
            on insights gleaned from the pretest.&lt;/step&gt; 
            &lt;step number="7"&gt;Resume testing.&lt;/step&gt;&lt;/p&gt;
            ...
            &lt;p&gt;Give the user the script, then assure them 
            that you are testing the Web site, not them. 
            Users are asked to verbalize their thoughts as 
            they complete the tasks. The event is recorded 
            or someone takes notes. It is often preferable 
            to have two testers, &lt;footnote&gt;<phrase role="found">Usability</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> can be done at great expense or on a 
            shoe string, using &lt;testingProcedure&gt;in-house 
            expertise&lt;/testingProcedure&gt; or 
            &lt;testingProcedure&gt;contracting with human 
            computer interaction professionals
            &lt;/testingProcedure&gt;.&lt;/footnote&gt; one to ask the 
            questions, another to take notes. Testers should 
            offer no guidance or comments to the user. Mouse 
            movements, typing, expressions, and the user's 
            words should be recorded.&lt;/p&gt;
      ...     
   &lt;/content&gt;      

&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt; 
   &lt;content&gt;
      ...
         &lt;componentTitle&gt;"How Many Users Are Enough 
         for <phrase role="found">User Testing</phrase>?"&lt;/componentTitle&gt;
         ...
         &lt;componentTitle&gt;"Do-It-Yourself <phrase role="found">User Testing</phrase>"
         &lt;/componentTitle&gt;
         &lt;/subsubComponent&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="wildcard-queries-results-q7">
<head>Q7 0 or More Infix Character Wildcard Query</head>
<p>Find all books with the words "serve" or "service".</p>
<p>This query finds words allowing any infix characters (0 or more characters inserted in the middle of a word).</p>
<ulist>
<item>
<p>Operands: "serv", "e"</p>
</item>
<item>
<p>Functionality: word query, character wildcard (infix)</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: This query returns the word "service" and would return the word "serve" if it existed in the sample 
data. It does not return the word "served" which exists in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
          &lt;p&gt;Then changes are made to improve <phrase role="found">service</phrase> to 
          users.&lt;/p&gt; 	
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="wildcard-queries-results-q8">
<head>Q8 Specified Range Suffix Characters Wildcard Query</head>
<p>Find all books with the word "test" with any three to four character suffix.</p>
<p>This query finds a word allowing a number of characters within a specified range in a suffix (specified range of characters after the last character)</p>
<ulist>
<item>
<p>Operands: "test"</p>
</item>
<item>
<p>Functionality: word query, character wildcard (suffix)</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/@number, books//content</p>
</item>
<item>
<p>Comments: This query allows any three or four character suffix. It returns "testers" and "testing", but not "pretest" "tests" "tested" 
						and "test" which also appear in the sample data.</p>
</item>
<item>
<p>Version: For consideration after v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;book number="1"&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;Expert reviews and usability <phrase role="found">testing</phrase> are 
         methods of identifying problems in layout, 
         terminology, and navigation before they frustrate
         users and drive them away from your site.&lt;/p&gt;
         ...
            &lt;title&gt;Usability <phrase role="found">Testing</phrase>&lt;/title&gt;
            &lt;p&gt;Once the problems identified by expert 
            reviews have been corrected, it is time to 
            conduct some tests of the site with your unique 
            audience or audiences by conducting usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>.&lt;/p&gt;
      ...     
   &lt;/content&gt; 
&lt;/book&gt;     						

&lt;book number="2"&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;This is a basic handbook for planning and 
         conducting usability tests on Web sites. Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         ...
            &lt;p&gt;Take the following steps to plan usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>. &lt;step number="1"&gt;Clarify and 
            articulate the goal of the usability <phrase role="found">testing</phrase>.
            &lt;/step&gt; &lt;step number="2"&gt;Identify tasks which 
            are critical for users to be able to complete 
            successfully. &lt;/step&gt; &lt;step number="3"&gt;Compile 
            a script of questions or instructions which 
            will prompt the user to attempt those 
            tasks.&lt;/step&gt; &lt;step number="4"&gt;Identify your 
            users and begin recruiting them.&lt;/step&gt; &lt;step 
            number="5"&gt;Conduct a pretest on a few users.
            &lt;/step&gt; &lt;step number="6"&gt;Edit the script based 
            on insights gleaned from the pretest.&lt;/step&gt; 
            &lt;step number="7"&gt;Resume <phrase role="found">testing</phrase>.&lt;/step&gt;&lt;/p&gt;
            ...
            &lt;p&gt;Give the user the script, then assure them 
            that you are <phrase role="found">testing</phrase> the Web site, not them. 
            Users are asked to verbalize their thoughts as 
            they complete the tasks. The event is recorded 
            or someone takes notes. It is often preferable 
            to have two <phrase role="found">testers</phrase>, &lt;footnote&gt;Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> can be done at great expense or on a 
            shoe string, using &lt;testingProcedure&gt;in-house 
            expertise&lt;/testingProcedure&gt; or 
            &lt;testingProcedure&gt;contracting with human 
            computer interaction professionals
            &lt;/testingProcedure&gt;.&lt;/footnote&gt; one to ask the 
            questions, another to take notes. <phrase role="found">Testers</phrase> should 
            offer no guidance or comments to the user. Mouse 
            movements, typing, expressions, and the user's 
            words should be recorded.&lt;/p&gt;
            ...
            &lt;p&gt;Compile the results and review collectively. 
            Make changes to the site to alleviate the problems 
            found in Web site components which were propagating 
            the largest number of or the most devastating errors. 
            Begin new iterations of <phrase role="found">testing</phrase> and changes, until 
            users are successful in the accomplishing the 
            tasks.&lt;/p&gt;
      ...     
   &lt;/content&gt; 
&lt;/book&gt;     

&lt;book number="3"&gt;
   &lt;content&gt;
      ...
         &lt;componentTitle&gt;"How Many Users Are Enough 
         for User <phrase role="found">Testing</phrase>?"&lt;/componentTitle&gt;
         ...
         &lt;container type="box"&gt;5&lt;/container&gt;
         &lt;componentTitle&gt;"When Are You Done <phrase role="found">Testing</phrase>?"
         &lt;/componentTitle&gt;
         ...
         &lt;componentTitle&gt;"Do-It-Yourself User <phrase role="found">Testing</phrase>"
         &lt;/componentTitle&gt;
      ...     
   &lt;/content&gt;
&lt;/book&gt;</eg>
</div3>
<div3 id="wildcard-queries-results-q9">
<head>Q9 Word Wildcard Query</head>
<p>Find all books with a phrase which begins with "propagating", has any word in the middle, and ends with "errors".</p>
<p>This query finds a phrase where one of the words (represented by a wildcard) is unspecified.</p>
<ulist>
<item>
<p>Operands: "propagating errors"</p>
</item>
<item>
<p>Functionality: phrase query, word wildcard</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/@number, books//content</p>
</item>
<item>
<p>Comment: This query is a word wildcard query. A one word wildcard query returns the same 
						result as an ordered proximity query allowing one intervening word.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;The usability of a Web site is how well the 
         site supports the user in achieving specified 
         goals. A Web site should facilitate learning, 
         and enable efficient and effective task 
         completion, while <phrase role="found">propagating</phrase> few <phrase role="found">errors</phrase>. 
         Satisfaction with the site is also important. 
         The user must not only be well-served, but must 
         feel well-served.&lt;/p&gt; 
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="wildcard-queries-results-q10">
<head>Q10 Specified Range Word Wildcard Query</head>
<p>Find all books with a phrase which begins with "propagating", has up to ten words in the middle, and ends with "errors".</p>
<p>This query finds a phrase where a number of words within a specified range (represented by wildcards) are inserted after the first word and before the last.</p>
<ulist>
<item>
<p>Operands: "propagating errors"</p>
</item>
<item>
<p>Functionality: phrase query, word wildcard</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: This query illustrates a multiple word wildcard representing a specified range. In this query the range is set as 0 to 10. </p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;The usability of a Web site is how well the 
         site supports the user in achieving specified 
         goals. A Web site should facilitate learning, 
         and enable efficient and effective task 
         completion, while <phrase role="found">propagating</phrase> few <phrase role="found">errors</phrase>. 
         Satisfaction with the site is also important. 
         The user must not only be well-served, but must 
         feel well-served.&lt;/p&gt; 
      ...     
   &lt;/content&gt;  
   
&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;content&gt;
      ...
         &lt;p&gt;Compile the results and review collectively. 
         Make changes to the site to alleviate the problems 
         found in Web site components which were <phrase role="found">propagating</phrase>
         the largest number of or the most devastating <phrase role="found">errors</phrase>. 
         Begin new iterations of testing and changes, until 
         users are successful in the accomplishing the 
         tasks.&lt;/p&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
</div2>
</div1>
<div1 id="Stemming">
<head>Use Case "STEMMING": Word Stemming Queries</head>
<div2 id="stemming-description">
<head>Description</head>
<p>These use cases invoke a stemming algorithm (e.g., Porter) which returns noun, verb, adjective, and adverb 
forms of a word or root of a word in singular and plural.</p>
</div2>
<div2 id="stemming-queries-results">
<head>Queries and Results</head>
<div3 id="stemming-queries-results-q1">
<head>Q1 Single Word Stemming Query</head>
<p>Find all books with the word "test".</p>
<p>This query finds words in an element and its descendants applying a stemming algorithm.</p>
<ulist>
<item>
<p>Operands: "test"</p>
</item>
<item>
<p>Functionality: word query, stemming</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: Unlike the wildcard queries in Section 6 (WILDCARD) which allow any suffix, this query will 
						probably not return the word "testimony" which occurs in the sample data.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;Expert reviews and usability <phrase role="found">testing</phrase> are 
         methods of identifying problems in layout, 
         terminology, and navigation before they frustrate
         users and drive them away from your site.&lt;/p&gt;
         ...
            &lt;title&gt;Usability <phrase role="found">Testing</phrase>&lt;/title&gt;
            &lt;p&gt;Once the problems identified by expert 
            reviews have been corrected, it is time to 
            conduct some <phrase role="found">tests</phrase> of the site with your unique 
            audience or audiences by conducting usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>.&lt;/p&gt;
      ...     
   &lt;/content&gt;      						

&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt;	
   &lt;content&gt;
      ...
         &lt;p&gt;This is a basic handbook for planning and 
         conducting usability <phrase role="found">tests</phrase> on Web sites. Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         ...
            &lt;title&gt;Planning then Conducting Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">Tests</phrase>&lt;/title&gt; 
            &lt;p&gt;Take the following steps to plan usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>. &lt;step number="1"&gt;Clarify and 
            articulate the goal of the usability <phrase role="found">testing</phrase>.
            &lt;/step&gt; &lt;step number="2"&gt;Identify tasks which 
            are critical for users to be able to complete 
            successfully. &lt;/step&gt; &lt;step number="3"&gt;Compile 
            a script of questions or instructions which 
            will prompt the user to attempt those 
            tasks.&lt;/step&gt; &lt;step number="4"&gt;Identify your 
            users and begin recruiting them.&lt;/step&gt; &lt;step 
            number="5"&gt;Conduct a pretest on a few users.
            &lt;/step&gt; &lt;step number="6"&gt;Edit the script based 
            on insights gleaned from the pretest.&lt;/step&gt; 
            &lt;step number="7"&gt;Resume <phrase role="found">testing</phrase>.&lt;/step&gt;&lt;/p&gt;
            ...
            &lt;title&gt;Conducting Usability <phrase role="found">Tests</phrase>&lt;/title&gt; 
            &lt;p&gt;Users can be <phrase role="found">tested</phrase> at any computer 
            workstation &lt;footnote&gt;They may be most 
            comfortable at their own workstation.
            &lt;/footnote&gt; or in a lab.&lt;/p&gt;
            ...
            &lt;p&gt;Give the user the script, then assure them 
            that you are <phrase role="found">testing</phrase> the Web site, not them. 
            Users are asked to verbalize their thoughts as 
            they complete the tasks. The event is recorded 
            or someone takes notes. It is often preferable 
            to have two <phrase role="found">testers</phrase>, &lt;footnote&gt;Usability 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> can be done at great expense or on a 
            shoe string, using &lt;testingProcedure&gt;in-house 
            expertise&lt;/testingProcedure&gt; or 
            &lt;testingProcedure&gt;contracting with human 
            computer interaction professionals
            &lt;/testingProcedure&gt;.&lt;/footnote&gt; one to ask the 
            questions, another to take notes. <phrase role="found">Testers</phrase> should 
            offer no guidance or comments to the user. Mouse 
            movements, typing, expressions, and the user's 
            words should be recorded.&lt;/p&gt;
            ...
            &lt;p&gt;Compile the results and review collectively. 
            Make changes to the site to alleviate the problems 
            found in Web site components which were propagating 
            the largest number of or the most devastating errors. 
            Begin new iterations of <phrase role="found">testing</phrase> and changes, until 
            users are successful in the accomplishing the 
            tasks.&lt;/p&gt;
      ...     
   &lt;/content&gt;      

&lt;title&gt;John Wesley Usabilityguy: A Register of His 
Papers&lt;/title&gt;
   &lt;content&gt;
      ...           
         &lt;componentTitle&gt;"How Many Users Are Enough 
         for User <phrase role="found">Testing</phrase>?"&lt;/componentTitle&gt;
         ...
         &lt;componentTitle&gt;"How to Evaluate Results from 
         User <phrase role="found">Tests</phrase>."&lt;/componentTitle&gt;
         ...
         &lt;container type="box"&gt;5&lt;/container&gt;
         &lt;componentTitle&gt;"When Are You Done <phrase role="found">Testing</phrase>?"
         &lt;/componentTitle&gt;
         ...
         &lt;componentTitle&gt;"Do-It-Yourself User <phrase role="found">Testing</phrase>"
         &lt;/componentTitle&gt;
      ...     
   &lt;/content&gt;</eg>
</div3>
<div3 id="stemming-queries-results-q2">
<head>Q2 Multiple Word Stemming Query</head>
<p>Find all books with the phrases "usability testing" or "user testing".</p>
<p>This query finds phrases in an element and its descendants applying a stemming algorithm to multiple words.</p>
<ulist>
<item>
<p>Operands: "usable testing" "use testing" </p>
</item>
<item>
<p>Functionality: phrase query, stemming</p>
</item>
<item>
<p>Context: books//content</p>
</item>
<item>
<p>Return: books/book/metadata/title, books//content</p>
</item>
<item>
<p>Comments: Unlike the wildcard queries in Section 6 (WILDCARD) which allow any suffix, a stemmed query on "us" will not 
return the desired results because "user" and "usability" do not share the share root.</p>
</item>
<item>
<p>Version: For consideration in v.1</p>
</item>
</ulist>
<!--<p>
							<emph>Solution in XQuery:</emph>
						</p>
						<eg role="xquery"><![CDATA[ ]]></eg>-->
<p>
<emph>Expected Result:</emph>
</p>
<eg>&lt;title&gt;Improving the Usability of a Web Site Through 
Expert Reviews and Usability Testing&lt;/title&gt;
   &lt;content&gt;
      ...
         &lt;p&gt;Expert reviews and <phrase role="found">usability testing</phrase> are 
         methods of identifying problems in layout, 
         terminology, and navigation before they frustrate
         users and drive them away from your site.&lt;/p&gt;
         ...
            &lt;title&gt;<phrase role="found">Usability Testing</phrase>&lt;/title&gt; 
            &lt;p&gt;Once the problems identified by expert 
            reviews have been corrected, it is time to 
            conduct some tests of the site with your unique 
            audience or audiences by conducting <phrase role="found">usability</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>.&lt;/p&gt;     
      ...     
   &lt;/content&gt;      
   
&lt;title&gt;Usability Basics: How to Plan for and Conduct 
Usability Tests on Web Site Thereby Improving the 
Usability of Your Web Site&lt;/title&gt; 
   &lt;content&gt;
      ...
         &lt;p&gt;This is a basic handbook for planning and 
         conducting usability tests on Web sites. <phrase role="found">Usability</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase> should be used in conjunction with other 
         expert review methods.&lt;/p&gt;
         ...
            &lt;p&gt;Take the following steps to plan <phrase role="found">usability</phrase>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<phrase role="found">testing</phrase>. &lt;step number="1"&gt;Clarify and 
            articulate the goal of the <phrase role="found">usability testing</phrase>.
            &lt;/step&gt; &lt;step number="2"&gt;Identify tasks which 
            are critical for users to be able to complete 
            successfully. &lt;/step&gt; &lt;step number="3"&gt;Compile 
            a script of questions or instructions which 
            will prompt the user to attempt those 
            tasks.&lt;/step&gt; &lt;step number="4"&gt;Identify your 
            users and begin recruiting them.&lt;/step&gt; &lt;step 
            number="5"&gt;Conduct a pretest on a few users.
            &lt;/step&gt; &lt;step number="6"&gt;Edit the script based 
            on insights gleaned from the pretest.&lt;/step&gt; 
            &lt;step number="7"&gt;Resume testing.&lt;/step&gt;&lt;/p&gt;
            ...
            &lt;p&gt;Give the user the script, then assure them 
            that you are testing the Web site, not them. 
            Users are aske