Question: What is the ISBN-13 of Harry Potter and the Half-Blood Prince (the one whose ISBN-10 is 2-07-057267-6) ?
Choices:
978-972-23-4916-1
978-0-099-54153-0
978-0-450-02576-1
978-0-7172-6059-1
978-2-07-057267-0
978-0-575-00149-7
978-2-84865-205-4
978-2-221-02602-1
978-85-332-0148-4
978-84-397-2077-5
Program:
function: Find
inputs: Harry Potter and the Half-Blood Prince
function: FilterStr
dependencies: 0
inputs: ISBN-10
2-07-057267-6
function: QueryAttr
dependencies: 1
inputs: ISBN-13
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Harry Potter and the Half-Blood Prince" . ?e <ISBN-10> ?pv_1 . ?pv_1 <pred:value> "2-07-057267-6" . ?e <ISBN-13> ?pv .  }
Answer: 978-2-07-057267-0