Question: Jack Thompson (featured in the cast of Merry Christmas, Mr. Lawrence) played what character in the cast of Star Wars Episode II: Attack of the Clones?
Choices:
Mace Windu
John Clark
Jack Bristow
Phillip Jeffries
Dwayne Hicks
Daisy Duck
Nelson Muntz
Michael Scott
Weatherby Swann
Cliegg Lars
Answer: Cliegg Lars
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Wars Episode II: Attack of the Clones" . ?e_2 <pred:name> "Jack Thompson" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Merry Christmas, Mr. Lawrence" . ?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: Star Wars Episode II: Attack of the Clones
function: Find
inputs: Merry Christmas, Mr. Lawrence
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Jack Thompson
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role