for (RDFTriple triple : triples) {
if (candidatePrettyPrintTypeTriple != null && candidatePrettyPrintTypeTriple.equals(triple)) {
continue;
}
writer.writeStartElement(triple.getProperty().getURI());
RDFNode objectNode = triple.getObject();
if (!objectNode.isLiteral()) {
RDFResourceNode objectRes = (RDFResourceNode) objectNode;
if (objectRes.isAnonymous()) {
// Special rendering for lists
if (isObjectList(objectRes)) {
writer.writeParseTypeAttribute();