Question: How is Independence, population 669, related to the United States of America?
Choices:
chief executive officer
country
has quality
organisation directed from the office or person
discoverer or inventor
geographic distribution
foundational text
currency
father
head coach
Program:
function: Find
inputs: Independence
function: FilterNum
dependencies: 0
inputs: population
669
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Independence" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "669"^^xsd:double . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country