Entity entity = getDatabase().entity(id);
// Add the base facts associated with this edge
Set properties = entity.keySet();
Iterator<Keyword> propertiesIt = properties.iterator();
while (propertiesIt.hasNext()) {
Keyword property = propertiesIt.next();
// Add all properties (except the ident property (is only originally used for retrieving the id of the created elements)
if (!property.toString().equals(":db/ident")) {
theFacts.add(FluxUtil.map(":db/id", id, property.toString(), entity.get(property).toString()));
}
}
return theFacts;
}