Question: What is the relationship between Dallas (the one whose official website is http://www.tnt.tv/series/dallas/) and soap opera?
Choices: quotes work
occupation
located on terrain feature
ethnic group
start point
military rank
derivative work
ancestral home
stated in
genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dallas" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.tnt.tv/series/dallas/" . ?e_2 <pred:name> "soap opera" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dallas
function: FilterStr
dependencies: 0
inputs: official website
http://www.tnt.tv/series/dallas/
function: Find
inputs: soap opera
function: QueryRelation
dependencies: 1
2
Answer: genre