Question: How many player positions in American football are abbreviated as DE or are shared by John Williams of the Calgary Stampeders?
Choices: 1
2
3
4
5
6
7
8
9
10
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> "John Williams" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Calgary Stampeders" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
DE
function: FilterConcept
dependencies: 1
inputs: American football position
function: Find
inputs: Calgary Stampeders
function: Relate
dependencies: 3
inputs: member of sports team
backward
function: Find
inputs: John Williams
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 7
inputs: American football position
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2