Question: How many estates in land originated in the name of the House of Oldenburg or were founded after 1070?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "estate in land" .  { ?e_1 <named_after> ?e . ?e_1 <pred:name> "House of Oldenburg" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1070 ) .  } }
Program:
function: Find
inputs: House of Oldenburg
function: Relate
dependencies: 0
inputs: named after
forward
function: FilterConcept
dependencies: 1
inputs: estate in land
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1070
>
function: FilterConcept
dependencies: 4
inputs: estate in land
function: Or
dependencies: 2
5
function: Count
dependencies: 6