Question: What number of medication has the EC number of 231-096-4 or has bread as a nutrient?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medication" .  { ?e <EC_number> ?pv . ?pv <pred:value> "231-096-4" .  } UNION { ?e_1 <nutrient> ?e . ?e_1 <pred:name> "bread" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: EC number
231-096-4
function: FilterConcept
dependencies: 1
inputs: medication
function: Find
inputs: bread
function: Relate
dependencies: 3
inputs: nutrient
forward
function: FilterConcept
dependencies: 4
inputs: medication
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2