Question: Which administrative territorial entity is the release region of Life of Pi (the one whose Twitter username is LifeofPiMovie) and whose demonym is Puerto Rican)?
Choices:
Lee County
Orange County
African Union
Delaware County
United States Virgin Islands
Greene County
Washoe County
Puerto Rico
San Juan County
Cass County
Answer: Puerto Rico
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> "Life of Pi" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "LifeofPiMovie" .  ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Puerto Rican" .  }
Program:
function: Find
inputs: Life of Pi
function: FilterStr
dependencies: 0
inputs: Twitter username
LifeofPiMovie
function: Relate
dependencies: 1
inputs: film release region
forward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: FindAll
function: FilterStr
dependencies: 4
inputs: demonym
Puerto Rican
function: FilterConcept
dependencies: 5
inputs: administrative territorial entity
function: And
dependencies: 3
6
function: What
dependencies: 7