Open maxbbraun opened 7 years ago
Some improvements in https://github.com/maxbbraun/trump2cash/commit/02e66eddc4ea0666e4be1abec302cad7c48f2053, https://github.com/maxbbraun/trump2cash/commit/954f4621a1adf17132cfa8e7ded6dd6813dd2b25, https://github.com/maxbbraun/trump2cash/commit/725c0596773d58158a8b8cdab1b3b7b4a579b500, https://github.com/maxbbraun/trump2cash/commit/14d861fb3dc0e911afd60ae3f5cb48cfed4598f1, and https://github.com/maxbbraun/trump2cash/commit/77c609bfaac8151c7948d26ab0d66bc9ba84787f.
stupid me. For anyone else learning wikidata and the SPARQL system, the freebase requires and ID
https://www.wikidata.org/wiki/Property:P646
https://github.com/maxbbraun/trump2cash/blob/master/analysis.py#L125
The current Wikidata query, for example, takes chains of ownership and subsidiaries into account, but doesn't mix those chains.
There are also probably additional relationships between companies that should be taken into account.