A bunch of fixes to add better PN Linked Data support.