Question: What is the number of law schools that have the official website http://www.albanylaw.edu or employ David Kaye, whose Twitter username is davidakaye?
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> "law school" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.albanylaw.edu" .  } UNION { ?e_1 <employer> ?e . ?e_1 <pred:name> "David Kaye" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "davidakaye" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.albanylaw.edu
function: FilterConcept
dependencies: 1
inputs: law school
function: Find
inputs: David Kaye
function: FilterStr
dependencies: 3
inputs: Twitter username
davidakaye
function: Relate
dependencies: 4
inputs: employer
forward
function: FilterConcept
dependencies: 5
inputs: law school
function: Or
dependencies: 2
6
function: Count
dependencies: 7