Question: What disease is a risk factor for breast cancer ?
Choices:
attention deficit hyperactivity disorder
obesity
pancreatic cancer
white people
cancer
amyotrophic lateral sclerosis
gastroesophageal reflux disease
anemia
sinusitis
tobacco smoking
Program:
function: Find
inputs: breast cancer
function: Relate
dependencies: 0
inputs: risk factor
backward
function: FilterConcept
dependencies: 1
inputs: disease
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e <risk_factor> ?e_1 . ?e_1 <pred:name> "breast cancer" .   }
Answer: obesity