Question: How is the Michael Jackson born in Fairfax related to the Sacramento Kings?
Choices: located on terrain feature
connects with
mountain range
medical treatment
award received
professional or sports partner
member of sports team
language used
followed by
discoverer or inventor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Jackson" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Fairfax" . ?e_2 <pred:name> "Sacramento Kings" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Fairfax
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Find
inputs: Sacramento Kings
function: QueryRelation
dependencies: 3
4
Answer: member of sports team