Got prolog datamodel to compile again