Question: How many liberal arts colleges in the United States are either part of Morehouse College or have the official website of http://wp.stolaf.edu?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college in the United States" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "Morehouse College" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://wp.stolaf.edu" .  } }
Program:
function: Find
inputs: Morehouse College
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: liberal arts college in the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://wp.stolaf.edu
function: FilterConcept
dependencies: 4
inputs: liberal arts college in the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6