Iterator<SystemInfo> iter = SystemARQ.registeredSubsystems() ;
for ( ; iter.hasNext() ; )
{
SystemInfo info = iter.next();
if ( ! isSameOrVar(subj, info.getIRI()) )
continue ;
Node version = NodeFactory.createLiteral(info.getVersion()) ;
if ( ! isSameOrVar(obj, version) )
continue ;
BindingMap b = BindingFactory.create(binding) ;
if ( subj.isVariable() )
b.add(Var.alloc(subj), info.getIRI()) ;
if ( subj.isVariable() )
b.add(Var.alloc(obj), version) ;
results.add(b) ;
}
return new QueryIterPlainWrapper(results.iterator(), execCxt) ;