Question: What is the role of Tate Donovan in Hercules (the one that lives in Greece)?
Choices:
United States Postal Service abbreviation
loser
Justice League Heroes
mineral
voice actor
film score composer
songwriter
guitarist
X2
storyteller
Answer: voice actor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> "Greece" . ?e_2 <pred:name> "Tate Donovan" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Tate Donovan
function: QueryRelationQualifier
dependencies: 3
4
inputs: performer
object has role