Question: How is Monroe County (the one whose area is 3537 square kilometres) related to Rochester (the one whose official website is http://www.cityofrochester.gov)
Choices:
original film format
military casualty classification
shares border with
works in collection
lowest point
based on
licensed to broadcast to
has part
capital
make-up artist
Answer: capital
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Monroe County" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "3537"^^xsd:double . ?e_2 <pred:name> "Rochester" . ?e_2 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cityofrochester.gov" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 0
inputs: area
3537 square kilometre
=
function: Find
inputs: Rochester
function: FilterStr
dependencies: 2
inputs: official website
http://www.cityofrochester.gov
function: QueryRelation
dependencies: 1
3