Question: How is York County (the one whose official website is http://www.yorkcountyme.gov) related to York (the one that is the origin of the name York City F.C.)?
Choices:
nominated for
uses
family name
operator
characters
voice actor
filming location
board member
place of death
named after
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "York County" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.yorkcountyme.gov" . ?e_2 <pred:name> "York" . ?e_3 <named_after> ?e_2 . ?e_3 <pred:name> "York City F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: York County
function: FilterStr
dependencies: 0
inputs: official website
http://www.yorkcountyme.gov
function: Find
inputs: York City F.C.
function: Relate
dependencies: 2
inputs: named after
forward
function: Find
inputs: York
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5