Petrie is a pterodactyl, a flying reptile from the late Jurassic period .