subjectNode = ((NodeClauseEntry) argument1ClauseEntry).getNode();
} else if (argument1ClauseEntry instanceof VariableClauseEntry) {
subjectNode = ((VariableClauseEntry) argument1ClauseEntry).getNode();
System.out.println("Here");
} else {
throw new RuleAtomCallExeption(getClass());
}
if (objectPropertyClauseEntry instanceof NodeClauseEntry) {
predicateNode = ((NodeClauseEntry) objectPropertyClauseEntry).getNode();
} else {
throw new RuleAtomCallExeption(getClass());
}
if (argument2ClauseEntry instanceof NodeClauseEntry) {
objectNode = ((NodeClauseEntry) argument2ClauseEntry).getNode();
} else {
throw new RuleAtomCallExeption(getClass());
}
return (T) new TriplePattern(subjectNode, predicateNode, objectNode);
}