27. Structure-Based Models [2] (50)

1 of 50
11/26/2012 10:05 AM
2 of 50
11/26/2012 10:05 AM
3 of 50
11/26/2012 10:05 AM
4 of 50
11/26/2012 10:05 AM
5 of 50
11/26/2012 10:05 AM
6 of 50
11/26/2012 10:05 AM
7 of 50
11/26/2012 10:05 AM
8 of 50
11/26/2012 10:05 AM
9 of 50
11/26/2012 10:05 AM
10 of 50
11/26/2012 10:05 AM
11 of 50
11/26/2012 10:05 AM
12 of 50
<play>
<author>Shakespeare</author>
<title>Macbeth</title>
<act number="I">
<scene number="VII">
<title>Macbeth's castle</title>
<verse>Will I with wine and wassail...</verse>
</scene>
</act>
</play>
11/26/2012 10:05 AM
13 of 50
11/26/2012 10:05 AM
14 of 50
11/26/2012 10:05 AM
15 of 50
11/26/2012 10:05 AM
16 of 50
<Professor>
<Name>Barto, Andrew G.</Name>
<Phone>(413) 545-2109</Phone>
<E-mail>[email protected]</E-mail>
<Office>CS276</Office>
<MoreInfo>
Professor. Computational neuroscience, reinforcement learning, ...
</MoreInfo>
</Professor>
11/26/2012 10:05 AM
17 of 50
<Professor>
<Name>
<FirstName>Andrew</FirstName>
<MiddleInitial>G</MiddleInitial>
<LastName>Barto</LastName>
</Name>
<Phone>
<AreaCode>413</AreaCode>
<Number>543-2109</Number>
</Phone>
<E-mail>[email protected]</E-mail>
<Office><Building>CS</Building><Room>276</Room></Office>
<MoreInfo>
<Rank>Professor</Rank>
<Interests>
<Interest>computational neuroscience</Interest>
<Interest>reinforcement learning</Interest>
...
</Interests>
</MoreInfo>
</Professor>
11/26/2012 10:05 AM
18 of 50
<reading>
Susan Dumais. Data-driven approaches to information access.
Cognitive Science, 27(3), 491-524, 2003.
http://www.sims.berkeley.edu/courses/is202/f06/Readings/...
</reading>
<journalReading>
<articleTitle>Data-driven approaches to information access</articleTitle>
<articleAuthor>
<givenName>Susan</givenName>
<familyName>Dumais</familyName>
</articleAuthor>
<journalTitle>Cognitive Science</journalTitle>
<volume>27(3)</volume>
<publishDate>2003</publishDate>
<pageSpan>491-524</pageSpan>
<url>http://www.sims.berkeley.edu/courses/is202/f06/Readings/...</url>
</journalReading>
11/26/2012 10:05 AM
19 of 50
11/26/2012 10:05 AM
20 of 50
<DespatchLine>
<ID>1</ID>
<DeliveredQuantity quantityUnitCode="PKG">5</DeliveredQuantity>
<OrderLineReference>
<BuyersLineID>1</BuyersLineID>
</OrderLineReference>
<Item>
<Description>Book "Document Engineering"</Description>
<SellersItemIdentification>
<ID>32145-12</ID>
</SellersItemIdentification>
<BasePrice>
<PriceAmount amountCurrencyCodeListVersionID="0.3"
amountCurrencyID="USD">32.50</PriceAmount>
<BasePrice>
</Item>
</DespatchLine>
11/26/2012 10:05 AM
21 of 50
11/26/2012 10:05 AM
22 of 50
11/26/2012 10:05 AM
23 of 50
11/26/2012 10:05 AM
24 of 50
11/26/2012 10:05 AM
25 of 50
11/26/2012 10:05 AM
26 of 50
11/26/2012 10:05 AM
27 of 50
11/26/2012 10:05 AM
28 of 50
11/26/2012 10:05 AM
29 of 50
11/26/2012 10:05 AM
30 of 50
11/26/2012 10:05 AM
31 of 50
11/26/2012 10:05 AM
32 of 50
11/26/2012 10:05 AM
33 of 50
11/26/2012 10:05 AM
34 of 50
11/26/2012 10:05 AM
35 of 50
11/26/2012 10:05 AM
36 of 50
11/26/2012 10:05 AM
37 of 50
11/26/2012 10:05 AM
38 of 50
11/26/2012 10:05 AM
39 of 50
for $b in collection("books")
where $b//Author="Maria Lopez"
return $b
for $a in collection("articles")
where $a//Date > 2004-06-01 and
fn:contains($a//Title, "presidential election")
return $a
for $p in collection("procedures")
let $s := $p//Step
where fn:count($s) > 7
return $p
11/26/2012 10:05 AM
40 of 50
for $p in collection("procedures")
return
<Chemicals procedure="{$p/Title}">
{$p//Chemical}
</Chemicals>
let $today = fn:current-date()
for $proc in collection("maintenance_docs")//Procedure
let $p = $proc//Part
where $p = "AX723" and $p//AppliesTo = "Model 1023i"
and fn:date-greater-than($today, $p//EffectivityStart)
and fn:date-less-than($today, $p//EffectivityEnd)
return $proc
11/26/2012 10:05 AM
41 of 50
<play>
<author>Shakespeare</author>
<title>Macbeth</title>
<act number="I">
<scene number="VII">
<title>Macbeth's castle</title>
<verse>Will I with wine and wassail...</verse>
</scene>
</act>
</play>
11/26/2012 10:05 AM
42 of 50
11/26/2012 10:05 AM
43 of 50
11/26/2012 10:05 AM
44 of 50
11/26/2012 10:05 AM
45 of 50
11/26/2012 10:05 AM
46 of 50
11/26/2012 10:05 AM
47 of 50
11/26/2012 10:05 AM
48 of 50
11/26/2012 10:05 AM
49 of 50
11/26/2012 10:05 AM
50 of 50
11/26/2012 10:05 AM