Question: What is the Libris-URI of John Quincy Adams (the one that has the occupation of politician)?
Choices:
hftwxp012dlpnlv
c9prsjdw138nts9
42gjksfn1grm15p
jgvz6l023n7bdrj
qn25bk181dtl8c4
zw9djz3h18vgtzd
sq469x8b13h13t9
qn2468884vm0c72
xv8bdbcg019w3zk
khw07nr32xr4m8p
Answer: c9prsjdw138nts9
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Quincy Adams" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "politician" .  ?e <Libris-URI> ?pv .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Quincy Adams
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: Libris-URI