Question: How many American football positions are the position of Art Carney (whose date of birth is 1900-09-23) or the position of Chris Martin (a Chicago Bears member)?
Choices: 0
1
2
3
4
5
6
7
8
9
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> "Art Carney" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1900-09-23"^^xsd:date .  } UNION { ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> "Chris Martin" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Chicago Bears" .  } }
Program:
function: Find
inputs: Art Carney
function: FilterDate
dependencies: 0
inputs: date of birth
1900-09-23
=
function: Relate
dependencies: 1
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 2
inputs: American football position
function: Find
inputs: Chicago Bears
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Chris Martin
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 8
inputs: American football position
function: Or
dependencies: 3
9
function: Count
dependencies: 10
Answer: 2