Question: Is astros the Twitter username of the baseball team that has a member named Gary Cooper (who is a teammate of the Houston Astros)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Gary Cooper" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Houston Astros" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "astros" .  }
Program:
function: Find
inputs: Houston Astros
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Gary Cooper
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: QueryAttr
dependencies: 5
inputs: Twitter username
function: VerifyStr
dependencies: 6
inputs: astros