Question: How many chemical elements are either named after Moon, which has an orbital eccentricity of .0567, or is different from manganese?
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> "chemical element" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Moon" . ?e_1 <orbital_eccentricity> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "0.0567"^^xsd:double .  } UNION { ?e_1 <different_from> ?e . ?e_1 <pred:name> "manganese" .  } }
Program:
function: Find
inputs: Moon
function: FilterNum
dependencies: 0
inputs: orbital eccentricity
0.0567
=
function: Relate
dependencies: 1
inputs: named after
backward
function: FilterConcept
dependencies: 2
inputs: chemical element
function: Find
inputs: manganese
function: Relate
dependencies: 4
inputs: different from
forward
function: FilterConcept
dependencies: 5
inputs: chemical element
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 2