Question: How many colleges and universities are there in the United States which recieved the Peabody Award or that have a headquarters in Baton Rouge?
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> "colleges and universities in the United States" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Peabody Award" .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Baton Rouge" .  } }
Program:
function: Find
inputs: Peabody Award
function: Relate
dependencies: 0
inputs: award received
backward
function: FilterConcept
dependencies: 1
inputs: colleges and universities in the United States
function: Find
inputs: Baton Rouge
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: colleges and universities in the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6