Question: Tell me the relationship between George Segal (who was educated at Stuyvesant High School) to sculpture art.
Choices:
conferred by
field of work
composer
contains settlement
software engine
participant
original film format
operating system
approved by
public holiday
Answer: field of work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Segal" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Stuyvesant High School" . ?e_2 <pred:name> "art of sculpture" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Stuyvesant High School
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: George Segal
function: And
dependencies: 1
2
function: Find
inputs: art of sculpture
function: QueryRelation
dependencies: 3
4