Question: What is the Twitter username of the basketball team which drafted John Williams (the one that is drafted by Cleveland Cavaliers)?
Choices:
Vondie_Curtis_H
cavs
MerylStreepPage
astralwerks
IAMQUEENLATIFAH
LACity
thelewisblack
benjaminmadden
MarkSalling
Mattel
Answer: cavs
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> "John Williams" . ?e_1 <drafted_by> ?e_2 . ?e_2 <pred:name> "Cleveland Cavaliers" .  ?e <Twitter_username> ?pv .  }
Program:
function: Find
inputs: Cleveland Cavaliers
function: Relate
dependencies: 0
inputs: drafted by
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: drafted by
forward
function: FilterConcept
dependencies: 4
inputs: basketball team
function: QueryAttr
dependencies: 5
inputs: Twitter username