Question: What is the relationship between Mike Mills, who was educated at Cooper Union, and screenwriter?
Choices:
dialect of
territory overlaps
health specialty
donated by
occupation
has parts of the class
properties for this type
location of final assembly
significant person
family
Program:
function: Find
inputs: Cooper Union
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Mike Mills
function: And
dependencies: 1
2
function: Find
inputs: screenwriter
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mike Mills" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Cooper Union" . ?e_2 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Answer: occupation