added DSL interface for triplification, tests