Hypergraphdb weighted rdf property

133 views Asked by At

I came across hypergraphdb, it seems interesting. But How to represent weighted rdf property and higher order relationships in hypergraphdb?

1

There are 1 answers

0
sarah.ferguson On

You can add values to relations with the HGValueLink method:

HGHandle relationLink = hyperGraph.add(new HGValueLink("my-string-identifier", startHandle, endHandle));

"my-string-value" is a String object but you could add an Integer or any other object to the relation.