Question: How many baseball teams are there with the name Washington Nationals, or with had Craig Robinson, a baseball player, as a member?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Washington Nationals
function: FilterConcept
dependencies: 1
inputs: baseball team
function: Find
inputs: baseball
function: Relate
dependencies: 3
inputs: sport
backward
function: Find
inputs: Craig Robinson
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: member of sports team
forward
function: FilterConcept
dependencies: 7
inputs: baseball team
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" .  { ?e <official_name> ?pv . ?pv <pred:value> "Washington Nationals" .  } UNION { ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Craig Robinson" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> "baseball" .  } }
Answer: 4