Question: What person has a Twitter username of johnstamos and a sport number of Sub to Pewdiepie?
Choices:
Max Fleischer
Simon Cowell
James E. Reilly
Sylvester Stallone
John Stamos
Babyface
Paul Simon
David Byrne
Rahul Dev Burman
Richard Gere
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
johnstamos
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: sport number
Sub to Pewdiepie
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <Twitter_username> ?pv . ?pv <pred:value> "johnstamos" . ?e <sport_number> ?pv_1 . ?pv_1 <pred:value> "Sub to Pewdiepie" .  }
Answer: John Stamos