Question: Which agency with the Instagram handle usarmy is also Sammy Davis Jr.'s branch of military service?
Choices:
E. W. Scripps Company
McDonald's
Academy of Television Arts & Sciences
United States Army
Hamburger SV
NBCUniversal
Vigor Shipyards
United States Department of the Air Force
BBC
Lockheed Martin
Program:
function: Find
inputs: Sammy Davis Jr.
function: Relate
dependencies: 0
inputs: military branch
forward
function: FilterConcept
dependencies: 1
inputs: agent
function: FindAll
function: FilterStr
dependencies: 3
inputs: Instagram username
usarmy
function: FilterConcept
dependencies: 4
inputs: agent
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e_1 <military_branch> ?e . ?e_1 <pred:name> "Sammy Davis Jr." .  ?e <Instagram_username> ?pv . ?pv <pred:value> "usarmy" .  }
Answer: United States Army