On 03.08.2016 02:51, Stas Malyshev wrote:
Hi!
Is there a way we could have more than just the number of language links? Eg number of incoming links from other wikipedia pages?
If we implement T129046 we can have any page props we want to :) Of course, adding them for the whole DB would require new dump and either data reload or some manual work... which can be solved too with some effort. I wonder if Wikidata Toolkit has tools to do filtering like this (i.e. "get me specific triple from all entities in this dump"). If not, it probably should have ;)
Are you asking if WDTK can make RDF exports that contain only some parts of the RDF data? Yes, this is possible. We did not put too much effort in the RDF export though since WMF has reimplemented this anyway. Probably would need some de-dusting.
If you were asking about triple filtering on RDF data that you already have (not "filtered generation" of new RDF), then this is not something that WDTK aims at (since WDTK does not read RDF data in the first place). However, you can often achieve this with grep if the RDF data is in ntriples format.
Markus