Class

net.sansa_stack.inference.spark.utils

RDFSSchemaExtractor

Related Doc: package utils

Permalink

class RDFSSchemaExtractor extends Logging

An extractor of the schema for RDFS.

Currently, it's supports the extraction of triples (s,p,o) with p being

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RDFSSchemaExtractor
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RDFSSchemaExtractor(session: SparkSession)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def debug(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  7. def debug(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  8. def debug(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  12. def error(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  13. def error(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  14. def extract(graph: RDFGraphDataFrame): Map[String, DataFrame]

    Permalink

    Computes the s-o pairs for each schema property p, e.g.

    Computes the s-o pairs for each schema property p, e.g. rdfs:subClassOf and returns it as mapping from p to the Dataframe containing s and o.

    graph

    the RDF graph

    returns

    a mapping from the corresponding schema property to the Dataframe of s-o pairs

  15. def extract(graph: RDFGraphNative): Map[String, RDD[(String, String)]]

    Permalink

    Computes the s-o pairs for each schema property p, e.g.

    Computes the s-o pairs for each schema property p, e.g. rdfs:subClassOf and returns it as mapping from p to the RDD of s-o pairs.

    graph

    the RDF graph

    returns

    a mapping from the corresponding schema property to the RDD of s-o pairs

  16. def extractAndDistribute(graph: RDFGraphNative): Map[String, Broadcast[Map[String, Set[String]]]]

    Permalink

    Computes the s-o pairs for each schema property, e.g.

    Computes the s-o pairs for each schema property, e.g. rdfs:subClassOf and distributes it to all worker nodes via broadcast.

    graph

    the RDF graph

    returns

    a mapping from the corresponding schema property to the broadcast variable that wraps the multimap with s-o pairs

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def info(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  21. def info(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  22. def info(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. lazy val log: Logger

    Permalink
    Definition Classes
    Logging
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. val properties: List[String]

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def trace(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  32. def trace(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  33. def trace(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def warn(msg: ⇒ String, o: Any, os: Any*): Unit

    Permalink
    Definition Classes
    Logging
  38. def warn(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  39. def warn(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped