Question: What is the connection between James Brown (the one that is famous for jazz) to King Records (the one whose inception time is 1931)?
Choices:
used by
record label
place of burial
home world
heritage designation
kit supplier
director
superhuman feature or ability
participant
office held by head of state
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Brown" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "jazz" . ?e_2 <pred:name> "King Records" . ?e_2 <inception> ?pv . ?pv <pred:year> 1931 . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: jazz
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: James Brown
function: And
dependencies: 1
2
function: Find
inputs: King Records
function: FilterYear
dependencies: 4
inputs: inception
1931
=
function: QueryRelation
dependencies: 3
5