Question: How many astronomical objects has a child astronomical body the inner planet having albedo of less than 0.7?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "astronomical object type" . ?e <child_astronomical_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "inner planet" . ?e_1 <albedo> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v < "0.7"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: albedo
0.7
<
function: FilterConcept
dependencies: 1
inputs: inner planet
function: Relate
dependencies: 2
inputs: child astronomical body
backward
function: FilterConcept
dependencies: 3
inputs: astronomical object type
function: Count
dependencies: 4