You can iterate the cursor for query results and there is a getMap method in the result object
That insert query returns certain attributes, you can retrieve them for example like this:
for(RqlObject o : cur) {
o.getAs("inserted").toString();
o.getAs("replaced").toString();
o.getAs("unchanged").toString();
o.getAs("errors").toString();
}