Changed object node to UriNode instead of LiteralNode as this made queries such as "SELECT ?o ?p2 ?o2 WHERE { ?s ?p ?o . ?o ?p2 ?o2 .}" where we try to get related things by the object and then using this as the subject as the second part of the where