Question: I want to know the TV series that was filmed in the city of the United States that has the official name city of Chicago.
Choices:
Chicago Fire
Charlie's Angels
The X-Files
Search for Tomorrow
Atlanta
Wanted
War and Peace
North by Northwest
The Wire
Ferris Bueller's Day Off
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
City of Chicago
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: filming location
backward
function: FilterConcept
dependencies: 3
inputs: television series
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <filming_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <official_name> ?pv . ?pv <pred:value> "City of Chicago" .   }
Answer: Chicago Fire