A Spark extension for Resource Description Framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
.gitignore
README.md
pom.xml

README.md

SparkRDF

A Spark extension for Resource Description Framework

Docs: https://raulrc.github.io/sparkrdf/#org.uclm.alarcos.rrc.io.ReaderRDF

Examples:

Load a graph from input file: /tmp/data/*.nt

 val graph = loadGraph(sparkSession, inputFile)

Expand graph in 4 levels:

val step = MockedTripleReader
val graph = step.loadGraph(spark, inputFile)
val depth = 4
val result = step.expandNodesNLevel(graph.vertices, graph, depth)

Future Work