Returns a dataset of rows expanded by the number of levels given
Returns a dataset of rows expanded by the number of levels given
VertexRDD of Nodes which are a subset of the Graph Nodes
Spark GraphX of Nodes
Number of levels to expand
Dataset of Rows of expanded levels
Returns a VertexRDD of Nodes linked by the given property
Returns a VertexRDD of Nodes linked by the given property
Spark GraphX of Nodes
String of the property given
VertexRDD of Nodes linked by the given property
Main method for load the graph from a path
Main method for load the graph from a path
Spark session
Path of the NT files to read. Could be a local, HDFS, S3 path
Spark GraphX of Nodes
Returns all the distinct objects in the file (but not the subjects or predicates)
Returns all the distinct objects in the file (but not the subjects or predicates)
Spark session
Path of the NT files to read. Could be a local, HDFS, S3 path
RDD of Nodes which are objects in the files
Returns all the distinct predicates in the file
Returns all the distinct predicates in the file
Spark session
Path of the NT files to read. Could be a local, HDFS, S3 path
RDD of Nodes which are predicates in the files
Returns all the subjects in the file (but not the objects or predicates)
Returns all the subjects in the file (but not the objects or predicates)
Spark session
Path of the NT files to read. Could be a local, HDFS, S3 path
RDD of Nodes which are subjects in the files
Load the triplets initially
Load the triplets initially
Spark session
Path of the NT files to read. Could be a local, HDFS, S3 path
RDD of Triples {subject, predicate, object}
Prints the current RDD of Triples Warning: this method needs to collect the RDD
Prints the current RDD of Triples Warning: this method needs to collect the RDD