final LinkedHashMap<Item, DataRDFTerm> rdfHash = new LinkedHashMap<Item, DataRDFTerm>();
final LinkedHashSet<Operator> rdfTermToJoin = new LinkedHashSet<Operator>();
try {
CommonCoreQueryEvaluator.readTriples("Turtle", rdfURL.openStream(),
new TripleConsumer() {
public void consume(final Triple triple) {
DataRDFTerm rdfTermSubject = rdfHash.get(triple
.getPos(0));
if (rdfTermSubject == null) {