Question: How many astronomical object types typically have a property that is the country of a citizen named Terry Jones (whose occupation is comedian)?
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> "astronomical object type" . ?e <properties_for_this_type> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "country" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Terry Jones" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "comedian" .   }
Program:
function: Find
inputs: comedian
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Terry Jones
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of citizenship
forward
function: FilterConcept
dependencies: 4
inputs: country
function: Relate
dependencies: 5
inputs: properties for this type
backward
function: FilterConcept
dependencies: 6
inputs: astronomical object type
function: Count
dependencies: 7