Question: Michael Pitt is cast as what character on Boardwalk Empire?
Choices:
Walter White
Grouchy Smurf
Achilles
Princess Fiona
Roy Baty
Éowyn
Abby
Jimmy Darmody
Justin Hammer
George Costanza
Program:
function: Find
inputs: Boardwalk Empire
function: Find
inputs: Michael Pitt
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Boardwalk Empire" . ?e_2 <pred:name> "Michael Pitt" . ?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: Jimmy Darmody