Question: How many New York counties belong to the USA or are in the Mountain Time Zone?
Choices:
42
43
44
45
46
47
48
49
50
51
Answer: 45
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  } UNION { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Mountain Time Zone" .  } }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: county of New York
function: Find
inputs: Mountain Time Zone
function: Relate
dependencies: 3
inputs: located in time zone
backward
function: FilterConcept
dependencies: 4
inputs: county of New York
function: Or
dependencies: 2
5
function: Count
dependencies: 6