Question: Which academic discipline distinct from astrology is Avicenna's field of work?
Choices: astronomy
biochemistry
international relations
Philadelphia
soprano
physics
electrical engineering
choir
English Studies
graph theory
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic discipline" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> "Avicenna" .  ?e <different_from> ?e_2 . ?e_2 <pred:name> "astrology" .  }
Program:
function: Find
inputs: Avicenna
function: Relate
dependencies: 0
inputs: field of work
forward
function: FilterConcept
dependencies: 1
inputs: academic discipline
function: Find
inputs: astrology
function: Relate
dependencies: 3
inputs: different from
backward
function: FilterConcept
dependencies: 4
inputs: academic discipline
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: astronomy