Question: What is the relation between John Carpenter (the one whose CANTIC-ID is a10345267) and atheism?
Choices:
donated by
draft pick from school
series spin-off
director of photography
winner
significant event
published in
religion
successful candidate
father
Answer: religion
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Carpenter" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a10345267" . ?e_2 <pred:name> "atheism" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Carpenter
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a10345267
function: Find
inputs: atheism
function: QueryRelation
dependencies: 1
2