Representation Learning on Rdf and Lpg Knowledge Graphs