Question: How many colleges are at the street address 2 E South St, Galesburg, IL, 61401-9999 or are the location that Philip Roth was buried after dying from heart failure?
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> "college" .  { ?e <located_at_street_address_(DEPRECATED)> ?pv . ?pv <pred:value> "2 E South St, Galesburg, IL, 61401-9999" .  } UNION { ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "Philip Roth" . ?e_1 <cause_of_death> ?e_2 . ?e_2 <pred:name> "heart failure" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: located at street address (DEPRECATED)
2 E South St, Galesburg, IL, 61401-9999
function: FilterConcept
dependencies: 1
inputs: college
function: Find
inputs: heart failure
function: Relate
dependencies: 3
inputs: cause of death
backward
function: Find
inputs: Philip Roth
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of burial
forward
function: FilterConcept
dependencies: 7
inputs: college
function: Or
dependencies: 2
8
function: Count
dependencies: 9