Question: What is the Twitter username of Mars (the one that has the occupation of photographer)?
Choices:
generalelectric
eddieizzard
mars
jasonsegel
billiejoe
CSDColoColo
FredDurst
UCLAMBB
empireofthesun
thedangelo
Program:
function: Find
inputs: photographer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Mars
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: Twitter username
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Mars" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "photographer" .  ?e <Twitter_username> ?pv .  }
Answer: mars