Question: Who works in Santa Barbara whose Dewey Decimal Classification is 2--79491?
Choices:
Sylvester Stallone
David Byrne
John 5
Brad Jones
Michael Collins
Rahul Dev Burman
Richard Gere
Simon Cowell
William Henry Harrison
David Hyde Pierce
Program:
function: Find
inputs: Santa Barbara
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--79491
function: Relate
dependencies: 1
inputs: work location
backward
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <work_location> ?e_1 . ?e_1 <pred:name> "Santa Barbara" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--79491" .   }
Answer: Michael Collins