Class

net.sansa_stack.ml.spark.mining.amieSpark.KBObject

KB

Related Doc: package KBObject

Permalink

class KB extends Serializable

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

Instance Constructors

  1. new KB()

    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. val OBJECT2OBJECT: Int

    Permalink
  5. val SUBJECT2OBJECT: Int

    Permalink
  6. val SUBJECT2SUBJECT: Int

    Permalink

    Identifiers for the overlap maps

  7. def add(tp: RDFTriple): Unit

    Permalink

    function to fill the Maps subject2predicate2object,...

    function to fill the Maps subject2predicate2object,... ,sizes and Overlaps

    tp

    triple which subject, object and predicate is put in Maps and are counted for the sizes

  8. def add(fst: String, snd: String, thrd: String, toMaps: Map[String, Map[String, Map[String, Int]]]): Boolean

    Permalink
  9. def addClosingAtom(c: Int, id: Int, minHC: Double, rule: RuleContainer, sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  10. def addDanglingAtom(c: Int, id: Int, minHC: Double, rule: RuleContainer, sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  11. def addInstantiatedAtom(id: Int, minHC: Double, rule: RuleContainer, sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def bindingExists(triplesCard: ArrayBuffer[RDFTriple]): Boolean

    Permalink
  14. def buildOverlapTables(): Unit

    Permalink

  15. def cardPlusnegativeExamplesLength(triplesCard: ArrayBuffer[RDFTriple], sc: SparkContext): Double

    Permalink
  16. def cardPlusnegativeExamplesLength(tpAr: ArrayBuffer[RDFTriple], support: Double, sc: SparkContext, sqlContext: SQLContext): Double

    Permalink
  17. def cardinality(tpAr: ArrayBuffer[RDFTriple], sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  18. def cardinalityQueries(id: Int, tpArDF: DataFrame, wholeAr: ArrayBuffer[RDFTriple], sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  19. def cardinalityQueriesOI(id: Int, fresh: String, other: String, tpAr: ArrayBuffer[RDFTriple], sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  20. def cardinalityQueriesOnlyTpar(id: Int, tpAr: ArrayBuffer[RDFTriple], sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def computeOverlap(s1: Set[String], s2: Set[String]): Int

    Permalink

    s1

    set with subjects or objects

    s2

    set with subjects or objects

  23. def countProjectionQueries(x: String, minHC: Double, tpAr: ArrayBuffer[RDFTriple], RXY: (String, String), sc: SparkContext, sqlContext: SQLContext): Map[String, Int]

    Permalink
  24. def countProjectionQueriesDF(posit: Int, id: Int, operator: String, minHC: Double, tpAr: ArrayBuffer[RDFTriple], RXY: ArrayBuffer[(String, String)], sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  25. def countProjectionQueriesDFOI(id: Int, minHC: Double, tpAr: ArrayBuffer[RDFTriple], RXY: ArrayBuffer[(String, String)], sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  26. def deleteRecursive(path: File): Unit

    Permalink
  27. var dfTable: DataFrame

    Permalink
  28. def entitiesSize(): Int

    Permalink

    Returns the number of entities in the database.

  29. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def functionality(relation: String, inversed: Boolean): Double

    Permalink

    inversed

    If true, the method returns the inverse functionality, otherwise it returns the standard functionality.

  33. def functionality(relation: String): Double

    Permalink

  34. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  35. def getKbGraph(): RDFGraph

    Permalink
  36. def getKbSrc(): String

    Permalink
  37. def getRngSize(rel: String): Double

    Permalink
  38. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  39. var hdfsPath: String

    Permalink
  40. def inverseFunctionality(relation: String, inversed: Boolean): Double

    Permalink

    inversed

    If true, the method returns the functionality of a relation, otherwise it returns the inverse functionality.

  41. def inverseFunctionality(relation: String): Double

    Permalink

  42. def isFunctional(relation: String): Boolean

    Permalink

    Determines whether a relation is functional, i.e., its harmonic functionality is greater than its inverse harmonic functionality.

  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. var kbGraph: RDFGraph

    Permalink
  45. var kbSrc: String

    Permalink
  46. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  49. var object2objectOverlap: Map[String, Map[String, Int]]

    Permalink
  50. var object2predicate2subject: Map[String, Map[String, Map[String, Int]]]

    Permalink
  51. var object2subject2predicate: Map[String, Map[String, Map[String, Int]]]

    Permalink
  52. var objectSize: Map[String, Int]

    Permalink
  53. def overlap(relation1: String, relation2: String, overlap: Int): Double

    Permalink

    returns ArrayBuffer with successful maps of the '?' placeholders in a rule to real facts in the KB length of maplist is the number of instantiations of a rule

  54. def parquetToDF(path: File, sqlContext: SQLContext): DataFrame

    Permalink
  55. var predicate2object2subject: Map[String, Map[String, Map[String, Int]]]

    Permalink
  56. var predicate2subject2object: Map[String, Map[String, Map[String, Int]]]

    Permalink
  57. def relationColumnSize(rel: String, elem: String): Int

    Permalink

  58. var relationSize: Map[String, Int]

    Permalink
  59. def relationsSize(): Int

    Permalink
  60. def selectDistinctQueries(x: String, triplesCard: ArrayBuffer[RDFTriple]): ArrayBuffer[ArrayBuffer[RDFTriple]]

    Permalink
  61. def setDFTable(x: DataFrame): Unit

    Permalink
  62. def setKbGraph(x: RDFGraph): Unit

    Permalink
  63. def setKbSrc(x: String): Unit

    Permalink
  64. def sethdfsPath(hdfsP: String): Unit

    Permalink
  65. def sizeOfRelation(rel: String): Int

    Permalink

    returns number of instantiations of relation

    returns number of instantiations of relation

    rel

    Relation

  66. var subject2object2predicate: Map[String, Map[String, Map[String, Int]]]

    Permalink
  67. var subject2objectOverlap: Map[String, Map[String, Int]]

    Permalink
  68. var subject2predicate2object: Map[String, Map[String, Map[String, Int]]]

    Permalink
  69. var subject2subjectOverlap: Map[String, Map[String, Int]]

    Permalink
  70. var subjectSize: Map[String, Int]

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

    Permalink
    Definition Classes
    AnyRef
  72. def tester(subjects: DataFrame, wholeAr: ArrayBuffer[RDFTriple], sc: SparkContext, sqlContext: SQLContext): DataFrame

    Permalink
  73. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  74. def varCount(tpAr: ArrayBuffer[RDFTriple]): ArrayBuffer[(String, String)]

    Permalink
  75. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. 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