check for nil in case of no references to dbpedia