Question: What is the number of medals that duke conferred or that have in inception time other than 1731
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medal" .  { ?e <conferred_by> ?e_1 . ?e_1 <pred:name> "duke" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1731 ) .  } }
Program:
function: Find
inputs: duke
function: Relate
dependencies: 0
inputs: conferred by
backward
function: FilterConcept
dependencies: 1
inputs: medal
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1731
!=
function: FilterConcept
dependencies: 4
inputs: medal
function: Or
dependencies: 2
5
function: Count
dependencies: 6