Question: How many universities were established before 1971 or have a headquarters location in Cleveland?
Choices:
447
448
449
450
451
452
453
454
455
456
Answer: 456
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1971 ) .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Cleveland" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1971
<
function: FilterConcept
dependencies: 1
inputs: university
function: Find
inputs: Cleveland
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: university
function: Or
dependencies: 2
5
function: Count
dependencies: 6