Question: What is the connection between Jim Brown (the one that is related to sport baseball) to Clinton County (the one that is located in Pennsylvania)?
Choices:
member of
collection
place of birth
feast day
sidekick of
exclave of
language of work or name
has edition
board member
ancestral home
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jim Brown" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "baseball" . ?e_2 <pred:name> "Clinton County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_4 . ?e_4 <pred:name> "Pennsylvania" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 1
2
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Clinton County
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7