// Create the set of facts
Set<Object> theFacts = new HashSet<Object>();
// Get the entity
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")) {