Question: What's the relationship between Steven Wright (Twitter username StevenWright) to writer?
Choices:
domain of saint or deity
member of
game mode
occupation
political ideology
located in or next to body of water
capital
statistical leader
illustrator
source of income
Program:
function: Find
inputs: Steven Wright
function: FilterStr
dependencies: 0
inputs: Twitter username
StevenWright
function: Find
inputs: writer
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Steven Wright" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "StevenWright" . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Answer: occupation