Fetching details from the dictionary...

to be due to; to be caused by
to depend on; to turn on
to be based on; to come from
to be based at (a location, an organization); to be headquartered at
専門家によるとこの薬は安全だ。
According to experts, this medicine is safe.
答えは考え方によると思う。
I think the answer depends on how you look at it.
天気によるけど出かけたいな。
Depending on the weather, I'd like to go out.