Question: What is the connection between Dan Schneider (the one that belongs to United States of America) to baseball?
Choices:
sport
filmography
month of the year
shares border with
sibling
official symbol
filming location
vehicle normally used
exported to
time period
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Dan Schneider
function: And
dependencies: 1
2
function: Find
inputs: baseball
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dan Schneider" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Answer: sport