protected RdfSerializer createRdfSerializer() throws IOException {

		String outputDestinationFinal;
		if (this.outputDestination != null) {
			outputDestinationFinal = this.outputDestination;
		} else {
			outputDestinationFinal = "{PROJECT}" + this.taskName + "{DATE}"
					+ ".nt";
		}

		OutputStream exportOutputStream = getOutputStream(this.useStdOut,
				insertDumpInformation(outputDestinationFinal),
				this.compressionType);

		RdfSerializer serializer = new RdfSerializer(RDFFormat.NTRIPLES,
				exportOutputStream, this.sites,
				PropertyRegister.getWikidataPropertyRegister());
		serializer.setTasks(this.tasks);

		return serializer;
	}
protected RdfSerializer createRdfSerializer ( ) throws IOException { String outputDestinationFinal ; if ( this . outputDestination != null ) { outputDestinationFinal = this . outputDestination ; } else { outputDestinationFinal = "{PROJECT}" + this . taskName + "{DATE}" + ".nt" ; } OutputStream exportOutputStream = getOutputStream ( this . useStdOut , insertDumpInformation ( outputDestinationFinal ) , this . compressionType ) ; RdfSerializer serializer = new RdfSerializer ( RDFFormat . NTRIPLES , exportOutputStream , this . sites , PropertyRegister . getWikidataPropertyRegister ( ) ) ; serializer . setTasks ( this . tasks ) ; return serializer ; }
Creates a new RDF serializer based on the current configuration of this
object.

@return the newly created RDF serializer
@throws IOException
if there were problems opening the output files