Closed krabina closed 4 months ago
This is quite different from showing connections between pages. There is little similarity between that in both cases a network is used for visualization. Which suggests that while both the page connection and SMW cases could use the same network visualization library (visjs), using the same code (JS, PHP & parser function) in this extension is not possible without making a mess. In other words, I strongly expect creating a new parser function (or similar) with its own implementation is the way to go. And that could just as well be in its own extension.
I agree that, if implemented, this should be a separate graph capability. Network graphs can quickly become overwhelmingly complex to read, so we should resist the urge to add different types of information to the same graph. Also, in order to get the property name for edges, a completely different implementation would be necessary, because links generated from Semantic MediaWiki query results currently come from the links table, where no such annotation exists. (Also note that links in Cargo query resullts don't get entered into the links tables at all.) That being said, I do think that visualizing semantic information in a separate graph could be useful.
I always like the approach of making use of semantics when SMW is present and as now we have tow unmaintained network-extensios (Viki and SMW Graph), I think this extension is the ideal place to start this. Anyway, this is just a feature request and I am happy to discuss this in more detail.
I am closing this, since we are working on https://www.mediawiki.org/w/index.php?title=Extension:KnowledgeGraph
As a new feature, it would be great to add more semantic capabilities to the network extension.
Currenly, "only" links from one page to others are shown. There are several ways, how this can be improved.