Question: How many baseball teams use padres as their Instagram username or participated in 2007 MLB season ?
Choices:
29
30
31
32
33
34
35
36
37
38
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
padres
function: FilterConcept
dependencies: 1
inputs: baseball team
function: Find
inputs: 2007 Major League Baseball season
function: Relate
dependencies: 3
inputs: participant
forward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" .  { ?e <Instagram_username> ?pv . ?pv <pred:value> "padres" .  } UNION { ?e_1 <participant> ?e . ?e_1 <pred:name> "2007 Major League Baseball season" .  } }
Answer: 30