Question: How many law schools are the alma mater of Robert F. Kennedy or are represented online at www.law.berkeley.edu?
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> "law school" .  { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Robert F. Kennedy" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.law.berkeley.edu/" .  } }
Program:
function: Find
inputs: Robert F. Kennedy
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: law school
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.law.berkeley.edu/
function: FilterConcept
dependencies: 4
inputs: law school
function: Or
dependencies: 2
5
function: Count
dependencies: 6