Resource-based communities