Question: How many chemical compounds are blood plasma components or considered equivalent to sugar?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: blood plasma
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: Find
inputs: sugar
function: Relate
dependencies: 3
inputs: said to be the same as
forward
function: FilterConcept
dependencies: 4
inputs: chemical compound
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical compound" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "blood plasma" .  } UNION { ?e_1 <said_to_be_the_same_as> ?e . ?e_1 <pred:name> "sugar" .  } }
Answer: 2