Question: How many higher learning institutions have the street address 400 S Orange Ave, South Orange, NJ, 07079-2697 or are the educational establishment of Shonda Rhimes?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" .  { ?e <located_at_street_address> ?pv . ?pv <pred:value> "400 S Orange Ave, South Orange, NJ, 07079-2697" .  } UNION { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Shonda Rhimes" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: located at street address
400 S Orange Ave, South Orange, NJ, 07079-2697
function: FilterConcept
dependencies: 1
inputs: higher education institution
function: Find
inputs: Shonda Rhimes
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: Or
dependencies: 2
5
function: Count
dependencies: 6