Question: How many estates in land are involved in the Second Boer War conflict or have an inception time not in 1776?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "estate in land" .  { ?e <conflict> ?e_1 . ?e_1 <pred:name> "Second Boer War" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1776 ) .  } }
Program:
function: Find
inputs: Second Boer War
function: Relate
dependencies: 0
inputs: conflict
backward
function: FilterConcept
dependencies: 1
inputs: estate in land
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1776
!=
function: FilterConcept
dependencies: 4
inputs: estate in land
function: Or
dependencies: 2
5
function: Count
dependencies: 6