Question: What is the relationship between Lemony Snicket's A Series of Unfortunate Events (the one that was nominated for Academy Award for Best Makeup and Hairstyling) and California (the one that is the filming location of American Horror Story)?
Choices:
work location
voice type
maintained by
source of income
found
country
currency
filming location
tributary
officially opened by
Program:
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Lemony Snicket's A Series of Unfortunate Events
function: And
dependencies: 1
2
function: Find
inputs: American Horror Story
function: Relate
dependencies: 4
inputs: filming location
forward
function: Find
inputs: California
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lemony Snicket's A Series of Unfortunate Events" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Makeup and Hairstyling" . ?e_2 <pred:name> "California" . ?e_4 <filming_location> ?e_2 . ?e_4 <pred:name> "American Horror Story" . ?e_1 ?p ?e_2 .  }
Answer: filming location