Question: What character did Brad Pitt play in Mr. and Mrs. Smith (126 minutes in length)?
Choices:
Angel
16 years old
teammelli
Jai
Jane Smith
John Smith
0.259
AX
2005-12-16
II
Program:
function: Find
inputs: Mr. & Mrs. Smith
function: FilterNum
dependencies: 0
inputs: duration
126 minute
=
function: Find
inputs: Brad Pitt
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
name of the character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mr. & Mrs. Smith" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "126"^^xsd:double . ?e_2 <pred:name> "Brad Pitt" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <name_of_the_character_role> ?qpv .  }
Answer: John Smith