Question: What is the number of astronomical object type that has a child astronomical body the inner planet that is the narrative location of Watchman (which was published on 2009-03-05)?
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> "astronomical object type" . ?e <child_astronomical_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "inner planet" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "Watchmen" . ?e_2 <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-03-05"^^xsd:date .   }
Program:
function: Find
inputs: Watchmen
function: FilterDate
dependencies: 0
inputs: publication date
2009-03-05
=
function: Relate
dependencies: 1
inputs: narrative location
forward
function: FilterConcept
dependencies: 2
inputs: inner planet
function: Relate
dependencies: 3
inputs: child astronomical body
backward
function: FilterConcept
dependencies: 4
inputs: astronomical object type
function: Count
dependencies: 5
Answer: 1