Inference in Location-Based Social Networks