Question: How many American-football positions are related to the sport of American football or have the short name QR?
Choices: 9
10
11
12
13
14
15
16
17
18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football position" .  { ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> "QR" .  } }
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: American football position
function: FindAll
function: FilterStr
dependencies: 3
inputs: short name
QR
function: FilterConcept
dependencies: 4
inputs: American football position
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 15