Strabon
view endpoint/WebContent/WEB-INF/beans.xml @ 1315:9bfbe553dfec
Inserted 2 new queries and fixxed the results position in the window for describe.
author | George Stamoulis <gstam@di.uoa.gr> |
---|---|
date | Mon Mar 17 13:48:53 2014 +0200 (2014-03-17) |
parents | 3e3fe6213ac1 |
children | 6e2c60cee963 |
line source
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans
5 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
6 xmlns:jaxws="http://cxf.apache.org/jaxws"
7 jaxws:schemaLocation="http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
9 <bean id="serverProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
10 <property name="locations">
11 <list>
12 <value>WEB-INF/connection.properties</value>
13 </list>
14 </property>
15 </bean>
17 <bean id="capsBean" class="eu.earthobservatory.org.StrabonEndpoint.capabilities.CapabilitiesDelegateBean" destroy-method="destroy">
18 <!-- specify which implementation of the Capabilities interface shall be used -->
19 <!-- true : AutoDiscoveryCapabilities -->
20 <!-- false: EndpointCapabilities -->
21 <constructor-arg type="boolean">
22 <value>false</value>
23 </constructor-arg>
24 </bean>
26 <bean
27 id="strabonBean"
28 class="eu.earthobservatory.org.StrabonEndpoint.StrabonBeanWrapper"
29 destroy-method="destroy">
31 <constructor-arg type="java.lang.String" >
32 <!-- Database name -->
33 <value>${dbname}</value>
34 </constructor-arg>
36 <constructor-arg type="java.lang.String" >
37 <!-- Username -->
38 <value>${username}</value>
39 </constructor-arg>
41 <constructor-arg type="java.lang.String" >
42 <!-- Password -->
43 <value>${password}</value>
44 </constructor-arg>
46 <constructor-arg type="int" >
47 <!-- Port -->
48 <value>${port}</value>
49 </constructor-arg>
51 <constructor-arg type="java.lang.String" >
52 <!-- Database server -->
53 <value>${hostname}</value>
54 </constructor-arg>
56 <constructor-arg type="boolean" >
57 <!-- Check for locks and remove them (in case of a crash) -->
58 <value>true</value>
59 </constructor-arg>
61 <constructor-arg type="java.lang.String" >
62 <!-- Database Backend (either "postgis" or "monetdb") -->
63 <value>${dbengine}</value>
64 </constructor-arg>
66 <constructor-arg type="int" >
67 <!-- Query limit -->
68 <value>0</value>
69 </constructor-arg>
71 <constructor-arg type="boolean" >
72 <!-- Load from File -->
73 <value>true</value>
74 </constructor-arg>
76 <constructor-arg type="java.lang.String" >
77 <!-- Default prefixes -->
78 <!-- PREFIX gag: <http://teleios.di.uoa.gr/ontologies/gagKallikratis.rdf#> -->
79 <value><![CDATA[PREFIX lgd:<http://linkedgeodata.org/triplify/>
80 PREFIX lgdgeo:<http://www.w3.org/2003/01/geo/wgs84_pos#>
81 PREFIX lgdont:<http://linkedgeodata.org/ontology/>
82 PREFIX geonames:<http://www.geonames.org/ontology#>
83 PREFIX clc: <http://geo.linkedopendata.gr/corine/ontology#>
84 PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
85 PREFIX geo: <http://www.opengis.net/ont/geosparql#>
86 PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
87 PREFIX geor: <http://www.opengis.net/def/rule/geosparql/>
88 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
89 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
90 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
91 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
92 ]]>
93 </value>
94 </constructor-arg>
96 <constructor-arg>
97 <list>
98 <list>
99 <!-- Single valued elements correspond to headers -->
100 <value>Discovery Queries</value>
101 </list>
102 <list>
103 <!-- Bean -->
104 <value>Query</value>
105 <!-- Format -->
106 <value>HTML</value>
107 <!-- Label -->
108 <value>Find all triples in the dataset.</value>
109 <!-- Statement -->
110 <value><![CDATA[
111 SELECT *
112 WHERE {
113 ?s ?p ?o
114 }
115 ]]></value>
116 <!-- Description -->
117 <value></value>
118 <!-- Hander (plain, download, map or map_local)-->
119 <value>Plain</value>
120 </list>
121 <list>
122 <!-- Bean -->
123 <value>Query</value>
124 <!-- Format -->
125 <value>HTML</value>
126 <!-- Label -->
127 <value>Select all distinct subjects that appear in the dataset.</value>
128 <!-- Statement -->
129 <value><![CDATA[
130 SELECT DISTINCT (?s AS ?subject)
131 WHERE {
132 ?s ?p ?o
133 }
134 ]]></value>
135 <!-- Description -->
136 <value></value>
137 <!-- Hander (plain, download, map or map_local)-->
138 <value>Plain</value>
139 </list>
140 <list>
141 <!-- Bean -->
142 <value>Query</value>
143 <!-- Format -->
144 <value>HTML</value>
145 <!-- Label -->
146 <value>Select all distinct predicates that appear in the dataset.</value>
147 <!-- Statement -->
148 <value><![CDATA[
149 SELECT DISTINCT (?p AS ?predicate)
150 WHERE {
151 ?s ?p ?o
152 }
153 ]]></value>
154 <!-- Description -->
155 <value></value>
156 <!-- Hander (plain, download, map or map_local)-->
157 <value>Plain</value>
158 </list>
160 <list>
161 <!-- Bean -->
162 <value>Query</value>
163 <!-- Format -->
164 <value>HTML</value>
165 <!-- Label -->
166 <value>Select all distinct objets that appear in the dataset.</value>
167 <!-- Statement -->
168 <value><![CDATA[
169 SELECT DISTINCT (?o AS ?object)
170 WHERE {
171 ?s ?p ?o
172 }
173 ]]></value>
174 <!-- Description -->
175 <value></value>
176 <!-- Hander (plain, download, map or map_local)-->
177 <value>Plain</value>
178 </list>
179 <list>
180 <!-- Bean -->
181 <value>Query</value>
182 <!-- Format -->
183 <value>HTML</value>
184 <!-- Label -->
185 <value>Find all distinct classes of the dataset.</value>
186 <!-- Statement -->
187 <value><![CDATA[PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
189 SELECT DISTINCT (?o AS ?class)
190 WHERE {
191 ?s rdf:type ?o
192 }
193 ]]></value>
194 <!-- Description -->
195 <value></value>
196 <!-- Hander (plain, download, map or map_local)-->
197 <value>Plain</value>
198 </list>
200 <list>
201 <!-- Bean -->
202 <value>Query</value>
203 <!-- Format -->
204 <value>HTML</value>
205 <!-- Label -->
206 <value>Find the number of triples that appear in the dataset.</value>
207 <!-- Statement -->
208 <value><![CDATA[SELECT (COUNT(?s) AS ?NumOfTriples)
209 WHERE {
210 ?s ?p ?o
211 }
212 ]]></value>
213 <!-- Description -->
214 <value></value>
215 <!-- Hander (plain, download, map or map_local)-->
216 <value>Plain</value>
217 </list>
218 <list>
219 <!-- Bean -->
220 <value>Query</value>
221 <!-- Format -->
222 <value>HTML</value>
223 <!-- Label -->
224 <value>Present the first ten triples of the dataset.</value>
225 <!-- Statement -->
226 <value><![CDATA[SELECT *
227 WHERE {
228 ?s ?p ?o
229 }
230 LIMIT 10
231 ]]></value>
232 <!-- Description -->
233 <value></value>
234 <!-- Hander (plain, download, map or map_local)-->
235 <value>Plain</value>
236 </list>
238 <list>
239 <!-- Single valued elements correspond to headers -->
240 <value>Explore/Modify operations</value>
241 </list>
242 <list>
243 <!-- Link to bean: two arguemnts -->
244 <value>Store</value>
245 <value>store.jsp</value>
246 </list>
247 <list>
248 <!-- Link to bean: two arguemnts -->
249 <value>Query/Update</value>
250 <value>query.jsp</value>
251 </list>
252 <list>
253 <!-- Link to bean: two arguemnts -->
254 <value>Describe</value>
255 <value>describe.jsp</value>
256 </list>
257 <list>
258 <!-- Link to bean: two arguemnts -->
259 <value>Browse</value>
260 <value>browse.jsp</value>
261 </list>
262 <list>
263 <!-- Link to bean: two arguemnts -->
264 <value>Configuration</value>
265 <value>connection.jsp</value>
266 </list>
267 </list>
268 </constructor-arg>
269 </bean>
270 </beans>