de.fuberlin.wiwiss.d2rq.engine
Class GraphPatternTranslator

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.engine.GraphPatternTranslator

public class GraphPatternTranslator
extends Object

Matches a BGP against a collection of TripleRelations and returns a collection of NodeRelations. The node relations produce the same bindings that one would get from matching the BGP against the materialized triples produced by the triple relations.

Author:
Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
GraphPatternTranslator(List<Triple> triplePatterns, Collection<TripleRelation> tripleRelations, boolean useAllOptimizations)
           
 
Method Summary
 List<NodeRelation> translate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphPatternTranslator

public GraphPatternTranslator(List<Triple> triplePatterns,
                              Collection<TripleRelation> tripleRelations,
                              boolean useAllOptimizations)
Method Detail

translate

public List<NodeRelation> translate()
Returns:
A list of NodeRelations