Question: What is the connection between Harry Potter and the Half-Blood Prince (whose ISBN-13 is 978-2-07-057267-0) and the United Kingdom?
Choices:
head coach
country of origin
studied by
set in period
art director
country of citizenship
cause of death
original network
main food source
operating area
Program:
function: Find
inputs: Harry Potter and the Half-Blood Prince
function: FilterStr
dependencies: 0
inputs: ISBN-13
978-2-07-057267-0
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Half-Blood Prince" . ?e_1 <ISBN-13> ?pv . ?pv <pred:value> "978-2-07-057267-0" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of origin