Question: How many real properties are in the country United Kingdom and have an inception time that is not in 1931?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "real property" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1931 ) .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: real property
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1931
!=
function: FilterConcept
dependencies: 4
inputs: real property
function: And
dependencies: 2
5
function: Count
dependencies: 6