[API V2]What is mapping relation between character and event sourceID

[API V2]What is mapping relation between character and event sourceID

I used below graphql query to parse my raid performance. e.g.

query{
  reportData{
    report(code:"rwG81bzxZvg3mDN9"){
      rankings
      events(startTime:14089632,endTime:14920070,fightIDs:[84],dataType:Casts,limit:10000,abilityID:28499){
        nextPageTimestamp
        data
      }
    }
  }
}

There are sourceID from events but it is obviously not mapping to rankings character id.
So how could I find which character cast something according to event sourceId?
How is the event source ID created?

Thanks

Get the masterData for the report.

You can also set useActorIDs to false if you just want to get the detailed actor info without having to fetch the master data.