public String getAllTriples(Model model) {
		StringBuffer dump = new StringBuffer();

		StmtIterator statements = model.listStatements();
		while (statements.hasNext()) {
			Statement statement = statements.nextStatement();
			RDFNode object = statement.getObject();
			dump.append(statement.getSubject().getLocalName())
					.append(' ')
					.append(statement.getPredicate().getLocalName())
					.append(' ')
					.append((object instanceof Resource
							|| object instanceof Literal ? object.toString()
							: '"' + object.toString() + "\"")).append('\n');
		}
		return dump.toString();
	}