All scripts related to wikibase or wikidata.
Property-statements.py and wd-stats.py are using the wikidata api.
wd-watchlist.php is connecting to the (local) database
obsolete-propertiy.py needs a dump of Wikidata, which can be found here: http://dumps.wikimedia.org/other/wikidata/