Question: What is the relationship between Chicago (the one that is the headquarter location of University of Chicago Law School) and Chicago metropolitan area?
Choices:
family name
part of
has parts of the class
award received
production company
ancestral home
health specialty
substitute/deputy/replacement of office/officeholder
connects with
child
Answer: part of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chicago" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> "University of Chicago Law School" . ?e_2 <pred:name> "Chicago metropolitan area" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of Chicago Law School
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Chicago
function: And
dependencies: 1
2
function: Find
inputs: Chicago metropolitan area
function: QueryRelation
dependencies: 3
4