Question: What does West Orange have to do with Essex County (which contains Newark)?
Choices:
officeholder
located in the administrative territorial entity
drug used for treatment
place of birth
has immediate cause
notable people with this condition
lyrics by
student of
architectural style
home world
Program:
function: Find
inputs: West Orange
function: Find
inputs: Newark
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Essex County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "West Orange" . ?e_2 <pred:name> "Essex County" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Newark" . ?e_1 ?p ?e_2 .  }
Answer: located in the administrative territorial entity