Question: What is the name of the character that Frank Oz played in Star Wars Episode V: The Empire Strikes Back (the one released in 1980-05-21)?
Choices:
John Connor
Sharpay Evans
Tracy Jordan
Bender
Yoda
Chick Hicks
Kestrel
Samantha Jones
Wreck-It Ralph
Diego Rivera
Answer: Yoda
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Wars Episode V: The Empire Strikes Back" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1980-05-21"^^xsd:date . ?e_2 <pred:name> "Frank Oz" . ?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 V: The Empire Strikes Back
function: FilterDate
dependencies: 0
inputs: publication date
1980-05-21
=
function: Find
inputs: Frank Oz
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role