Question: How many association football clubs are located in the Alaska Time Zone or that is named after Exeter whose area is 27.3 square kilometres?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" .  { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Alaska Time Zone" .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Exeter" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "27.3"^^xsd:double .  } }
Program:
function: Find
inputs: Alaska Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: FilterConcept
dependencies: 1
inputs: association football club
function: Find
inputs: Exeter
function: FilterNum
dependencies: 3
inputs: area
27.3 square kilometre
=
function: Relate
dependencies: 4
inputs: named after
backward
function: FilterConcept
dependencies: 5
inputs: association football club
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 1