Check to make sure contextId is not null in BaseRDFMapper