porting R2RMLMappingDocument to Scala