Question: How many historical countries contain the Mississippi administrative division (that is located in the Central Time Zone) or have the basic government form of constitutional monarchy?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" .  { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Mississippi" . ?e_1 <located_in_time_zone> ?e_2 . ?e_2 <pred:name> "Central Time Zone" .  } UNION { ?e <basic_form_of_government> ?e_1 . ?e_1 <pred:name> "constitutional monarchy" .  } }
Program:
function: Find
inputs: Central Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Mississippi
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: historical country
function: Find
inputs: constitutional monarchy
function: Relate
dependencies: 6
inputs: basic form of government
backward
function: FilterConcept
dependencies: 7
inputs: historical country
function: Or
dependencies: 5
8
function: Count
dependencies: 9