The latest headlines from our reporters across the US sent straight to your inbox each weekday
Your briefing on the latest headlines from across the US
The top Google search in California in the week following the San Bernardino massacre with the word "Muslims" in it was "kill Muslims".
When anti-Muslim sentiment is at its highest, for example during the controversy over the "ground zero mosque" in 2010 or around the anniversary of 9/11, hate crimes tend to also be at their highest.
According to an analysis by the New York Times of weekly data from 2004 to 2013, there is a direct correlation between anti-Muslim searches and anti-Muslim hate crimes.
While Google searches suffer from selection bias because they are not a random sample, the restriction may actualy help search data predict hate crimes.
They represent what people wonder about for long enough to ask a question and read the answers.
In pictures: San Bernardino shooting
Show all 15
Susan Flake, a social psychologist at Princeton University, explained how the searches could predict future hate crimes.
"If someone is willing to say ‘I hate them’ or ‘they disgust me,'" she said, "we know that those emotions are as good a predictor of behavior as actual intent.
Join our commenting forum
Join thought-provoking conversations, follow other Independent readers and see their replies