Question: What is the relationship between Pan Am, with the official website http://abc.go.com/shows/pan-am, and costume drama?
Choices: based on
is a list of
place of origin (Switzerland)
position played on team / speciality
member of
field of this occupation
musical conductor
genre
military conflicts
office held by head of the organisation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pan Am" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://abc.go.com/shows/pan-am" . ?e_2 <pred:name> "costume drama" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pan Am
function: FilterStr
dependencies: 0
inputs: official website
http://abc.go.com/shows/pan-am
function: Find
inputs: costume drama
function: QueryRelation
dependencies: 1
2
Answer: genre