Question: What is Paul Walker's (the one that belongs to United States of America) character role as a cast member in the work The Fast and the Furious (the one whose narrative location is Los Angeles)?
Choices:
Hugo
Zod
Brian O'Conner
Mark Greene
Tycho Nestoris
John Abruzzi
Georgiana Cavendish, Duchess of Devonshire
Carl Grissom
Mathayus
Prince Charming
Answer: Brian O'Conner
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Fast and the Furious" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Paul Walker" . ?e_2 <country_for_sport> ?e_4 . ?e_4 <pred:name> "United States of America" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Fast and the Furious
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country for sport
backward
function: Find
inputs: Paul Walker
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role