Rule RenameResourcePropertyRule

Stores the value of an XML element or attribute as a resource RDF triple.

Constructor prefix

Prefixes the value with a namespace. Should be used when the values identify RDF resources with local identifiers, that need to be prefixed with a namespace to form legal URIs.

Sample use:

<ac:eu.annocultor.rules.RenameResourcePropertyRule-prefix>
  <ac:srcPath rdf:datatype="ac:Path"></ac:srcPath>
  <ac:dstProperty rdf:datatype="ac:Property"> destination property </ac:dstProperty>
  <ac:dstNamespace rdf:datatype="ac:Namespace"> namespace to prefix value URIs </ac:dstNamespace>
  <ac:dstGraph rdf:datatype="ac:Graph"> destination graph </ac:dstGraph>
</ac:eu.annocultor.rules.RenameResourcePropertyRule-prefix>

Constructor verbatim

Keeps the original value in the destination RDF triple. Should be used when the values store full URI of the objects.

Sample use:

<ac:eu.annocultor.rules.RenameResourcePropertyRule-verbatim>
  <ac:srcPath rdf:datatype="ac:Path"></ac:srcPath>
  <ac:dstProperty rdf:datatype="ac:Property"> destination property </ac:dstProperty>
  <ac:dstGraph rdf:datatype="ac:Graph"> destination graph </ac:dstGraph>
</ac:eu.annocultor.rules.RenameResourcePropertyRule-verbatim>