net
.
sansa_stack
.
ml
.
spark
.
classification
.
KB
KB
Related Doc:
package KB
class
KB
extends
AnyRef
The class to define the Knowledgebase elements
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
KB
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
KB
(
UrlOwlFile:
String
,
rdd:
OWLAxiomsRDD
,
sparkSession:
SparkSession
)
Type Members
class
KB
extends
AnyRef
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
var
Concepts
:
RDD
[
OWLClass
]
var
Examples
:
RDD
[
OWLIndividual
]
var
Properties
:
RDD
[
OWLDataProperty
]
var
Roles
:
RDD
[
OWLObjectProperty
]
var
UrlOwlFile
:
String
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
var
choiceDataP
:
Random
var
choiceObjectP
:
Random
var
classifications
:
Array
[
Array
[
Int
]]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
dataFactory
:
OWLDataFactory
var
dataPropertiesValue
:
RDD
[
RDD
[
OWLLiteral
]]
var
domain
:
Array
[
Array
[
OWLIndividual
]]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getClassMembershipResult
()
:
Array
[
Array
[
Int
]]
def
getClassMembershipResult
(
testConcepts:
Array
[
OWLClassExpression
]
,
negTestConcepts:
Array
[
OWLClassExpression
]
,
examples:
RDD
[
OWLIndividual
]
)
:
Array
[
Array
[
Int
]]
def
getClasses
()
:
RDD
[
OWLClass
]
def
getDataFactory
()
:
OWLDataFactory
def
getDataProperties
()
:
RDD
[
OWLDataProperty
]
def
getDataPropertiesValue
()
:
RDD
[
RDD
[
OWLLiteral
]]
def
getDomains
()
:
Array
[
Array
[
OWLIndividual
]]
def
getIndividuals
()
:
RDD
[
OWLIndividual
]
def
getOntology
()
:
OWLOntology
def
getRandomConcept
()
:
OWLClassExpression
def
getRandomProperty
(
numQueryProperty:
Int
)
:
Array
[
Int
]
def
getRandomRoles
(
numRules:
Int
)
:
Array
[
Int
]
def
getReasoner
()
:
Reasoner
def
getRoleMembershipResult
(
rols:
RDD
[
OWLObjectProperty
]
,
examples:
RDD
[
OWLIndividual
]
)
:
RDD
[
Array
[
Array
[
Int
]]]
def
getRoles
()
:
RDD
[
OWLObjectProperty
]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
var
hermit
:
Reasoner
def
initKB
()
:
OWLOntology
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
var
manager
:
OWLOntologyManager
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
ontology
:
OWLOntology
var
reasoner
:
OWLReasoner
def
setClassMembershipResult
(
classifications:
Array
[
Array
[
Int
]]
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
updateExamples
(
individuals:
RDD
[
OWLIndividual
]
)
:
Unit
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped
The class to define the Knowledgebase elements