APPENDICES

Table S1. ΔAICc for each statistical model in relation to the best fit model (ΔAICc=0). The statistical models consider nectar presence, pollinator size and plant growth form as explanatory variables and the proportion of time that ants spent on the treatment side of the Petri dish as dependent variable. For each statistical model we applied three evolutionary models -- Brownian, Pagel and Ornstein-Uhlenbeck. The three most parsimonious models are marked with bold.

Model description / Evolutionary Model / ΔAICc
Gr
owth form / Pagel / 0
Nectar + Growth form / Pagel / 0.2
Bee size / Pagel / 5.23
Bee size / Ornstein-Uhlenbeck / 9.47
Nectar / Pagel / 12.23
Nectar + Bee size / Pagel / 12.68
Nectar + Bee size / Ornstein-Uhlenbeck / 12.96
Nectar + Bee size / Brownian / 14.93
Bee size / Brownian / 15.38
Nectar / Brownian / 15.62
Nectar + Bee size + Nectar x Bee size / Ornstein-Uhlenbeck / 15.74
Nectar + Bee size + Nectar x Bee size / Pagel / 16.37
Nectar + Bee size + Nectar x Bee size / Brownian / 16.79
Nectar + Bee size + Nectar x Bee size / Brownian / 16.79
Bee size + Growth form / Pagel / 20.36
Bee size + Growth form / Ornstein-Uhlenbeck / 20.84
Nectar + Bee size + Growth form / Pagel / 24.84
Nectar + Bee size + Growth form / Ornstein-Uhlenbeck / 24.97
Growth form / Brownian / 25.51
Bee size + Growth form / Brownian / 25.68
Nectar + Growth form / Brownian / 25.87
Growth form / Ornstein-Uhlenbeck / 27.35
Nectar + Growth form / Brownian / 27.44
Nectar + Growth form / Ornstein-Uhlenbeck / 27.47
Nectar + Bee size + Growth form + Nectar x Bee size / Pagel / 29.34
Nectar + Bee size + Growth form + Nectar x Bee size / Ornstein-Uhlenbeck / 29.34
Nectar + Bee size + Growth form + Nectar x Bee size / Brownian / 31.02

Table S2

Observations of weaver ants on plants in bloom. The table indicates whether plants produce ant repellents, whether ants patrolled plants and flowers, the flowers visitors we observed and the reaction of ants towards flower visitors. In the flower visitors and ant response columns, cells are left empty when we observed neither flower visitors nor ants at flowers respectively. In the response column NBV indicates that bees did not visit ant-habouring flowers (although they visited flowers of the same plant)

Species / Repellentpresence / Antsonplants / Ants at flowers / Flowervisitors / Ant response
Thunbergia grandiflora Robx. / No / Yes / Yes / Xylocopasp. / NBV
AmalocalixyunnanesisPierre / No / No / No / Xylocopasp.
Calotropis gigantea (L.) W.T. Anton / No / Yes / Yes
Bauhiniaacuminata L. / No / Yes / Yes / Xylocopasp / Attacks
Bauhinia purpurea L. / No / Yes / Yes
Cassiaauriculata(L.) Roxb. / No / Yes / Yes / Xylocopasp. / Attacks
Cassia fistula L. / No / Yes / Yes / Xylocopasp.
Apis cerana / Attacks
Ipomoea pes-caprae(L.) R. Br. / No / No / No
CostusspeciosusKoen ex. Retsz. / No / Yes / Yes / Xylocopasp / Drinking nectar from floral bracks
DilleniaovataWall ex Hook. f. & Thomson / No / Yes / Yes / Xylocopasp / NBV
Dilleniasuffruticosa(Griff ex Hook. f. & Thomson) Martelli / No / Yes / Yes / Xylocopa sp., Apis cerana, small flies. / Attacks
Mallotusjaponicus (L.f.) Müll. Arg. / Yes / Yes / No / Apis cerana, Apis florea
Dalbergiasp / Yes / Yes / No / Apis cerana, Apis florea
Castanopsis indica (Roxb.) A. DC. / Yes / Yes / No / Trigona sp. / Attacks (frombranches)
CratoxylonconchinchinesisBl. / Yes / No / No
Litseasp. / Yes / Yes / No / Apis cerana, Apis florea
Lagerstroemiaspeciosa(L.) Pers. / No / Yes / Yes / Apis cerana, Xylocopasp. / NBV
MicrocospaniculataL. / Yes / Yes / No / Apis cerana
MelastomamalabathricumL. / No (attraction) / Yes / Yes / Nomiastrigata, Xylocopasp.,Amegillasp. / Attacks and capture
Mimosa pudicaL. / Yes / No / No / Trigona sp.
ArdisiaellipticaThunb. / No / No / No / Halictidbees
Syzygium cumini(L.) Skeels / Yes / Yes / No / Trigona sp. Apis sp. / Captures (frombranches)
Syzygium jambos (L.) Alston / Yes / Yes / No / Apis cerana
Averrhoa carambola L. / Yes / No / No / Trigona sp
Passiflora edulisSims / Yes / No / No / Xylocopasp.
PiperumbellatumL. / Yes / Yes / No / Apis cerana, Apis florea
Pittosporum tobira(Thunb.) W. T. Aiton / Yes / Yes / No / Apis cerana
Chassaliacurviflora(Wallich) Thwaites / No / No / No
Murrayapaniculata(L.) Jack / Yes / Yes / No / Apis cerana
ChrysophyllumcainitoL. / Yes / No / No
Solanum trilobatum L. / No / Yes / Yes / Xylocopasp. / Attacks
GmelinaasiaticaL. / No / Yes / Yes / Xylocopasp. / NBV

1