Place beans, olives, capers, and garlic in the bowl of a food processor. Process until almost smooth.
Gradually pour olive oil through feed tube.
Add lemon juice and season to taste with salt and pepper.
Pulse a few times to combine.