for (Iterator<TriplePath> iter = el.patternElts() ; iter.hasNext() ; )
{
TriplePath tp = iter.next() ;
// If it's triple-izable, then use the triple.
if ( tp.isTriple() )
VarUtils.addVarsFromTriple(acc, tp.asTriple()) ;
else
VarUtils.addVarsFromTriplePath(acc, tp) ;
}
}