Question: How many media franchises have a story setting of New York City or Instagram username startrek?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "media franchise" .  { ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "New York City" .  } UNION { ?e <Instagram_username> ?pv . ?pv <pred:value> "startrek" .  } }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: FilterConcept
dependencies: 1
inputs: media franchise
function: FindAll
function: FilterStr
dependencies: 3
inputs: Instagram username
startrek
function: FilterConcept
dependencies: 4
inputs: media franchise
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2