Class SourceTargetRewriter

java.lang.Object
fr.boreal.backward_chaining.source_target.SourceTargetRewriter
All Implemented Interfaces:
BackwardChainingAlgorithm

public class SourceTargetRewriter extends Object implements BackwardChainingAlgorithm
This operator rewrites a query with the given rules assuming the rules are source to target rules meaning that the vocabulary of the initial query and the rewritings will be totally disjoint. This let us rewrite with mapping rules in a single step This implementation uses DLX algorithm (Dancing links) to compute a full cover of the query using single piece unifiers.