Question: Which United States college or university is the education place of Stan Lee (who has the occupation of lawyer) and is where the 2006 NBA Draft is picked from?
Choices:
Louisiana State University
Iowa State University
North Carolina Agricultural and Technical State University
North Carolina State University
University of Arkansas
North Dakota State University
University of Kentucky
Rutgers University
University of Idaho
Kansas State University
Answer: University of Kentucky
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "colleges and universities in the United States" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Stan Lee" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "lawyer" .  ?e_3 <draft_pick_from_school> ?e . ?e_3 <pred:name> "2006 NBA Draft" .  }
Program:
function: Find
inputs: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Stan Lee
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: colleges and universities in the United States
function: Find
inputs: 2006 NBA Draft
function: Relate
dependencies: 6
inputs: draft pick from school
forward
function: FilterConcept
dependencies: 7
inputs: colleges and universities in the United States
function: And
dependencies: 5
8
function: What
dependencies: 9