Question: How many astronomical object types are the parent astronomical body of Mars (whose mass is 641.71 yottagrams) or have the Iconclass notation 24D2?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Mars
function: FilterNum
dependencies: 0
inputs: mass
641.71 yottagram
=
function: Relate
dependencies: 1
inputs: parent astronomical body
forward
function: FilterConcept
dependencies: 2
inputs: astronomical object type
function: FindAll
function: FilterStr
dependencies: 4
inputs: Iconclass notation
24D2
function: FilterConcept
dependencies: 5
inputs: astronomical object type
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "astronomical object type" .  { ?e_1 <parent_astronomical_body> ?e . ?e_1 <pred:name> "Mars" . ?e_1 <mass> ?pv . ?pv <pred:unit> "yottagram" . ?pv <pred:value> "641.71"^^xsd:double .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "24D2" .  } }
Answer: 2