Question: Which television series is observed by Sex and the City (the only whose style is romance film)
Choices:
Barney Miller
Game of Thrones
Happy Together
Robot Chicken
Six Feet Under
American Horror Story
Sex and the City
Saturday Night's Main Event
Dallas
Seinfeld
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Sex and the City
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Sex and the City" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "romance film" .   }
Answer: Sex and the City