Question: What is the sex that is a risk factor in the disease ICD-10-CM G30.9?
Choices:
hypertension
old age
High Wycombe
stallion
Portsmouth
Oliver Twist
Howard Hughes
Love Actually
female organism
diabetes mellitus
Answer: female organism
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sex" . ?e <risk_factor> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "disease" . ?e_1 <ICD-10-CM> ?pv . ?pv <pred:value> "G30.9" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-10-CM
G30.9
function: FilterConcept
dependencies: 1
inputs: disease
function: Relate
dependencies: 2
inputs: risk factor
backward
function: FilterConcept
dependencies: 3
inputs: sex
function: What
dependencies: 4