Question: The baseball position of Pittsburgh Pirate Mark Johnson or of Hal Smith (birthdate 1930-12-07)  accounts for how many baseball positions?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Pittsburgh Pirates
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Mark Johnson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 4
inputs: baseball position
function: Find
inputs: Hal Smith
function: FilterDate
dependencies: 6
inputs: date of birth
1930-12-07
=
function: Relate
dependencies: 7
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 8
inputs: baseball position
function: Or
dependencies: 5
9
function: Count
dependencies: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball position" .  { ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> "Mark Johnson" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Pittsburgh Pirates" .  } UNION { ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> "Hal Smith" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1930-12-07"^^xsd:date .  } }
Answer: 2