Question: What is the character role of Gary Oldman as a cast member in Tinker Tailor Soldier Spy (that costs 30000000 United States dollars)?
Choices:
George Smiley
Prince Barin
Bedivere
Edmund Tylney
Digory Kirke
William Riker
Deadpool
Francois Pienaar
Vernon Schillinger
Serena Kogan
Program:
function: Find
inputs: Tinker Tailor Soldier Spy
function: FilterNum
dependencies: 0
inputs: cost
30000000 United States dollar
=
function: Find
inputs: Gary Oldman
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tinker Tailor Soldier Spy" . ?e_1 <cost> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "30000000"^^xsd:double . ?e_2 <pred:name> "Gary Oldman" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: George Smiley