Question: How many universities belong to the Catholic Church or are located at 158 Harmon Drive, Northfield, VT, 05663-1035 ?
Choices:
29
30
31
32
33
34
35
36
37
38
Answer: 32
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" .  { ?e <religion> ?e_1 . ?e_1 <pred:name> "Catholic Church" .  } UNION { ?e <located_at_street_address> ?pv . ?pv <pred:value> "158 Harmon Drive, Northfield, VT, 05663-1035" .  } }
Program:
function: Find
inputs: Catholic Church
function: Relate
dependencies: 0
inputs: religion
backward
function: FilterConcept
dependencies: 1
inputs: university
function: FindAll
function: FilterStr
dependencies: 3
inputs: located at street address
158 Harmon Drive, Northfield, VT, 05663-1035
function: FilterConcept
dependencies: 4
inputs: university
function: Or
dependencies: 2
5
function: Count
dependencies: 6