Question: How many colleges are affiliated with the religion of the United Methodist Church or are officially named Northfield College?
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> "college" .  { ?e <religion> ?e_1 . ?e_1 <pred:name> "United Methodist Church" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "Northfield College" .  } }
Program:
function: Find
inputs: United Methodist Church
function: Relate
dependencies: 0
inputs: religion
backward
function: FilterConcept
dependencies: 1
inputs: college
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Northfield College
function: FilterConcept
dependencies: 4
inputs: college
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2