* The character writer to write to.
* @throws IOException
*/
public RdfN3Writer(Writer writer) throws IOException {
super();
this.context = new Context();
this.writer = writer;
Map<String, String> prefixes = context.getPrefixes();
prefixes.put(RdfConstants.RDF_SCHEMA.toString(), "rdf");
prefixes.put(RdfConstants.RDF_SYNTAX.toString(), "rdfs");