Question: Who is the person with Instagram username katieholmes212 and was married to Tom Cruise until 2012?
Choices:
Rahul Dev Burman
Sylvester Stallone
Richard Gere
Paul Simon
William Henry Harrison
Babyface
Simon Cowell
Katie Holmes
Max Fleischer
James E. Reilly
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
katieholmes212
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Tom Cruise
function: Relate
dependencies: 3
inputs: spouse
backward
function: QFilterYear
dependencies: 4
inputs: end time
2012
=
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <Instagram_username> ?pv . ?pv <pred:value> "katieholmes212" . ?e <spouse> ?e_1 . ?e_1 <pred:name> "Tom Cruise" . [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2012 .  }
Answer: Katie Holmes