append dot after triplesamesubject in prettyprinter