Question: What is the relation between Michael Jackson (the one boen in the United States of America) and basketbal?
Choices:
followed by
fabrication method
next lower rank
captain
series spin-off
author
sport
present in work
appears in the form of
lifestyle
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Find
inputs: basketball
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Jackson" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "basketball" . ?e_1 ?p ?e_2 .  }
Answer: sport