Question: Is the medical condition of Pete Wentz the disease whit ICD-10-CM F31?
Choices: pedophilia
attention deficit hyperactivity disorder
prostate cancer
amyotrophic lateral sclerosis
epilepsy
bubonic plague
peritonitis
diarrhea
gastroesophageal reflux disease
bipolar disorder
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e <ICD-10-CM> ?pv . ?pv <pred:value> "F31" . ?e_1 <medical_condition> ?e . ?e_1 <pred:name> "Pete Wentz" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-10-CM
F31
function: FilterConcept
dependencies: 1
inputs: disease
function: Find
inputs: Pete Wentz
function: Relate
dependencies: 3
inputs: medical condition
forward
function: FilterConcept
dependencies: 4
inputs: disease
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: bipolar disorder