private String[] getAllMemberOfGuid(String guid) {
String query = "select $object from <#ri> "
+ "where ($object <fedora-rels-ext:isMemberOf> <fedora:" + guid
+ "> " + "or $object <dc:identifier> " + "'" + guid + "')";
try {
RiSearchResponse riSearchResponse = FedoraClient.riSearch(query)
.lang("itql").format("csv").type("tuples").execute(client);
String csv = IOUtils.toString(riSearchResponse
.getEntityInputStream());
return CsvUtil.readOneColumnCsv(csv);
} catch (FedoraClientException e) {
e.printStackTrace();
} catch (IOException e) {