Question: Is the Twitter username of the baseball team with Walter Murphy, the pitcher, RedSox?
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> "Walter Murphy" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> "pitcher" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "RedSox" .  }
Program:
function: Find
inputs: pitcher
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Walter Murphy
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: RedSox