Question: What U.S. city is located in Lake County (the one whose FIPS 6-4 (US counties) is 18089) and is the birthplace of Michael Jackson (the one that received Grammy Award for Song of the Year) (the administrative location of this statement is Indiana)?
Choices:
Lansing
Waukegan
Gary
Greenville
Boulder
Compton
Franklin
New Britain
Columbus
Oakland
Program:
function: Find
inputs: Lake County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
18089
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Find
inputs: Grammy Award for Song of the Year
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: place of birth
forward
function: QFilterStr
dependencies: 8
inputs: located in the administrative territorial entity
Indiana
function: FilterConcept
dependencies: 9
inputs: city of the United States
function: And
dependencies: 3
10
function: What
dependencies: 11
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Lake County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "18089" .  ?e_2 <place_of_birth> ?e . ?e_2 <pred:name> "Michael Jackson" . ?e_2 <award_received> ?e_3 . ?e_3 <pred:name> "Grammy Award for Song of the Year" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e ] <located_in_the_administrative_territorial_entity> ?qpv . ?qpv <pred:value> "Indiana" .  }
Answer: Gary