Question: What is the relationship between New York (the one whose subreddit is NewYork) and Rockland County?
Choices:
product or material produced
license
political ideology
voice type
chief executive officer
presenter
founded by
main food source
doctoral advisor
contains administrative territorial entity
Program:
function: Find
inputs: New York
function: FilterStr
dependencies: 0
inputs: subreddit
NewYork
function: Find
inputs: Rockland County
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "New York" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "NewYork" . ?e_2 <pred:name> "Rockland County" . ?e_1 ?p ?e_2 .  }
Answer: contains administrative territorial entity