Question: Adrian Grenier is cast in what role on Entourage, set in Los Angeles?
Choices:
Sailor Mercury
Ted Clubberlang
Vincent Chase
Tweedledum
Indiana Jones
Marie Antoinette
Richard White
Robert de Brus, 6th Lord of Annandale
Remus Lupin
Daffy Duck
Answer: Vincent Chase
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Entourage" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Adrian Grenier" . ?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: Entourage
function: And
dependencies: 1
2
function: Find
inputs: Adrian Grenier
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role