Question: What is the relationship between The Patriot (the one whose cost is 25000000 United States dollar) and Dean Semler?
Choices:
has quality
source of income
director
tributary
approved by
derivative work
copyright representative
superhuman feature or ability
filmography
head of state
Answer: director
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Patriot" . ?e_1 <cost> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "25000000"^^xsd:double . ?e_2 <pred:name> "Dean Semler" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Patriot
function: FilterNum
dependencies: 0
inputs: cost
25000000 United States dollar
=
function: Find
inputs: Dean Semler
function: QueryRelation
dependencies: 1
2