Question: Tell me the number of private schools with the official website http://www.charterhouse.org.uk/ or that is a part of Harvard University
Choices: 0
1
2
3
4
5
6
7
8
9
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.charterhouse.org.uk/" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "Harvard University" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.charterhouse.org.uk/
function: FilterConcept
dependencies: 1
inputs: private school
function: Find
inputs: Harvard University
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: private school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2