Question: How many colleges have the official website http://www.bard.edu or are the narrative location of The Social Network?
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 <official_website> ?pv . ?pv <pred:value> "http://www.bard.edu" .  } UNION { ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Social Network" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.bard.edu
function: FilterConcept
dependencies: 1
inputs: college
function: Find
inputs: The Social Network
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: college
function: Or
dependencies: 2
5
function: Count
dependencies: 6