Question: What is the number of mathematics that have subreddit Geometry and that has ecology as a part.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mathematics" . ?e <subreddit> ?pv . ?pv <pred:value> "Geometry" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "ecology" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
Geometry
function: FilterConcept
dependencies: 1
inputs: mathematics
function: Find
inputs: ecology
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: mathematics
function: And
dependencies: 2
5
function: Count
dependencies: 6