Question: How is Harry Potter and the Order of the Phoenix, with Julie Walters as a cast member, related to Mark Williams, born on 1959-08-22?
Choices:
noble title
cast member
official religion
commissioned by
office held by head of state
partially contains
child astronomical body
depicts
series spin-off
voice actor
Program:
function: Find
inputs: Julie Walters
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Order of the Phoenix
function: And
dependencies: 1
2
function: Find
inputs: Mark Williams
function: FilterDate
dependencies: 4
inputs: date of birth
1959-08-22
=
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Order of the Phoenix" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Julie Walters" . ?e_2 <pred:name> "Mark Williams" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1959-08-22"^^xsd:date . ?e_1 ?p ?e_2 .  }
Answer: cast member