UseOtherSubjectRuleApplies a sequence of rules to the subject from some other path. It is typically used to create new RDF objects made of some paths. For example, consider a record with two paths:
name with person names.public.
This rule invokes another rule that should rename name if public=true.
However, the current value is true or false, and not the name.
This rule is need to get hold on the name, being invoked from public.
defaultSample use:
<ac:eu.annocultor.rules.UseOtherSubjectRule-default> <ac:srcPath rdf:datatype="ac:Path"></ac:srcPath> <ac:srcSubjectPath rdf:datatype="ac:Path"> path which value would be taken and fed to the rules </ac:srcSubjectPath> <ac:rule rdf:datatype="ac:Rule"> rules that would be applied to this value </ac:rule> </ac:eu.annocultor.rules.UseOtherSubjectRule-default>
prefixSample use:
<ac:eu.annocultor.rules.UseOtherSubjectRule-prefix> <ac:srcPath rdf:datatype="ac:Path"></ac:srcPath> <ac:srcSubjectPath rdf:datatype="ac:Path"></ac:srcSubjectPath> <ac:dstNamespace rdf:datatype="ac:Namespace"></ac:dstNamespace> <ac:rule rdf:datatype="ac:Rule"></ac:rule> </ac:eu.annocultor.rules.UseOtherSubjectRule-prefix>