Question: How many types of science study Earth (the one whose schematic is Jordens inre.jpg) or sepsis ?
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> "science" .  { ?e_1 <studied_by> ?e . ?e_1 <pred:name> "Earth" . ?e_1 <schematic> ?pv . ?pv <pred:value> "Jordens inre.jpg" .  } UNION { ?e_1 <studied_by> ?e . ?e_1 <pred:name> "sepsis" .  } }
Program:
function: Find
inputs: Earth
function: FilterStr
dependencies: 0
inputs: schematic
Jordens inre.jpg
function: Relate
dependencies: 1
inputs: studied by
forward
function: FilterConcept
dependencies: 2
inputs: science
function: Find
inputs: sepsis
function: Relate
dependencies: 4
inputs: studied by
forward
function: FilterConcept
dependencies: 5
inputs: science
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 1