Question: What is the connection between George Martin (the one whose birth name is Francisco Martínez Celeiro) to film director?
Choices: director/manager
native language
operator
contributor(s) to the creative work
official religion
geographic distribution
has quality
soundtrack album
occupation
named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Martin" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Francisco Martínez Celeiro" . ?e_2 <pred:name> "film director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: George Martin
function: FilterStr
dependencies: 0
inputs: birth name
Francisco Martínez Celeiro
function: Find
inputs: film director
function: QueryRelation
dependencies: 1
2
Answer: occupation