Question: What is the CANTIC-ID of John Quincy Adams (the one that uses the language German)?
Choices:
a10925223
a11572097
a10458827
a11177378
a10458244
a10117581
a10668081
a10433648
a11567776
a11724122
Answer: a11177378
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Quincy Adams" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> "German" .  ?e <CANTIC-ID> ?pv .  }
Program:
function: Find
inputs: German
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: John Quincy Adams
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: CANTIC-ID