updated policy

This commit is contained in:
Alessia Bardi 2020-06-23 10:32:04 +02:00
parent 4d68ecad58
commit e5d1f845a3
1 changed files with 97 additions and 89 deletions

View File

@ -1,6 +1,7 @@
<RESOURCE_PROFILE> <RESOURCE_PROFILE>
<HEADER> <HEADER>
<RESOURCE_IDENTIFIER value="e1a85324-8f54-45c1-8513-208693a41666_VHJhbnNmb3JtYXRpb25SdWxlRFNSZXNvdXJjZXMvVHJhbnNmb3JtYXRpb25SdWxlRFNSZXNvdXJjZVR5cGU="/> <RESOURCE_IDENTIFIER
value="e1a85324-8f54-45c1-8513-208693a41666_VHJhbnNmb3JtYXRpb25SdWxlRFNSZXNvdXJjZXMvVHJhbnNmb3JtYXRpb25SdWxlRFNSZXNvdXJjZVR5cGU="/>
<RESOURCE_TYPE value="TransformationRuleDSResourceType"/> <RESOURCE_TYPE value="TransformationRuleDSResourceType"/>
<RESOURCE_KIND value="TransformationRuleDSResources"/> <RESOURCE_KIND value="TransformationRuleDSResources"/>
<RESOURCE_URI value=""/> <RESOURCE_URI value=""/>
@ -10,113 +11,120 @@
<CONFIGURATION> <CONFIGURATION>
<IMPORTED/> <IMPORTED/>
<SCRIPT> <SCRIPT>
<TITLE>ARIADNEplus Generator Policy version 1.4</TITLE> <TITLE>ARIADNEplus Generator Policy version 1.6</TITLE>
<CODE> <CODE>
<![CDATA[ <![CDATA[
<generator_policy> <generator_policy>
<generator name="CollectionURI" prefix="ariadneplus" shorten="yes"> <generator name="CollectionURI" prefix="ariadneplus" shorten="yes">
<pattern>Collection/{term}</pattern> <pattern>Collection/{term}</pattern>
</generator> </generator>
<generator name="CollectionURI-2" prefix="ariadneplus" shorten="yes"> <generator name="CollectionURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Collection/{provider}/{term}</pattern> <pattern>Collection/{provider}/{term}</pattern>
</generator> </generator>
<generator name="DataResourceURI" prefix="ariadneplus" shorten="yes"> <generator name="DataResourceURI" prefix="ariadneplus" shorten="yes">
<pattern>Resource/{term}</pattern> <pattern>Resource/{term}</pattern>
</generator> </generator>
<generator name="ObjectURI" prefix="ariadneplus" shorten="yes"> <generator name="DataResourceURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Object/{resource}-{term}</pattern> <pattern>Resource/{provider}/{term}</pattern>
</generator> </generator>
<generator name="ObjectURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Object/{arg1}/{arg2}</pattern>
</generator>
<generator name="ObjectLabel"> <generator name="ObjectURI" prefix="ariadneplus" shorten="yes">
<pattern>Resource {resource} is about {term}</pattern> <pattern>Object/{resource}-{term}</pattern>
</generator> </generator>
<generator name="IdentifierURI" prefix="ariadneplus"> <generator name="ObjectURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Identifier/{term}</pattern> <pattern>Object/{arg1}/{arg2}</pattern>
</generator> </generator>
<generator name="DocumentURI" prefix="ariadneplus"> <generator name="ObjectLabel">
<pattern>Dopcument/{term}</pattern> <pattern>Resource {resource} is about object {term}</pattern>
</generator> </generator>
<generator name="EventURI" prefix="ariadneplus"> <generator name="IdentifierURI" prefix="ariadneplus">
<pattern>Event/{term}</pattern> <pattern>Identifier/{term}</pattern>
</generator> </generator>
<generator name="EventURI-2" prefix="ariadneplus">
<pattern>Event/{arg1}/{arg2}</pattern>
</generator>
<generator name="EventURI-3" prefix="ariadneplus">
<pattern>Event/{arg1}/{arg2}/{arg3}</pattern>
</generator>
<generator name="Time-SpanURI" prefix="ariadneplus">
<pattern>Time-Span/{term}</pattern>
</generator>
<generator name="PlaceURI" prefix="ariadneplus" shorten="yes">
<pattern>Place/{term}</pattern>
</generator>
<generator name="PlaceURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Place/{arg1}/{arg2}</pattern>
</generator>
<generator name="AgentURI" prefix="ariadneplus">
<pattern>Agent/{term}</pattern>
</generator>
<generator name="PersonURI" prefix="ariadneplus">
<pattern>Person/{term}</pattern>
</generator>
<generator name="OrgURI" prefix="ariadneplus">
<pattern>Organisation/{term}</pattern>
</generator>
<generator name="ConceptURI" prefix="ariadneplus"> <generator name="DocumentURI" prefix="ariadneplus">
<pattern>Concept/{term}</pattern> <pattern>Dopcument/{term}</pattern>
</generator> </generator>
<generator name="ConceptURI-2" prefix="ariadneplus">
<pattern>Concept/{scheme}/{term}</pattern>
</generator>
<generator name="LangURI" prefix="lexvo"> <generator name="EventURI" prefix="ariadneplus" shorten="yes">
<pattern>{term}</pattern> <pattern>Event/{resource}-{term}</pattern>
</generator> </generator>
<generator name="EventURI-2" prefix="ariadneplus">
<pattern>Event/{arg1}/{arg2}</pattern>
</generator>
<generator name="EventURI-3" prefix="ariadneplus">
<pattern>Event/{arg1}/{arg2}/{arg3}</pattern>
</generator>
<generator name="EventLabel">
<pattern>Resource {resource} is about event {term}</pattern>
</generator>
<generator name="Time-SpanURI" prefix="ariadneplus">
<pattern>Time-Span/{term}</pattern>
</generator>
<generator name="PlaceURI" prefix="ariadneplus" shorten="yes">
<pattern>Place/{term}</pattern>
</generator>
<generator name="PlaceURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Place/{arg1}/{arg2}</pattern>
</generator>
<generator name="AgentURI" prefix="ariadneplus">
<pattern>Agent/{term}</pattern>
</generator>
<generator name="PersonURI" prefix="ariadneplus">
<pattern>Person/{term}</pattern>
</generator>
<generator name="OrgURI" prefix="ariadneplus">
<pattern>Organisation/{term}</pattern>
</generator>
<generator name="OneLevelCustomURI" prefix="ariadneplus"> <generator name="ConceptURI" prefix="ariadneplus">
<pattern>{level1}/{term}</pattern> <pattern>Concept/{term}</pattern>
</generator> </generator>
<generator name="TwoLevelCustomURI" prefix="ariadneplus"> <generator name="ConceptURI-2" prefix="ariadneplus">
<pattern>{level1}/{level2}/{term}</pattern> <pattern>Concept/{scheme}/{term}</pattern>
</generator> </generator>
<generator name="SimpleLabel"> <generator name="LangURI" prefix="lexvo">
<pattern>{label}</pattern> <pattern>{term}</pattern>
</generator> </generator>
<generator name="CompositeLabel"> <generator name="OneLevelCustomURI" prefix="ariadneplus">
<pattern>{label} {text}</pattern> <pattern>{level1}/{term}</pattern>
</generator> </generator>
<generator name="TwoLevelCustomURI" prefix="ariadneplus">
<pattern>{level1}/{level2}/{term}</pattern>
</generator>
<generator name="URIorUUID"> <generator name="SimpleLabel">
<custom generatorClass="gr.forth.URIorUUID"> <pattern>{label}</pattern>
<set-arg name="text"/> </generator>
</custom>
</generator>
<generator name="URNfromTextualContent"> <generator name="CompositeLabel">
<custom generatorClass="gr.forth.TextualContent"> <pattern>{label} {text}</pattern>
<set-arg name="text" type="xpath"/> </generator>
</custom>
</generator>
<generator name="TypedLiteralGen"> <generator name="URIorUUID">
<custom generatorClass="gr.forth.TypedLiteralGenerator"> <custom generatorClass="gr.forth.URIorUUID">
<set-arg name="text"/> <set-arg name="text"/>
</custom> </custom>
</generator> </generator>
<generator name="URNfromTextualContent">
<custom generatorClass="gr.forth.TextualContent">
<set-arg name="text" type="xpath"/>
</custom>
</generator>
<generator name="TypedLiteralGen">
<custom generatorClass="gr.forth.TypedLiteralGenerator">
<set-arg name="text"/>
</custom>
</generator>
</generator_policy> </generator_policy>
]]> ]]>