Question: What is the relationship between Hampshire County (the one whose population is 23353) and the United States of America?
Choices:
costume designer
uses
located in or next to body of water
country
connects with
contains settlement
coextensive with
home world
relative
film crew member
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hampshire County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "23353"^^xsd:double . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hampshire County
function: FilterNum
dependencies: 0
inputs: population
23353
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2