Improved linked data generation by implementing parts of the current linked data platform spec
fixed todo comment