Question: What Pennsylvania county is the narrative location of Signs (the one whose composer is James Newton Howard) and has an establishment after 1496?
Choices:
Westmoreland County
Allegheny County
Clinton County
York County
Cumberland County
Bucks County
Fayette County
Franklin County
Warren County
Lehigh County
Program:
function: Find
inputs: James Newton Howard
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Signs
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: county of Pennsylvania
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1496
>
function: FilterConcept
dependencies: 7
inputs: county of Pennsylvania
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Signs" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> "James Newton Howard" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1496 ) .  }
Answer: Bucks County