Question: What are the number of awards that are the next lower rank of silver medal or whose inception time is after 1998 ?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award" .  { ?e_1 <next_higher_rank> ?e . ?e_1 <pred:name> "silver medal" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1998 ) .  } }
Program:
function: Find
inputs: silver medal
function: Relate
dependencies: 0
inputs: next higher rank
forward
function: FilterConcept
dependencies: 1
inputs: award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1998
>
function: FilterConcept
dependencies: 4
inputs: award
function: Or
dependencies: 2
5
function: Count
dependencies: 6