Question: How many private school are there, where the education place of Paul Williams (the one whose date of death is 2008-09-10) or whose headquarter location is College Station?
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_1 <educated_at> ?e . ?e_1 <pred:name> "Paul Williams" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2008-09-10"^^xsd:date .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "College Station" .  } }
Program:
function: Find
inputs: Paul Williams
function: FilterDate
dependencies: 0
inputs: date of death
2008-09-10
=
function: Relate
dependencies: 1
inputs: educated at
forward
function: FilterConcept
dependencies: 2
inputs: private school
function: Find
inputs: College Station
function: Relate
dependencies: 4
inputs: headquarters location
backward
function: FilterConcept
dependencies: 5
inputs: private school
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 1