Question: How many counties in Arizona are located in Oklahoma or have an inception time after 1891?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Arizona" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Oklahoma" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1891 ) .  } }
Program:
function: Find
inputs: Oklahoma
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: county of Arizona
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1891
>
function: FilterConcept
dependencies: 4
inputs: county of Arizona
function: Or
dependencies: 2
5
function: Count
dependencies: 6