Question: How many medals were created before 1945 or have a native label of Benjamin Franklin Medal?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medal" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1945 ) .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Benjamin Franklin Medal" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1945
<
function: FilterConcept
dependencies: 1
inputs: medal
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Benjamin Franklin Medal
function: FilterConcept
dependencies: 4
inputs: medal
function: Or
dependencies: 2
5
function: Count
dependencies: 6