Question: Dave Morse is cast in what role on the single-season John Adams?
Choices:
Tai Lung
George V
Green Hornet
Vernita Yvonne Green
George Washington
Dennis Nedry
Oafish Guard
Peregrin Took
Jamie Williams
William Adama
Program:
function: Find
inputs: John Adams
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: David Morse
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1"^^xsd:double . ?e_2 <pred:name> "David Morse" . ?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: George Washington