Question: How many baseball team were established pre-1950 or go by Dbacks on Twitter?
Choices:
13
14
15
16
17
18
19
20
21
22
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1950
<
function: FilterConcept
dependencies: 1
inputs: baseball team
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
Dbacks
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 <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1950 ) .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "Dbacks" .  } }
Answer: 21