Question: What is the role of Karl Urban (the one that was born in Wellington in Dredd?
Choices:
Paulette
Hugo
Ken Mattingly
Cleopatra
Phillip Jeffries
Genevieve Scherbatsky
Richie Gecko
Judge Dredd
David Tapp
Mr. Potato Head
Answer: Judge Dredd
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Dredd" . ?e_2 <pred:name> "Karl Urban" . ?e_2 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Wellington" . ?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: Dredd
function: Find
inputs: Wellington
function: Relate
dependencies: 1
inputs: place of birth
backward
function: Find
inputs: Karl Urban
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role