List<Resource> list = new RdfList(resource, mGraph);
list.add(createLabeledRes("first", mGraph));
list.add(createLabeledRes("second", mGraph));
list.add(createLabeledRes("third", mGraph));
GraphNode node = new GraphNode(resource, mGraph);
DataFieldResolver dataFieldResolver = new GraphNodeDataFieldResolver(node, simpleFunctions);
StringReader reader = new StringReader(
"${ns:rdfs=http://www.w3.org/2000/01/rdf-schema#}" +
"${loop}${if contains/rdfs:label}${contains/rdfs:label}${/if}${/loop}");
StringWriter writer = new StringWriter();