Question: What is the relationship between the New York that contains New York City and Oswego County?
Choices:
lifestyle
contains administrative territorial entity
winner
heritage designation
geography of topic
official symbol
vehicle normally used
child
public holiday
appointed by
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: New York
function: And
dependencies: 1
2
function: Find
inputs: Oswego County
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "New York" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "New York City" . ?e_2 <pred:name> "Oswego County" . ?e_1 ?p ?e_2 .  }
Answer: contains administrative territorial entity