Question: Is sfgiants the Instagram username for the baseball team that has a member named Brian Wilson (whose birth name is Brian Patrick Wilson)?
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> "Brian Wilson" . ?e_1 <birth_name> ?pv_1 . ?pv_1 <pred:value> "Brian Patrick Wilson" . ?e <Instagram_username> ?pv . ?pv <pred:value> "sfgiants" .  }
Program:
function: Find
inputs: Brian Wilson
function: FilterStr
dependencies: 0
inputs: birth name
Brian Patrick Wilson
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: FilterConcept
dependencies: 2
inputs: baseball team
function: QueryAttr
dependencies: 3
inputs: Instagram username
function: VerifyStr
dependencies: 4
inputs: sfgiants