1 | <info xml:lang="en" > |
---|
2 | <div class="title">Example metadata queries</div> |
---|
3 | <div> |
---|
4 | <dl> |
---|
5 | <dt >simple term</dt> |
---|
6 | <dd><p>just one word like:</p> |
---|
7 | <ul> |
---|
8 | <li><a class="query" href="?squery=system">system</a></li> |
---|
9 | </ul> |
---|
10 | </dd> |
---|
11 | |
---|
12 | <!-- |
---|
13 | <dt >all of multiple terms (AND)</dt> |
---|
14 | <dd> |
---|
15 | <ul> |
---|
16 | <li><a class="query" href="/MDService2/?squery=child%20acquisition">child acquisition</a></li> |
---|
17 | <li><a class="query" href="/MDService2/?squery=longitudinal%20study">longitudinal study</a></li> |
---|
18 | </ul> |
---|
19 | </dd> |
---|
20 | <dt >Phrase</dt> |
---|
21 | <dd>a sequence of terms |
---|
22 | <ul> |
---|
23 | <li><a class="query" href="/MDService2/?squery=%22longitudinal%20study%22">"longitudinal study"</a></li> |
---|
24 | </ul> |
---|
25 | </dd> |
---|
26 | <dt >Bookmarks</dt> |
---|
27 | <dd>search/remember individual records (by handle/identifier) |
---|
28 | <ul> |
---|
29 | <li><a class="bookmark" href="/MDService2/record/htmlpage/clarin-at:aac-test-corpus:C4:158">clarin-at:aac-test-corpus:C4:158</a></li> |
---|
30 | <li><a class="bookmark" href="/MDService2/record/htmlpage/clarin%252Eeu%3Alrt%3A1001">GENOMA</a></li> |
---|
31 | </ul> |
---|
32 | </dd> |
---|
33 | <dt >CQL - search clauses</dt> |
---|
34 | <dd><code>index relation term</code> |
---|
35 | <ul> |
---|
36 | <li><a class="query" href="/MDService2/?q=author any Adler">author any Adler</a></li> |
---|
37 | <li><a class="query" href="/MDService2/?q=title contains system">title contains system</a></li> |
---|
38 | |
---|
39 | </ul> |
---|
40 | |
---|
41 | <code>phrase in index </code> |
---|
42 | <ul> |
---|
43 | <li><a class="query" href='/MDService2/?q=Description contains "spoken language"'>Description contains "spoken language"</a></li> |
---|
44 | </ul> |
---|
45 | </dd> |
---|
46 | <dt >CQL - boolean</dt> |
---|
47 | <dd>combine search clauses with boolean operators: AND, OR, (AND NOT) |
---|
48 | <ul> |
---|
49 | <li><a class="query" href="/MDService2/?q=(title contains a) and ( tei%3Aimprint.date > 1910) and (tei%3Aimprint.date < 1920)">title contains a and imprint.date between 1910 and 1920</a></li> |
---|
50 | <li><a class="query" href="/MDService2/?q=( title any system ) and ( description contains ethnologue )" > ( title any system ) and ( description contains ethnologue )</a></li> |
---|
51 | <li><a class="query" href="/MDService2/?q=%20%28%20%20%28%20title%20any%20language%20%29%20%20%29%20%20and%20%20%28%20%20%28%20identifier%20contains%20rosettaproject%20%29%20%20or%20%20%28%20publisher%20contains%20%22SIL%20International%22%20%29%20%20%29%20" >title any language and (identifier contains rosettaproject or publisher contains "SIL International")</a></li> |
---|
52 | |
---|
53 | </ul> |
---|
54 | </dd> |
---|
55 | <dt >Combine simple query and search clauses</dt> |
---|
56 | <dd> |
---|
57 | <ul> |
---|
58 | <li><a class="query" href="/MDService2/?q=( title any system )&squery=university">university and (title any system)</a></li> |
---|
59 | </ul> |
---|
60 | </dd> |
---|
61 | |
---|
62 | <dt >Restriction by Collections</dt> |
---|
63 | <dd> Either all resources of a given collection, or restrict the search to selected collection(s) (not working at the moment) |
---|
64 | <ul> |
---|
65 | <li><a class="query" href="/MDService2/?q=&squery=&collection=clarin-at:aac-test-corpus">aac-test-corpus</a></li> |
---|
66 | </ul> |
---|
67 | </dd> |
---|
68 | <dt >Search in a profile</dt> |
---|
69 | <dd>show all records of given profile, or |
---|
70 | <ul> |
---|
71 | <li><a class="query" href="/MDService2/?q= ( LrtInventoryResource contains * )">LrtInventoryResource</a></li> |
---|
72 | <li><a class="query" href="/MDService2/?q= ( LrtInventoryResource contains system )">LrtInventoryResource contains system</a></li> |
---|
73 | </ul> |
---|
74 | </dd> |
---|
75 | <dt >Search via Data categories (Semantic search)</dt> |
---|
76 | <dd>search over elements linked to the same Data cagetory, irrespectively of the containing profile |
---|
77 | <ul> |
---|
78 | <li><a class="query" href="MDService2/?q=%20%28%20%20%28%20relcat%3Adescription%20contains%20*%20%29%20%20%29%20">relcat:description</a></li> |
---|
79 | <li><a class="query" href="/MDService2/?q=%20%28%20%20%28%20isocat%3Acreation_date%20contains%20191%20%29%20%20%29%20">isocat:creationDate contains 191</a></li> |
---|
80 | </ul> |
---|
81 | </dd> |
---|
82 | --> |
---|
83 | </dl> |
---|
84 | </div> |
---|
85 | </info> |
---|