organize code RDFOutputKMLGeneration