Question: What is the property called Shanghai that is in the romance film genre?
Choices:
Independence Day
Ghost
Talk to Her
Titanic
Rebecca
American Beauty
Jane Eyre
Tyrannosaur
Pleasantville
Shanghai
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Shanghai
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: romance film
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv . ?pv <pred:value> "Shanghai" . ?e <genre> ?e_1 . ?e_1 <pred:name> "romance film" .  }
Answer: Shanghai