Question: What is the number of colleges that is where Philip Roth (the one was educated at Rutgers University) died or that has a zip code 43022.
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_1 <place_of_burial> ?e . ?e_1 <pred:name> "Philip Roth" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Rutgers University" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "43022" .  } }
Program:
function: Find
inputs: Rutgers University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Philip Roth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of burial
forward
function: FilterConcept
dependencies: 4
inputs: college
function: FindAll
function: FilterStr
dependencies: 6
inputs: postal code
43022
function: FilterConcept
dependencies: 7
inputs: college
function: Or
dependencies: 5
8
function: Count
dependencies: 9