Question: What is the link between Kent County (that shares a border with Providence County) and Warwick (that is the birthplace of Nathanael Greene)?
Choices: replaces
conferred by
doctoral student
works in collection
child
model item
contains administrative territorial entity
does not have part
had as last meal
found
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kent County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Providence County" . ?e_2 <pred:name> "Warwick" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Nathanael Greene" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Providence County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Kent County
function: And
dependencies: 1
2
function: Find
inputs: Nathanael Greene
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Warwick
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: contains administrative territorial entity