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