Rule UseOtherSubjectRule

Applies 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:

We want to convert public names only. Then, a branching rule may be placed on path 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.

Constructor default

Sample 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>