Question: What is the ISBN publisher prefix for the university that is the educational site of John Adams (who is educated at Yale University)?
Choices: 978-1-84706
978-0-980788
978-4-87025
978-0-8387
978-1-56389
978-0-87070
978-0-930289
978-1-60135
978-0-8457
978-1-4231
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "John Adams" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Yale University" .  ?e <ISBN_publisher_prefix> ?pv .  }
Program:
function: Find
inputs: Yale University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: university
function: QueryAttr
dependencies: 5
inputs: ISBN publisher prefix
Answer: 978-0-8457