bug fixes when no classURIs is specified in TriplesMap