Strabon

view endpoint/WebContent/WEB-INF/beans.xml @ 1446:51f12bbf8cda

added the units of measure in the default prefixes of the endpoint
and re-enabled the browse option as default option in the HTML writer.
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Thu Dec 04 13:22:59 2014 +0200 (2014-12-04)
parents 6e2c60cee963
children 6cc6a1963350 f287cc1b8b99
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 <!-- Boolean variable linkURL in stSPARQLResultsHTMLWriter.java (line 115) to change the links between web and describe -->
78 <constructor-arg type="java.lang.String" >
79 <!-- Default prefixes -->
80 <!-- PREFIX gag: <http://teleios.di.uoa.gr/ontologies/gagKallikratis.rdf#> -->
81 <value><![CDATA[PREFIX lgd:<http://linkedgeodata.org/triplify/>
82 PREFIX lgdgeo:<http://www.w3.org/2003/01/geo/wgs84_pos#>
83 PREFIX lgdont:<http://linkedgeodata.org/ontology/>
84 PREFIX geonames:<http://www.geonames.org/ontology#>
85 PREFIX clc: <http://geo.linkedopendata.gr/corine/ontology#>
86 PREFIX gag: <http://geo.linkedopendata.gr/greekadministrativeregion/ontology#>
87 PREFIX geo: <http://www.opengis.net/ont/geosparql#>
88 PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
89 PREFIX geor: <http://www.opengis.net/def/rule/geosparql/>
90 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
91 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
92 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
93 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
94 PREFIX uom: <http://www.opengis.net/def/uom/OGC/1.0/>
95 ]]>
96 </value>
97 </constructor-arg>
99 <constructor-arg>
100 <list>
101 <list>
102 <!-- Single valued elements correspond to headers -->
103 <value>Discovery Queries</value>
104 </list>
105 <list>
106 <!-- Bean -->
107 <value>Query</value>
108 <!-- Format -->
109 <value>HTML</value>
110 <!-- Label -->
111 <value>Find all triples in the dataset.</value>
112 <!-- Statement -->
113 <value><![CDATA[
114 SELECT *
115 WHERE {
116 ?s ?p ?o
117 }
118 ]]></value>
119 <!-- Description -->
120 <value></value>
121 <!-- Hander (plain, download, map or map_local)-->
122 <value>Plain</value>
123 </list>
124 <list>
125 <!-- Bean -->
126 <value>Query</value>
127 <!-- Format -->
128 <value>HTML</value>
129 <!-- Label -->
130 <value>Select all distinct subjects that appear in the dataset.</value>
131 <!-- Statement -->
132 <value><![CDATA[
133 SELECT DISTINCT (?s AS ?subject)
134 WHERE {
135 ?s ?p ?o
136 }
137 ]]></value>
138 <!-- Description -->
139 <value></value>
140 <!-- Hander (plain, download, map or map_local)-->
141 <value>Plain</value>
142 </list>
143 <list>
144 <!-- Bean -->
145 <value>Query</value>
146 <!-- Format -->
147 <value>HTML</value>
148 <!-- Label -->
149 <value>Select all distinct predicates that appear in the dataset.</value>
150 <!-- Statement -->
151 <value><![CDATA[
152 SELECT DISTINCT (?p AS ?predicate)
153 WHERE {
154 ?s ?p ?o
155 }
156 ]]></value>
157 <!-- Description -->
158 <value></value>
159 <!-- Hander (plain, download, map or map_local)-->
160 <value>Plain</value>
161 </list>
163 <list>
164 <!-- Bean -->
165 <value>Query</value>
166 <!-- Format -->
167 <value>HTML</value>
168 <!-- Label -->
169 <value>Select all distinct objets that appear in the dataset.</value>
170 <!-- Statement -->
171 <value><![CDATA[
172 SELECT DISTINCT (?o AS ?object)
173 WHERE {
174 ?s ?p ?o
175 }
176 ]]></value>
177 <!-- Description -->
178 <value></value>
179 <!-- Hander (plain, download, map or map_local)-->
180 <value>Plain</value>
181 </list>
182 <list>
183 <!-- Bean -->
184 <value>Query</value>
185 <!-- Format -->
186 <value>HTML</value>
187 <!-- Label -->
188 <value>Find all distinct classes of the dataset.</value>
189 <!-- Statement -->
190 <value><![CDATA[PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
192 SELECT DISTINCT (?o AS ?class)
193 WHERE {
194 ?s rdf:type ?o
195 }
196 ]]></value>
197 <!-- Description -->
198 <value></value>
199 <!-- Hander (plain, download, map or map_local)-->
200 <value>Plain</value>
201 </list>
203 <list>
204 <!-- Bean -->
205 <value>Query</value>
206 <!-- Format -->
207 <value>HTML</value>
208 <!-- Label -->
209 <value>Find the number of triples that appear in the dataset.</value>
210 <!-- Statement -->
211 <value><![CDATA[SELECT (COUNT(?s) AS ?NumOfTriples)
212 WHERE {
213 ?s ?p ?o
214 }
215 ]]></value>
216 <!-- Description -->
217 <value></value>
218 <!-- Hander (plain, download, map or map_local)-->
219 <value>Plain</value>
220 </list>
221 <list>
222 <!-- Bean -->
223 <value>Query</value>
224 <!-- Format -->
225 <value>HTML</value>
226 <!-- Label -->
227 <value>Present the first ten triples of the dataset.</value>
228 <!-- Statement -->
229 <value><![CDATA[SELECT *
230 WHERE {
231 ?s ?p ?o
232 }
233 LIMIT 10
234 ]]></value>
235 <!-- Description -->
236 <value></value>
237 <!-- Hander (plain, download, map or map_local)-->
238 <value>Plain</value>
239 </list>
241 <list>
242 <!-- Single valued elements correspond to headers -->
243 <value>Explore/Modify operations</value>
244 </list>
245 <list>
246 <!-- Link to bean: two arguemnts -->
247 <value>Store</value>
248 <value>store.jsp</value>
249 </list>
250 <list>
251 <!-- Link to bean: two arguemnts -->
252 <value>Query/Update</value>
253 <value>query.jsp</value>
254 </list>
255 <list>
256 <!-- Link to bean: two arguemnts -->
257 <value>Describe</value>
258 <value>describe.jsp</value>
259 </list>
260 <list>
261 <!-- Link to bean: two arguemnts -->
262 <value>Browse</value>
263 <value>browse.jsp</value>
264 </list>
265 <list>
266 <!-- Link to bean: two arguemnts -->
267 <value>Configuration</value>
268 <value>connection.jsp</value>
269 </list>
270 </list>
271 </constructor-arg>
272 </bean>
273 </beans>