Question: What is the ISBN-10 for the book that is the base for the movie Harry Potter and the Half-Blood Prince with David Thewlis?
Choices:
0-679-78589-2
0-451-16396-6
0-395-38949-6
2-07-057267-6
0-676-97376-0
84-8428-614-2
0-394-58816-9
1-84724-253-7
2-07-040458-7
0-394-70223-9
Answer: 2-07-057267-6
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Harry Potter and the Half-Blood Prince" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "David Thewlis" .  ?e <ISBN-10> ?pv .  }
Program:
function: Find
inputs: David Thewlis
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Half-Blood Prince
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: literary work
function: QueryAttr
dependencies: 5
inputs: ISBN-10