Request Approval

Gets NASA's astronomy picture of the day (APOD), and data on the closest asteroid to Earth, every 24 hours.

Uploaded By: Almond Authors

Commands

  • WHEN: when an asteroid passes close to earth
  • WHEN: when a dangerous asteroid is close to earth
  • WHEN: when an asteroid is closer to earth than ____ (distance)
  • WHEN: when a close asteroid is faster than ____ (relative velocity)
  • GET: today 's asteroid info
  • GET: nasa 's astronomy picture of the day
  • GET: a picture from curiosity rover
  • GET: ____ (count) pictures from curiosity rover
  • GET: a picture from curiosity rover taken on ____ (date taken)
  • GET: nasa 's apod
  • GET: a nasa picture
  • GET: curiosity rover

Queries

  • apod(out title :String,
    out description :String,
    out picture_url :Entity(tt:picture))
    Title, description, and image URL of NASA's Astronomy Picture of the Day (APOD)
  • rover(in opt date_taken :Date,
    in opt count :Number,
    out picture_url :Entity(tt:picture),
    out camera_used :Entity(gov.nasa:curiosity_rover_camera))
    photos from the Curiosity Rover on Mars
  • asteroid(out asteroid_id :Entity(gov.nasa:asteroid_id),
    out name :String,
    out estimated_diameter_min :Measure(m),
    out estimated_diameter_max :Measure(m),
    out is_dangerous :Boolean,
    out relative_velocity :Measure(mps),
    out distance :Measure(m),
    out orbiting_body :String)
    Daily-updated data on the closest asteroid to earth