Question: How many colleges and universities in the United States have a establishment date that is after 1876 or a headquarters that is located in Lexington (that is the headquarters location of the University of Kentucky)?
Choices:
22
23
24
25
26
27
28
29
30
31
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1876
>
function: FilterConcept
dependencies: 1
inputs: colleges and universities in the United States
function: Find
inputs: University of Kentucky
function: Relate
dependencies: 3
inputs: headquarters location
forward
function: Find
inputs: Lexington
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: headquarters location
backward
function: FilterConcept
dependencies: 7
inputs: colleges and universities in the United States
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "colleges and universities in the United States" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1876 ) .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Lexington" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> "University of Kentucky" .  } }
Answer: 22