title: How to write a quad into a jena graph and then to file
body: <p>I want to create a Quadruple like <code>PersonA isIn RoomA atTime 12:00</code>. I want to use for atTime the <code>System.current.TimeStamp()</code>.</p>
  
  <p>I tried to create a quad by:</p>
  
  <pre><code>Node roomA_Node = NodeFactory.createURI(((Resource) roomA).getURI());
  Node person1_Node = NodeFactory.createURI(((Resource) person1).getURI());
  Node isin_node = NodeFactory.createURI(((Resource) ROOM_STREAM.isIn).getURI());
  Node timestamp = NodeFactory.createLiteral("2001-10-26T21:32:52",
          XSDDatatype.XSDdateTime);
  
  Quad q = new Quad(timestamp, person1_Node, isin_node, roomA_Node);
  </code></pre>
  
  <p>However, now I am stuck, because I would like to write it to a <code>TTL</code>(or sth similar) file?</p>
  
  <p>Any suggestions how to do that?</p>
  
  <p>I appreciate your answer!</p>