Question: What agent originates in the United States city that is the birthplace of Diana Ross who is a citizen of the United States of America?
Choices:
American Airlines
Yahoo
Hewlett-Packard
International Cricket Council
The Walt Disney Company
The White Stripes
Aaliyah
General Motors
The Temptations
Dell Inc.
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Diana Ross
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: Relate
dependencies: 5
inputs: location of formation
backward
function: FilterConcept
dependencies: 6
inputs: agent
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_3 <place_of_birth> ?e_1 . ?e_3 <pred:name> "Diana Ross" . ?e_3 <country_of_citizenship> ?e_4 . ?e_4 <pred:name> "United States of America" .   }
Answer: General Motors