Question: For the capital of Clark County (the one that shares a border with San Bernardino County), what public company sets up in that U.S. city?
Choices: The Killers
Oracle Corporation
MGM Resorts International
Canon Inc.
Bandai Namco Holdings
Panic! at the Disco
Boeing
Kraft Foods
TV5
Motorola
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public company" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Clark County" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "San Bernardino County" .   }
Program:
function: Find
inputs: San Bernardino County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Clark County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: Relate
dependencies: 5
inputs: location of formation
backward
function: FilterConcept
dependencies: 6
inputs: public company
function: What
dependencies: 7
Answer: MGM Resorts International