private List<ResourceProperty> buildProperties() {
Map<String,PropertyBuilder> propertyBuilders =
new HashMap<String,PropertyBuilder>();
StmtIterator it = resource.listProperties();
while (it.hasNext()) {
Statement stmt = it.nextStatement();
if (isEmptyLiteral(stmt.getObject())) continue;
Property predicate = stmt.getPredicate();
String key = "=>" + predicate;
if (!propertyBuilders.containsKey(key)) {
propertyBuilders.put(key, new PropertyBuilder(