Question: Is the birth name for the person whose notable work is Beloved (the one whose ISBN-10 is 1-58060-120-0), Richard John Thompson?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <notable_work> ?e_1 . ?e_1 <pred:name> "Beloved" . ?e_1 <ISBN-10> ?pv_1 . ?pv_1 <pred:value> "1-58060-120-0" . ?e <birth_name> ?pv . ?pv <pred:value> "Richard John Thompson" .  }
Program:
function: Find
inputs: Beloved
function: FilterStr
dependencies: 0
inputs: ISBN-10
1-58060-120-0
function: Relate
dependencies: 1
inputs: notable work
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: birth name
function: VerifyStr
dependencies: 4
inputs: Richard John Thompson