Question: How many written works have an ISBN-10 of 2-253-07623-6 or show a risk factor of breast cancer?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" .  { ?e <risk_factor> ?e_1 . ?e_1 <pred:name> "breast cancer" .  } UNION { ?e <ISBN-10> ?pv . ?pv <pred:value> "2-253-07623-6" .  } }
Program:
function: Find
inputs: breast cancer
function: Relate
dependencies: 0
inputs: risk factor
backward
function: FilterConcept
dependencies: 1
inputs: written work
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISBN-10
2-253-07623-6
function: FilterConcept
dependencies: 4
inputs: written work
function: Or
dependencies: 2
5
function: Count
dependencies: 6