Question: Tell me the number of organisms groups that are known by one particular common name that is the United States Marine Corps mascot or that has food mainly coming from Poaceae
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> "group of organisms known by one particular common name" .  { ?e_1 <mascot> ?e . ?e_1 <pred:name> "United States Marine Corps" .  } UNION { ?e <main_food_source> ?e_1 . ?e_1 <pred:name> "Poaceae" .  } }
Program:
function: Find
inputs: United States Marine Corps
function: Relate
dependencies: 0
inputs: mascot
forward
function: FilterConcept
dependencies: 1
inputs: group of organisms known by one particular common name
function: Find
inputs: Poaceae
function: Relate
dependencies: 3
inputs: main food source
backward
function: FilterConcept
dependencies: 4
inputs: group of organisms known by one particular common name
function: Or
dependencies: 2
5
function: Count
dependencies: 6