Class

net.sansa_stack.inference.spark.utils

RDFSSchemaExtractor

Related Doc: package utils

Permalink

class RDFSSchemaExtractor extends Logging with Serializable

An extractor of the schema for RDFS.

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

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

Instance Constructors

  1. new RDFSSchemaExtractor()

    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(triples: RDD[RDFTriple]): RDD[RDFTriple]

    Permalink

    Extracts the schema triples from the given triples.

    Extracts the schema triples from the given triples.

    triples

    the triples

    returns

    the schema triples

  15. def extract(graph: RDFGraph): RDFGraph

    Permalink

    Extracts the RDF graph containing only the schema triples from the RDF graph.

    Extracts the RDF graph containing only the schema triples from the RDF graph.

    graph

    the RDF graph

    returns

    the RDF graph containing only the schema triples

  16. def extractWithIndex(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

  17. def extractWithIndex(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

  18. def extractWithIndexAndDistribute(sc: SparkContext, 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

  19. def finalize(): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  26. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. var log_: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. val properties: Set[String]

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped