Random Walk generation in a RDF graph. It produces paths inside the graph (aka random walks) for each RDF resource. The <numWalks>
parameter stands for how many random walks will be generated starting from each resource and the <depth>
parameter is the length of each random walk. Each random walk starts and ends on a RDF resource, but relationships are included in between.
-
Clone this repo:
git clone https://github.com/chrisPiemonte/TripWalk.git
cd TripWalk/
-
Run:
sbt assembly
-
Run da jar:
java -cp target/scala-2.11/TripWalk.jar Embed
<RDF file>
<depth>
<numWalks>