Question: How many media franchise is based on Peter Pan (the one whose production company is The Walt Disney Company) having twitter username as DB30th?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "media franchise" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Peter Pan" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> "The Walt Disney Company" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "DB30th" .  }
Program:
function: Find
inputs: The Walt Disney Company
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Peter Pan
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: media franchise
function: FindAll
function: FilterStr
dependencies: 6
inputs: Twitter username
DB30th
function: FilterConcept
dependencies: 7
inputs: media franchise
function: And
dependencies: 5
8
function: Count
dependencies: 9