Both. Much more inclusive, but starting point largely extracts from Wikipedia infoboxes (like DBpedia). Increasingly Wikidata is where Wikimedia projects including Wikipedias pull data from, which allows for more intensive collaboration around data, again, rather than as fallout of things like Wikipedia categories and infoboxes.