Strabon

view endpoint/WebContent/WEB-INF/beans.xml @ 1528:6cc6a1963350

Backed out changeset ba8fb069b2ca
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Mon Jan 04 17:47:18 2016 +0200 (2016-01-04)
parents 51f12bbf8cda
children
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 ]]>
95 </value>
96 </constructor-arg>
98 <constructor-arg>
99 <list>
100 <list>
101 <!-- Single valued elements correspond to headers -->
102 <value>Discovery Queries</value>
103 </list>
104 <list>
105 <!-- Bean -->
106 <value>Query</value>
107 <!-- Format -->
108 <value>HTML</value>
109 <!-- Label -->
110 <value>Find all triples in the dataset.</value>
111 <!-- Statement -->
112 <value><![CDATA[
113 SELECT *
114 WHERE {
115 ?s ?p ?o
116 }
117 ]]></value>
118 <!-- Description -->
119 <value></value>
120 <!-- Hander (plain, download, map or map_local)-->
121 <value>Plain</value>
122 </list>
123 <list>
124 <!-- Bean -->
125 <value>Query</value>
126 <!-- Format -->
127 <value>HTML</value>
128 <!-- Label -->
129 <value>Select all distinct subjects that appear in the dataset.</value>
130 <!-- Statement -->
131 <value><![CDATA[
132 SELECT DISTINCT (?s AS ?subject)
133 WHERE {
134 ?s ?p ?o
135 }
136 ]]></value>
137 <!-- Description -->
138 <value></value>
139 <!-- Hander (plain, download, map or map_local)-->
140 <value>Plain</value>
141 </list>
142 <list>
143 <!-- Bean -->
144 <value>Query</value>
145 <!-- Format -->
146 <value>HTML</value>
147 <!-- Label -->
148 <value>Select all distinct predicates that appear in the dataset.</value>
149 <!-- Statement -->
150 <value><![CDATA[
151 SELECT DISTINCT (?p AS ?predicate)
152 WHERE {
153 ?s ?p ?o
154 }
155 ]]></value>
156 <!-- Description -->
157 <value></value>
158 <!-- Hander (plain, download, map or map_local)-->
159 <value>Plain</value>
160 </list>
162 <list>
163 <!-- Bean -->
164 <value>Query</value>
165 <!-- Format -->
166 <value>HTML</value>
167 <!-- Label -->
168 <value>Select all distinct objets that appear in the dataset.</value>
169 <!-- Statement -->
170 <value><![CDATA[
171 SELECT DISTINCT (?o AS ?object)
172 WHERE {
173 ?s ?p ?o
174 }
175 ]]></value>
176 <!-- Description -->
177 <value></value>
178 <!-- Hander (plain, download, map or map_local)-->
179 <value>Plain</value>
180 </list>
181 <list>
182 <!-- Bean -->
183 <value>Query</value>
184 <!-- Format -->
185 <value>HTML</value>
186 <!-- Label -->
187 <value>Find all distinct classes of the dataset.</value>
188 <!-- Statement -->
189 <value><![CDATA[PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
191 SELECT DISTINCT (?o AS ?class)
192 WHERE {
193 ?s rdf:type ?o
194 }
195 ]]></value>
196 <!-- Description -->
197 <value></value>
198 <!-- Hander (plain, download, map or map_local)-->
199 <value>Plain</value>
200 </list>
202 <list>
203 <!-- Bean -->
204 <value>Query</value>
205 <!-- Format -->
206 <value>HTML</value>
207 <!-- Label -->
208 <value>Find the number of triples that appear in the dataset.</value>
209 <!-- Statement -->
210 <value><![CDATA[SELECT (COUNT(?s) AS ?NumOfTriples)
211 WHERE {
212 ?s ?p ?o
213 }
214 ]]></value>
215 <!-- Description -->
216 <value></value>
217 <!-- Hander (plain, download, map or map_local)-->
218 <value>Plain</value>
219 </list>
220 <list>
221 <!-- Bean -->
222 <value>Query</value>
223 <!-- Format -->
224 <value>HTML</value>
225 <!-- Label -->
226 <value>Present the first ten triples of the dataset.</value>
227 <!-- Statement -->
228 <value><![CDATA[SELECT *
229 WHERE {
230 ?s ?p ?o
231 }
232 LIMIT 10
233 ]]></value>
234 <!-- Description -->
235 <value></value>
236 <!-- Hander (plain, download, map or map_local)-->
237 <value>Plain</value>
238 </list>
240 <list>
241 <!-- Single valued elements correspond to headers -->
242 <value>Explore/Modify operations</value>
243 </list>
244 <list>
245 <!-- Link to bean: two arguemnts -->
246 <value>Store</value>
247 <value>store.jsp</value>
248 </list>
249 <list>
250 <!-- Link to bean: two arguemnts -->
251 <value>Query/Update</value>
252 <value>query.jsp</value>
253 </list>
254 <list>
255 <!-- Link to bean: two arguemnts -->
256 <value>Describe</value>
257 <value>describe.jsp</value>
258 </list>
259 <list>
260 <!-- Link to bean: two arguemnts -->
261 <value>Browse</value>
262 <value>browse.jsp</value>
263 </list>
264 <list>
265 <!-- Link to bean: two arguemnts -->
266 <value>Configuration</value>
267 <value>connection.jsp</value>
268 </list>
269 </list>
270 </constructor-arg>
271 </bean>
272 </beans>