Question: What activity has Merchant Category Code 7311 and is a part of marketing?
Choices:
Battleship
rape
journalism
2008 Tour de France
Harry Potter and the Half-Blood Prince
Dark Horse Comics
advertising
Batman
music video game
kidnapping
Answer: advertising
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <Merchant_Category_Code> ?pv . ?pv <pred:value> "7311" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "marketing" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Merchant Category Code
7311
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: marketing
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: activity
function: And
dependencies: 2
5
function: What
dependencies: 6