Question: How is Washington County, population 17599, related to George Washington, whose home is New York City?
Choices:
film release region
country
narrative location
basic form of government
main food source
named after
director of photography
organisation directed from the office or person
country for sport
military conflicts
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Washington County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "17599"^^xsd:double . ?e_2 <pred:name> "George Washington" . ?e_2 <residence> ?e_3 . ?e_3 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Washington County
function: FilterNum
dependencies: 0
inputs: population
17599
=
function: Find
inputs: New York City
function: Relate
dependencies: 2
inputs: residence
backward
function: Find
inputs: George Washington
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5