Question: What television character is in the work called Angel (with Steve Schirripa as the cast member) ?
Choices:
Anthony Anderson
Ayako Kawasumi
All the King's Men
The Three Musketeers
Susan Hayward
Angel
Oz
Grover Cleveland
Mary Steenburgen
Kane County
Program:
function: Find
inputs: Steve Schirripa
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
backward
function: FilterConcept
dependencies: 4
inputs: television character
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television character" . ?e <present_in_work> ?e_1 . ?e_1 <pred:name> "Angel" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Steve Schirripa" .   }
Answer: Angel