<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

	<bean id="rdfXMLSubprocessor" class="org.dataone.cn.indexer.annotation.RdfXmlSubprocessor">
        <property name="httpService" ref="httpService" />
        <property name="processorUtility" ref="subprocessorUtility" />
		<property name="matchDocuments">
			<list>
				<value>http://www.w3.org/TR/rdf-syntax-grammar</value>
				<value>http://www.openarchives.org/ore/terms</value>
			</list>
		</property>
		<property name="fieldList">
			<list>
                <ref bean="prov20150115.wasDerivedFrom" />
                <ref bean="prov20150115.wasInformedBy" />
                <ref bean="prov20150115.used" />
                <ref bean="prov20150115.generated" />
                <ref bean="prov20150115.generatedByProgram" />
                <ref bean="prov20150115.generatedByExecution" />
                <ref bean="prov20150115.generatedByUser" />
                <ref bean="prov20150115.usedByProgram" />
                <ref bean="prov20150115.usedByExecution" />
                <ref bean="prov20150115.usedByUser" />
                <ref bean="prov20150115.wasExecutedByExecution" />
                <ref bean="prov20150115.wasExecutedByUser" />
                <ref bean="prov20150115.instanceOfClass" />
                <!--  <ref bean="prov20150115.hasSources" /> -->
                <ref bean="prov20150115.hasDerivations" />
                <ref bean="hasPart" />
                <ref bean="isPartOf" />
                <ref bean="hasPart.reverse" />
                <ref bean="isPartOf.reverse" />
			</list>
		</property>
		<property name="fieldsToMerge">
     		<list>
     			<value>prov_wasDerivedFrom</value>
     			<value>prov_wasInformedBy</value>
     			<value>prov_used</value>
     			<value>prov_generated</value>
     			<value>prov_generatedByProgram</value>
     			<value>prov_generatedByExecution</value>
     			<value>prov_generatedByUser</value>
     			<value>prov_usedByProgram</value>
     			<value>prov_usedByExecution</value>
     			<value>prov_usedByUser</value>
     			<value>prov_wasExecutedByExecution</value>
     			<value>prov_wasExecutedByUser</value>
     			<!-- <value>prov_hasSources</value> -->
     			<value>prov_hasDerivations</value>
     			<value>prov_instanceOfClass</value>
     			<value>hasPart</value>
     			<value>isPartOf</value>
     		</list>
     	</property>
	</bean>
</beans>
