Question: What is the official website of the public company that originates in Chicago (that is the resident city of Hillary Clinton)?
Choices:
http://www.jillscott12.com/
http://www.pas-de-calais.pref.gouv.fr/
http://ducks.nhl.com
http://www.uwyo.edu
http://www.vivicafox.com/
http://www.michaelcrichton.com/jurassic-park/
http://www.katyperry.com/
http://www.kraftfoodsgroup.com/
http://www.bryanferry.com/
http://theconcernsofmindykaling.com
Program:
function: Find
inputs: Hillary Clinton
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Chicago
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: public company
function: QueryAttr
dependencies: 5
inputs: official website
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public company" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Chicago" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Hillary Clinton" .  ?e <official_website> ?pv .  }
Answer: http://www.kraftfoodsgroup.com/