Question: How many products have the nutrient L-Serine or the nutrient properties of water?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "product" .  { ?e <nutrient> ?e_1 . ?e_1 <pred:name> "L-Serine" .  } UNION { ?e <nutrient> ?e_1 . ?e_1 <pred:name> "properties of water" .  } }
Program:
function: Find
inputs: L-Serine
function: Relate
dependencies: 0
inputs: nutrient
backward
function: FilterConcept
dependencies: 1
inputs: product
function: Find
inputs: properties of water
function: Relate
dependencies: 3
inputs: nutrient
backward
function: FilterConcept
dependencies: 4
inputs: product
function: Or
dependencies: 2
5
function: Count
dependencies: 6