Question: How is Beauty and the Beast, published on 2017-03-16, related to Ewan McGregor?
Choices:
filmography
statistical leader
cast member
game mode
depicts
employer
place of birth
chairperson
located on terrain feature
draft pick from school
Program:
function: Find
inputs: Beauty and the Beast
function: FilterDate
dependencies: 0
inputs: publication date
2017-03-16
=
function: Find
inputs: Ewan McGregor
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2017-03-16"^^xsd:date . ?e_2 <pred:name> "Ewan McGregor" . ?e_1 ?p ?e_2 .  }
Answer: cast member