Probabilistic Inference In Ecological Networks; Graph Discovery, Community Detection And Modelling Dynamic Sociality