Question: How is Carl Sagan related to Ithaca USA?
Choices: present in work
place of burial
diaspora
location of discovery
military rank
occupation
basic form of government
mountain range
licensed to broadcast to
located on terrain feature
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carl Sagan" . ?e_2 <pred:name> "Ithaca" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Carl Sagan
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Ithaca
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: place of burial