Question: What role did Irish American John Spencer play in WarGames?
Choices:
Bishop
Tracy Strauss
Jerry Lawson
Tallulah Black
Gregory House
George III of Great Britain
additional voices
Wakko Warner
Phil Cerreta
Chang
Program:
function: Find
inputs: WarGames
function: Find
inputs: Irish Americans
function: Relate
dependencies: 1
inputs: ethnic group
backward
function: Find
inputs: John Spencer
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "WarGames" . ?e_2 <pred:name> "John Spencer" . ?e_2 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Irish Americans" . ?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: Jerry Lawson