Automatically trigger loading referenced entities

EDOZWO-272
Refactor lobid queries to ntriples