Question: How many liberal arts colleges in the United States were established after 1850 or have the official website http://www.centre.edu?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college in the United States" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1850 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.centre.edu" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1850
>
function: FilterConcept
dependencies: 1
inputs: liberal arts college in the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.centre.edu
function: FilterConcept
dependencies: 4
inputs: liberal arts college in the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6