Rule LookupTermRule

Looks terms up in external vocabularies. Should be applied to a srcPath that stores term labels.

Constructor withLocalTerms

For each new label, a proxy local term is created and linked to. Then, this term is mapped to a term in external vocabularies.

Sample use:

<ac:eu.annocultor.tagger.rules.LookupTermRule-withLocalTerms>
  <ac:srcPath rdf:datatype="ac:Path"></ac:srcPath>
  <ac:dstProperty rdf:datatype="ac:Property"></ac:dstProperty>
  <ac:dstGraphLiterals rdf:datatype="ac:Graph"></ac:dstGraphLiterals>
  <ac:dstGraphLinks rdf:datatype="ac:Graph"></ac:dstGraphLinks>
  <ac:termsProperty rdf:datatype="ac:Property"></ac:termsProperty>
  <ac:termsSignature rdf:datatype="ac:String"></ac:termsSignature>
  <ac:termsGraph rdf:datatype="ac:Graph"></ac:termsGraph>
  <ac:termsNamespace rdf:datatype="ac:Namespace"></ac:termsNamespace>
  <ac:termsLang rdf:datatype="ac:Lang"></ac:termsLang>
  <ac:termsSplitPattern rdf:datatype="ac:String"></ac:termsSplitPattern>
  <ac:termsVocabulary rdf:datatype="ac:VocabularyOfTerms"></ac:termsVocabulary>
</ac:eu.annocultor.tagger.rules.LookupTermRule-withLocalTerms>

Constructor noLocalTerms

Linking external vocabularies is done directly, without the creation of local proxy terms.

Sample use:

<ac:eu.annocultor.tagger.rules.LookupTermRule-noLocalTerms>
  <ac:srcPath rdf:datatype="ac:Path"></ac:srcPath>
  <ac:dstProperty rdf:datatype="ac:Property"></ac:dstProperty>
  <ac:dstGraphLiterals rdf:datatype="ac:Graph"></ac:dstGraphLiterals>
  <ac:dstGraphLinks rdf:datatype="ac:Graph"></ac:dstGraphLinks>
  <ac:termsProperty rdf:datatype="ac:Property"></ac:termsProperty>
  <ac:termsSignature rdf:datatype="ac:String"></ac:termsSignature>
  <ac:termsSplitPattern rdf:datatype="ac:String"></ac:termsSplitPattern>
  <ac:termsVocabulary rdf:datatype="ac:VocabularyOfTerms"></ac:termsVocabulary>
</ac:eu.annocultor.tagger.rules.LookupTermRule-noLocalTerms>