Question: What is the relationship between Lawrence (the one that is the given name of Lawrence Kasdan) to English?
Choices:
hair color
movement
different from
position held
notable work
symptoms
language of work or name
health specialty
candidate
country of citizenship
Answer: language of work or name
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lawrence" . ?e_3 <given_name> ?e_1 . ?e_3 <pred:name> "Lawrence Kasdan" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lawrence Kasdan
function: Relate
dependencies: 0
inputs: given name
forward
function: Find
inputs: Lawrence
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4