private TripleIterator queryRI(String query) throws Exception {
FedoraClient client = getFedoraClient();
InputStream results =
client.get(RISEARCH_QUERY + URLEncoder.encode(query, "UTF-8"),
true);
return new RIOTripleIterator(results,
new NTriplesParser(),
"info/fedora",
exec);
}