BIBFRAME full display in place MP-553
[mp-xquery-moved-to-github.git] / bibframe / explain.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3
4 <!-- this file configures the SRU/SRW explain response -->
5 <!-- see: http://explain.z3950.org/dtd/commentary.html -->
6 <!-- validate this using zeerex-2.0.xsd -->
7 <!-- Extensions see: http://explain.z3950.org/dtd/extensions.html -->
8
9 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
10
11   <serverInfo protocol="SRU">
12     <host>foo.somehost.somewhere</host>
13     <port>9000</port>
14     <database>Default</database>
15   </serverInfo>
16
17   <databaseInfo>
18     <title lang="en" primary="true">BIBFRAME demo</title>
19     <description lang="en" primary="true">
20       BIBFRAME demo
21     </description>
22     <author>Index Data, http://www.indexdata.com</author>
23     <contact>Index Data, info(at)indexdata(dot)com</contact>
24   </databaseInfo>
25
26   <indexInfo>
27     <set name="cql" identifier="info:srw/cql-context-set/1/cql-v1.1">
28       <title>CQL Standard Set</title>
29     </set>
30     <set name="rec" identifier="info:srw/cql-context-set/2/rec-1.0">
31       <title>Record Standard Set</title>
32     </set>
33     <set name="dc" identifier="info:srw/cql-context-set/1/dc-v1.1">
34       <title>Dublin Core Set</title>
35     </set>
36     <set name="bib1" identifier="1.2.840.10003.3.1">
37       <title>BIB-1 Z39.50 Standard Set</title>
38     </set>
39
40     <!-- CQL standard index -->
41     <index search="true" scan="true" sort="false">
42       <title lang="en">CQL Server Choice</title>
43       <map><name set="cql">serverChoice</name></map>
44       <map>
45         <attr type="1" set="bib1">1010</attr>
46       </map>
47     </index>
48     <index search="true" scan="true" sort="false">
49       <title lang="en">CQL All</title>
50       <map><name set="cql">all</name></map>
51       <map>
52         <attr type="1" set="bib1">1010</attr>
53       </map>
54     </index>
55
56     <!-- Record ID index -->
57     <index search="true" scan="true" sort="false">
58       <title lang="en">Record ID</title>
59       <map><name set="rec">id</name></map>
60       <map>
61         <attr type="1" set="bib1">12</attr>
62         <attr type="4" set="bib1">3</attr>
63       </map>
64     </index>
65
66     <!-- Dublin Core Indexes -->
67     <index search="true" scan="true" sort="false">
68       <title lang="en">DC Title</title>
69       <map><name set="dc">title</name></map>
70       <map>
71         <attr type="1" set="bib1">4</attr>
72       </map>
73     </index>
74     <index search="true" scan="true" sort="false">
75       <title lang="en">DC Creator</title>
76       <map><name set="dc">creator</name></map>
77       <map>
78         <attr type="1" set="bib1">1003</attr>
79       </map>
80     </index>
81     <index search="true" scan="true" sort="false">
82       <title lang="en">DC Subject</title>
83       <map><name set="dc">subject</name></map>
84       <map>
85         <attr type="1" set="bib1">47</attr>
86       </map>
87     </index>
88     <index search="true" scan="true" sort="false">
89       <title lang="en">DC Description</title>
90       <map><name set="dc">description</name></map>
91       <map>
92         <attr type="1" set="bib1">62</attr>
93       </map>
94     </index>
95     <index search="true" scan="true" sort="false">
96       <title lang="en">DC Publisher</title>
97       <map><name set="dc">publisher</name></map>
98       <map>
99         <attr type="1" set="bib1">1018</attr>
100       </map>
101     </index>
102     <index search="true" scan="true" sort="false">
103       <title lang="en">DC Contributor</title>
104       <map><name set="dc">contributor</name></map>
105       <map>
106         <attr type="1" set="bib1">1003</attr>
107       </map>
108     </index>
109     <index search="true" scan="true" sort="false">
110       <title lang="en">DC Date</title>
111       <map><name set="dc">date</name></map>
112       <map>
113         <attr type="1" set="bib1">30</attr>
114       </map>
115     </index>
116     <index search="true" scan="true" sort="false">
117       <title lang="en">DC Type</title>
118       <map><name set="dc">type</name></map>
119       <map>
120         <attr type="1" set="bib1">1034</attr>
121       </map>
122     </index>
123     <index search="true" scan="true" sort="false">
124       <title lang="en">DC Format</title>
125       <map><name set="dc">format</name></map>
126       <map>
127         <attr type="1" set="bib1">1013</attr>
128       </map>
129     </index>
130     <index search="true" scan="true" sort="false">
131       <title lang="en">DC Identifier</title>
132       <map><name set="dc">identifier</name></map>
133       <map>
134         <attr type="1" set="bib1">7</attr>
135       </map>
136     </index>
137     <index search="true" scan="true" sort="false">
138       <title lang="en">DC Source</title>
139       <map><name set="dc">source</name></map>
140       <map>
141         <attr type="1" set="bib1">1019</attr>
142       </map>
143     </index>
144     <!--
145     <index search="true" scan="true" sort="false">
146       <title lang="en">DC Language</title>
147       <map><name set="dc">language</name></map>
148       <map>
149         <attr type="1" set="bib1">54</attr>
150       </map>
151     </index>
152     <index search="true" scan="true" sort="false">
153       <title lang="en">DC Relation</title>
154       <map><name set="dc">relation</name></map>
155       <map>
156         <attr type="1" set="bib1">1026</attr>
157       </map>
158     </index>
159     <index search="true" scan="true" sort="false">
160       <title lang="en">DC Coverage</title>
161       <map><name set="dc">coverage</name></map>
162       <map>
163         <attr type="1" set="bib1">58</attr>
164       </map>
165     </index>
166     <index search="true" scan="true" sort="false">
167       <title lang="en">DC Rights</title>
168       <map><name set="dc">rights</name></map>
169       <map>
170         <attr type="1" set="bib1">dc:rights</attr>
171       </map>
172     </index>
173     -->
174   </indexInfo>
175
176   <schemaInfo>
177     <schema identifier="http://www.loc.gov/zing/srw/bibframe"
178             name="bibframe"
179             retrieve="true">
180       <title lang="en">BIBFRAME</title>
181     </schema>
182     <schema identifier="info:srw/schema/1/marcxml-v1.1"
183             location="http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
184             name="marcxml"
185             retrieve="true">
186       <title lang="en">MARCXML</title>
187     </schema>
188   </schemaInfo>
189
190
191   <configInfo>
192
193     <!-- searchRetrieve settings -->
194     <default type="contextSet">cql</default>
195     <default type="index">all</default>
196     <default type="relation">=</default>
197     <supports type="relation">&lt;</supports> <!-- 2=1 OK -->
198     <supports type="relation">&lt;=</supports> <!-- 2=2 OK -->
199     <supports type="relation">=</supports> <!-- 2=3 OK -->
200     <supports type="relation">&gt;=</supports> <!-- 2=4 OK -->
201     <supports type="relation">&gt;</supports> <!-- 2=5 OK -->
202     <!--<supports type="relationModifier">relevant</supports> --><!-- 2=102 -->
203     <!--<supports type="relationModifier">phonetic</supports> --><!-- 2=100 -->
204     <!--<supports type="relationModifier">stem</supports> --><!-- 2=101  -->
205
206     <!-- <supports type="proximity"></supports> -->
207           <!-- title = (house prox/distance=1/unit=word  the) -->
208     <!-- proximity modifier supported by the server or index
209          (relation, distance, unit, ordering) -->
210     <!-- <supports type="proximityModifier"></supports> -->
211     <!-- boolean modifier supported by the server or index -->
212     <!-- <supports type="booleanModifier"></supports> -->
213     <supports type="maskingCharacter">*</supports>
214     <supports type="maskingCharacter">?</supports>
215     <supports type="emptyTerm"></supports>
216
217     <!-- sorting settings -->
218     <!-- <supports type="sort"></supports> -->
219     <!-- supported sortmodifier (ascending, missingValue, caseSensitive) -->
220     <!-- <supports type="sortModifier"></supports> -->
221
222     <!-- presentation settings -->
223     <default type="numberOfRecords">0</default>
224     <default type="retrieveSchema">dc</default>
225     <default type="recordPacking">xml</default>
226
227     <!-- <setting type="maximumRecords">1000</setting> -->
228     <!-- <supports type="resultSets"></supports>  -->
229
230     <!-- scan settings -->
231
232     <!-- scan operation supported -->
233     <supports type="scan"></supports>
234     <default type="numberOfTerms">20</default>
235
236     <!-- other server settings -->
237     <!-- <supports type="version">1.1</supports> -->
238     <setting type="resultSetTTL">0</setting>
239     <!-- <supports type="extraSearchData"></supports> -->
240     <!-- <supports type="extraExplainData"></supports> -->
241     <!-- <supports type="profile"></supports> -->
242   </configInfo>
243
244 </explain>