Question: How many American football positions either were known as DE or were the position of the 75 inch Joe Jackson?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
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> "DE" .  } UNION { ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> "Joe Jackson" . ?e_1 <height> ?pv . ?pv <pred:unit> "inch" . ?pv <pred:value> "75"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
DE
function: FilterConcept
dependencies: 1
inputs: American football position
function: Find
inputs: Joe Jackson
function: FilterNum
dependencies: 3
inputs: height
75 inch
=
function: Relate
dependencies: 4
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 5
inputs: American football position
function: Or
dependencies: 2
6
function: Count
dependencies: 7