Question: How is Microsoft, which has an operating income of 20182000000 United States dollars, related to Washington?
Choices:
month of the year
named after
languages spoken, written or signed
captain
military branch
main food source
editor
territory overlaps
headquarters location
location of formation
Program:
function: Find
inputs: Microsoft
function: FilterNum
dependencies: 0
inputs: operating income
20182000000 United States dollar
=
function: Find
inputs: Washington
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Microsoft" . ?e_1 <operating_income> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "20182000000"^^xsd:double . ?e_2 <pred:name> "Washington" . ?e_1 ?p ?e_2 .  }
Answer: headquarters location