Question: Which law school's country is the USA and location is Greenwich Village (the one that is the residence of Robert Downey Jr.)?
Choices:
University of Michigan Law School
UCLA School of Law
UC Berkeley School of Law
New York University School of Law
Schulich School of Law
Columbia Law School
Fordham University School of Law
New York Law School
Albany Law School
Brooklyn Law School
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: law school
function: Find
inputs: Robert Downey Jr.
function: Relate
dependencies: 3
inputs: residence
forward
function: Find
inputs: Greenwich Village
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: location
backward
function: FilterConcept
dependencies: 7
inputs: law school
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "law school" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <location> ?e_2 . ?e_2 <pred:name> "Greenwich Village" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Robert Downey Jr." .  }
Answer: New York University School of Law