This study investigates the effect of pH on the water quality of King Talal Dam (KTD) in Jordan, utilizing data mining analysis. With treated wastewater use becoming increasingly reliant and the region facing water scarcity, pH dynamics are crucial for sustainable water resource management. A five-year record (2018–2022) of physical, chemical, and biological parameters was analyzed at four strategic sampling stations along the dam system. The study employed supervised machine learning models like XGBoost, Random Forest, and Support Vector Regressor (SVR) for predicting pH fluctuation and identifying the parameters with an influence. Results indicated that bicarbonate (HCO3−), ammonium nitrogen (NH4+-N), nitrite (NO2−-N), total suspended solids (TSS), and calcium (Ca2+) significantly influence pH. XGBoost delivered the highest predictive capability among models (R2 = 0.92). The outcomes highlight the complex interlinkages between pH and other water quality parameters, noting the potential of data mining toward enhancing proactive environmental monitoring. The study recommends integrating such predictive models into national water management policy to improve the precision for monitoring and decision-making in arid ecosystems.
Thapsia garganica L. is a medicinal plant widely used in North African traditional medicine, yet the phytochemical composition and antioxidant potential of its roots remain poorly characterized. This study investigated the phytochemical profile and antioxidant activity of wild T. garganica roots collected from western Algeria. Methanolic and n-hexane extracts were prepared for phytochemical characterization, while the crude methanolic extract and its flavonoid and alkaloid fractions were evaluated for antioxidant activity. Antioxidant activity of the crude methanolic root extract and the isolated flavonoid and alkaloid fractions were evaluated using the 2,2-diphenyl-1-picrylhydrazyl (DPPH) radical-scavenging assay, complemented by kinetic analysis of radical scavenging. Phytochemical characterization was performed using GC–MS and LC–MS/MS. The crude methanolic extract exhibited the strongest DPPH radical-scavenging response among the tested samples, showing a concentration-dependent increase in radical-scavenging activity and time-dependent DPPH radical-scavenging kinetics, with an initial rapid phase followed by a slower reaction. LC–MS/MS identified ferulic acid (90.2 µg/mg), vanillic acid (9.26 µg/mg), and caffeic acid (2.49 µg/mg) as the major quantified phenolic compounds, while GC–MS revealed a diverse chemical profile comprising fatty acid-related, sterol-related, terpenoid-related, and phenolic-related constituents. Overall, these findings demonstrate promising in vitro DPPH radical-scavenging activity of the crude methanolic root extract and reveal a diverse metabolite profile, providing a basis for further investigation of its phytochemical composition and biological properties.