Question: How many American football positions are the position of Chris Brown (whose height is 72 inches) or are related to the sport of American football?
Choices: 6
7
8
9
10
11
12
13
14
15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football position" .  { ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> "Chris Brown" . ?e_1 <height> ?pv . ?pv <pred:unit> "inch" . ?pv <pred:value> "72"^^xsd:double .  } UNION { ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .  } }
Program:
function: Find
inputs: Chris Brown
function: FilterNum
dependencies: 0
inputs: height
72 inch
=
function: Relate
dependencies: 1
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 2
inputs: American football position
function: Find
inputs: American football
function: Relate
dependencies: 4
inputs: sport
backward
function: FilterConcept
dependencies: 5
inputs: American football position
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 15