Question: What is the CANTIC-ID for John Adams (the one that is educated at University of Glasgow)?
Choices:
a10891948
a11066052
a1179477x
a10149235
a1161416x
a10870817
a10112819
a10414022
a11169400
a11048815
Answer: a10414022
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Adams" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "University of Glasgow" .  ?e <CANTIC-ID> ?pv .  }
Program:
function: Find
inputs: University of Glasgow
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: CANTIC-ID