Question: How many chemical elements are different from manganese or have a CAS Registry Number of 7440-70-2?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: manganese
function: Relate
dependencies: 0
inputs: different from
forward
function: FilterConcept
dependencies: 1
inputs: chemical element
function: FindAll
function: FilterStr
dependencies: 3
inputs: CAS Registry Number
7440-70-2
function: FilterConcept
dependencies: 4
inputs: chemical element
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 element" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> "manganese" .  } UNION { ?e <CAS_Registry_Number> ?pv . ?pv <pred:value> "7440-70-2" .  } }
Answer: 2