Question: How many private schools have the official website www.hks.harvard.edu or have a founding year besides 1611?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private school" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.hks.harvard.edu" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1611 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.hks.harvard.edu
function: FilterConcept
dependencies: 1
inputs: private school
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1611
!=
function: FilterConcept
dependencies: 4
inputs: private school
function: Or
dependencies: 2
5
function: Count
dependencies: 6