The attack seemed similar to others staged near foreign compounds in Riyadh on May 12 .