Question: How is Elizabeth Taylor (with the Twitter username of ElizabethTaylor) related to Republican Party?
Choices:
copyright holder
said to be the same as
color
art director
shares border with
characters
has parts of the class
member of political party
license
studied by
Program:
function: Find
inputs: Elizabeth Taylor
function: FilterStr
dependencies: 0
inputs: Twitter username
ElizabethTaylor
function: Find
inputs: Republican Party
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Elizabeth Taylor" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "ElizabethTaylor" . ?e_2 <pred:name> "Republican Party" . ?e_1 ?p ?e_2 .  }
Answer: member of political party