Skip to content

RaulRC/sparkrdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Spark extension for Resource Description Framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages