On 11/12/2022 11:53, emri mbiemri wrote:
Hi Andy, thanks for the reply!

What about the GraphUtil.density() function, any idea why it is not
recognized?

because it is not in the Jena codebase (nor has it ever been in the codebase).

https://github.com/apache/jena/blob/main/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java

Why do you think it would be there?

Concerning the RDF4J I think it includes all the relevant
apache jena jars.

I would very surprised if it did.

You can check:
https://github.com/eclipse/rdf4j/

    Andy


On Sun, Dec 11, 2022 at 12:31 PM Andy Seaborne <[email protected]> wrote:



On 11/12/2022 10:17, emri mbiemri wrote:
Dear community, I am trying to get some graph metrics using Apache
Jena's GraphUtil. But  some functions like "density" of GraphUtil cannot
be
recognized, or the package org.apache.jena.graph.Centrality cannot be
resolved.

There is no org.apache.jena.graph.Centrality

I am using Eclipse, my apache jena version is 3.14.0 within the
rdf4j depencey:
   <groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-storage</artifactId>
<version>3.5.0</version>

Different tool kit!

org.eclipse.rdf4j artifacts come from the Eclipse Foundation project RDF4J

https://rdf4j.org/

(This is not related to whether you use the Eclipse IDE)


Any idea why some of the artifacts cannot be found?


      Andy


Reply via email to