business_service_configuration.xml 1.36 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
3

4 5 6 7
	<bean id="metaviewBusinessService" class="org.ow2.weblab.portlet.business.service.impl.WSBusinessServicesImpl">
		<constructor-arg value="http://weblab.ow2.org/core/1.2/services/resourceContainer#Load_Resource" type="java.lang.String" name="resourceContainerUri" />
		<constructor-arg value="SELECT DISTINCT ?resource WHERE { ?subject &lt;http://weblab.ow2.org/core/1.2/ontology/retrieval#isLinkedTo&gt; ?resource }" type="java.lang.String" name="linkedToQuery" />
		<constructor-arg value="SELECT DISTINCT ?lang ?service ?label WHERE { ?resource &lt;http://weblab.ow2.org/core/1.2/ontology/model#isComposedByMediaUnit&gt; ?mu . ?mu &lt;http://weblab.ow2.org/core/1.2/ontology/processing#isProducedBy&gt; ?service . ?service &lt;http://www.w3.org/2000/01/rdf-schema#label&gt; ?label . ?mu &lt;http://weblab.ow2.org/core/1.2/ontology/processing#isTranslationOf&gt; ?translation . ?mu &lt;http://purl.org/dc/elements/1.1/language&gt; ?lang FILTER (langMatches(lang(?label), ?preferred) || langMatches(lang(?label), &quot;&quot;))}" type="java.lang.String" name="translationsQueryTemplate" />
8
	</bean>
9

10
</beans>