Made my day ...

StackOverflow is already disallowing ChatGPT comments ...


there are of course tools for graph measures beyond Jena, e.g. you could use Python rdflib which allows for converting the graph to a  networkx graph which in fact is a standard API for network analytics.

Or you use Apache Jena, convert the Jena model to a JGraphT directed pseudo graph [1] and use  JGraphT methods resp. its extensions

[1] https://jgrapht.org/javadoc/org.jgrapht.core/org/jgrapht/graph/DirectedPseudograph.html

On 11.12.22 19:43, emri mbiemri wrote:
The ChatGPT suggested using these kinds of solutions for getting some of
the above-mentioned graph metrics.
Anyway, is there any other tool that calculated some graph metrics on RDF
graphs?

On Sun, Dec 11, 2022 at 8:13 PM Andy Seaborne <a...@apache.org> wrote:


On 11/12/2022 13:15, emri mbiemri wrote:
ok, thanks, but is there any function within Apache Jena that calculates
the graph metrics such as centrality, density, and clustering
coefficient?

No.

What led you to thinking there was?

         Andy

Reply via email to