Question: What is the connection between George Segal (the one that is educated at Cooper Union) to art of painting?
Choices:
head of government
location of formation
medical condition
field of work
discoverer or inventor
legislative body
statistical leader
language of work or name
archives at
sidekick of
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> "Cooper Union" . ?e_2 <pred:name> "art of painting" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cooper Union
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: George Segal
function: And
dependencies: 1
2
function: Find
inputs: art of painting
function: QueryRelation
dependencies: 3
4