Question: How many American-style football positions are abbreviated DE or are played by University of New Mexico alumnus John Williams?
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> "John Williams" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "University of New Mexico" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
DE
function: FilterConcept
dependencies: 1
inputs: American football position
function: Find
inputs: University of New Mexico
function: Relate
dependencies: 3
inputs: educated at
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