Question: What is the connection between New Jersey to Mercer County (the one that contains Trenton)?
Choices:
officially opened by
contains administrative territorial entity
owner of
narrative role
has contributing factor
connects with
architectural style
has cause
replaces
location of final assembly
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "New Jersey" . ?e_2 <pred:name> "Mercer County" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Trenton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New Jersey
function: Find
inputs: Trenton
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Mercer County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4