Object

net.sansa_stack.rdf.spark.stats

RDFStatistics

Related Doc: package stats

Permalink

object RDFStatistics extends Serializable

A Distributed implementation of RDF Statisctics.

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

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. def AvgPerProperty(triples: RDD[Triple]): RDD[(Node, Double)]

    Permalink

    29.

    29. Average value per numeric property {int,float,time} criterion

    triples

    RDD of triples

    returns

    properties with their average values on the graph

  5. def AvgTypedStringLength(triples: RDD[Triple]): Double

    Permalink

    22.

    22. Average typed string length criterion.

    triples

    RDD of triples

    returns

    the average typed string length used throughout the RDF graph.

  6. def AvgUntypedStringLength(triples: RDD[Triple]): Double

    Permalink

    23.

    23. Average untyped string length criterion.

    triples

    RDD of triples

    returns

    the average untyped string length used throughout the RDF graph.

  7. def BlanksAsObject(triples: RDD[Triple]): RDD[Triple]

    Permalink

    19.

    19. Blanks as object criterion

    triples

    RDD of triples

    returns

    number of triples where blanknodes are used as objects.

  8. def BlanksAsSubject(triples: RDD[Triple]): RDD[Triple]

    Permalink

    18.

    18. Blanks as subject criterion

    triples

    RDD of triples

    returns

    number of triples where blanknodes are used as subjects.

  9. def ClassHierarchyDepth(triples: RDD[Triple]): RDD[(Node, Int)]

    Permalink

    4.

    4. Class hierarchy depth criterion

    triples

    RDD of triples

    returns

    the depth of the graph

  10. def Datatypes(triples: RDD[Triple]): RDD[(String, Int)]

    Permalink

    20.

    20. Datatypes criterion

    triples

    RDD of triples

    returns

    histogram of types used for literals.

  11. def EntitiesMentioned(triples: RDD[Triple]): Long

    Permalink

    15.Entities mentioned criterion

    15.Entities mentioned criterion

    triples

    RDD of triples

    returns

    number of entities (resources / IRIs) that are mentioned within a RDF graph.

  12. def LabeledSubjects(triples: RDD[Triple]): RDD[Node]

    Permalink

    24.

    24. Labeled subjects criterion.

    triples

    RDD of triples

    returns

    list of labeled subjects.

  13. def Languages(triples: RDD[Triple]): RDD[(String, Int)]

    Permalink

    21.

    21. Languages criterion

    triples

    RDD of triples

    returns

    histogram of languages used for literals.

  14. def Links(triples: RDD[Triple]): RDD[(String, String, Int)]

    Permalink

    26.

    26. Links criterion.

    Computes the frequencies of links between entities of different namespaces. This measure is directed, i.e. a link from ns1 -> ns2 is different from ns2 -> ns1.

    triples

    RDD of triples

    returns

    list of namespace combinations and their frequencies.

  15. def Literals(triples: RDD[Triple]): RDD[Triple]

    Permalink

    * 17.

    * 17. Literals criterion

    triples

    RDD of triples

    returns

    number of triples that are referencing literals to subjects.

  16. def MaxPerProperty(triples: RDD[Triple]): RDD[(Node, Node)]

    Permalink

    28.Maximum value per property {int,float,time} criterion

    28.Maximum value per property {int,float,time} criterion

    triples

    RDD of triples

    returns

    entities with their maximum values on the graph

  17. def PropertyHierarchyDepth(triples: RDD[Triple]): RDD[(Node, Int)]

    Permalink

    12.

    12. Property hierarchy depth criterion

    triples

    RDD of triples

    returns

    the depth of the graph

  18. def PropertyUsageDistinctPerObject(triples: RDD[Triple]): RDD[(Iterable[Triple], Int)]

    Permalink

    7.

    7. Property usage distinct per object criterion

    triples

    RDD of triples

    returns

    the usage of properties grouped by object

  19. def PropertyUsageDistinctPerSubject(triples: RDD[Triple]): RDD[(Iterable[Triple], Int)]

    Permalink

    6.

    6. Property usage distinct per subject criterion

    triples

    RDD of triples

    returns

    the usage of properties grouped by subject

  20. def SameAs(triples: RDD[Triple]): RDD[Triple]

    Permalink

    25.

    25. SameAs criterion.

    triples

    RDD of triples

    returns

    list of triples with owl#sameAs as predicate

  21. def SubclassUsage(triples: RDD[Triple]): Long

    Permalink

    13.

    13. Subclass usage criterion

    triples

    RDD of triples

    returns

    the usage of subclasses on the given graph

  22. def Triples(triples: RDD[Triple]): Long

    Permalink

    14.

    14. Triples criterion

    triples

    RDD of triples

    returns

    the amount of triples of a given graph.

  23. def TypedSubjects(triples: RDD[Triple]): RDD[Node]

    Permalink

    24.

    24. Typed subjects criterion.

    triples

    RDD of triples

    returns

    list of typed subjects.

  24. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def print(stats: RDD[String], source: String): Unit

    Permalink

    Prints the Voidiy version of the given RDF dataset

    Prints the Voidiy version of the given RDF dataset

    stats

    given RDF dataset statistics

    source

    name of the Dataset:source--usualy the file's name

  36. def run(triples: RDD[Triple]): RDD[String]

    Permalink

    Compute distributed RDF dataset statistics.

    Compute distributed RDF dataset statistics.

    triples

    RDF graph

    returns

    VoID description of the given dataset

  37. val spark: SparkSession

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  40. def voidify(stats: RDD[String], source: String, output: String): Unit

    Permalink

    Voidify RDF dataset based on the Vocabulary of Interlinked Datasets (VoID) https://www.w3.org/TR/void/

    Voidify RDF dataset based on the Vocabulary of Interlinked Datasets (VoID) https://www.w3.org/TR/void/

    stats

    given RDF dataset statistics

    source

    name of the Dataset:source--usualy the file's name

    output

    the directory to save RDF dataset summary

  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped