public String getAllTriplesAsDot(Model model) {
		StringBuffer dump = new StringBuffer();
		String temp = "";

		StmtIterator statements = model.listStatements();
		dump.append("digraph G { ");
		dump.append('\n');
		//dump.append("edge [len=2];");
		dump.append("ratio=\"0.2\"");
		dump.append('\n');
		
		dump.append("ranksep=\"1.0 equally\"");
		dump.append('\n');
		while (statements.hasNext()) {

			Statement statement = statements.nextStatement();
			// System.out.println("statements.nextStatement() "+statement);
			RDFNode object = statement.getObject();

			dump.append("\"").append(statement.getSubject().getLocalName())
					.append("\" ").append("-> \"");
			if (object.toString().length() < anz) {
				String[] array = object.toString().split("[/]+");
				for (int i = array.length - 1; i > 0; --i) {
					if (temp.length() <= anz)
						temp = array[i] + "/" + temp;
				}
			

			}
			dump.append(
					(object instanceof Resource || object instanceof Literal ? temp : '"' + temp + "\""))
					.append("\"").append(" [label=\"")
					.append(statement.getPredicate().getLocalName())
					.append("\"]").append(";").append('\n');

		}
		dump.append('}');
		return dump.toString();
	}