added code for dcat:distribution
code refactoring