Question: How many cemeteries were first recorded in writing pre-1939 or have the official website www.arlingtoncemetery.mil?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "cemetery" .  { ?e <time_of_earliest_written_record> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1939 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.arlingtoncemetery.mil/" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: time of earliest written record
1939
<
function: FilterConcept
dependencies: 1
inputs: cemetery
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.arlingtoncemetery.mil/
function: FilterConcept
dependencies: 4
inputs: cemetery
function: Or
dependencies: 2
5
function: Count
dependencies: 6