class OWLStats extends Serializable
A distributed implementation of OWL statistics.
- Alphabetic
- By Inheritance
- OWLStats
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new OWLStats(spark: SparkSession)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAnnotationAssertionCount(axioms: RDD[OWLAxiom]): Long
Criterion 42.
Criterion 42. Annotation Property Assertion Count
- axioms
RDD of OWLAxioms
- returns
The number of existing OWLAnnotationPropertyAssertions
-
def
getAvgPerNumericDatatypeProperty(axioms: RDD[OWLAxiom]): RDD[(OWLDataPropertyExpression, Double)]
Criterion 29.
Criterion 29. Average value per numeric property {int,float,double}
- axioms
RDD of OWLAxioms
- returns
properties with their average values
-
def
getAvgTypedStringLength(axioms: RDD[OWLAxiom]): Double
Criterion 22.
Criterion 22. Average typed string length criterion.
- axioms
RDD of OWLAxioms
- returns
the average typed string length used throughout the input RDD of OWL axioms.
-
def
getAvgUntypedStringLength(axioms: RDD[OWLAxiom]): Double
Criterion 23.
Criterion 23. Average untyped string length criterion.
- axioms
RDD of OWLAxioms
- returns
the average untyped string length used throughout OWL ontology.
- def getAxiomCount(axioms: RDD[OWLAxiom]): Long
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getClassAssertionCount(axioms: RDD[OWLAxiom]): Long
Criterion 39.
Criterion 39. Class Assertion Count
- axioms
RDD of OWLAxioms
- returns
The number of existing OWLClassAssertions
-
def
getClassHierarchyDepth(axioms: RDD[OWLAxiom]): RDD[(String, Int)]
Criterion 4.
Criterion 4. Class hierarchy depth
- axioms
RDD of OWLAxioms
- returns
RDD of the hierarchy depth of each OWLClass
-
def
getClasses(axioms: RDD[OWLAxiom]): RDD[OWLClass]
Criterion 36a.
Criterion 36a. Classes
- axioms
RDD of OWLAxioms
- returns
RDD of existing OWLClasses
-
def
getClassesCount(axioms: RDD[OWLAxiom]): Long
Criterion 36.
Criterion 36. Classes Count
- axioms
RDD of OWLAxioms
- returns
The number of existing OWLClasses
-
def
getDataAllValuesFrom(axioms: RDD[OWLAxiom]): RDD[OWLClassExpression]
Criterion 48.
Criterion 48. Data AllValuesFrom
- axioms
RDD of OWLAxioms
- returns
List of DataAllValuesFrom class expression.
-
def
getDataCardinality(axioms: RDD[OWLAxiom]): RDD[OWLClassExpression]
Criterion 49.
Criterion 49. Data Cardinality
- axioms
RDD of OWLAxioms
- returns
List of DataCardinality class expression.
-
def
getDataHasValue(axioms: RDD[OWLAxiom]): RDD[OWLClassExpression]
Criterion 50.
Criterion 50. Data HasValue
- axioms
RDD of OWLAxioms
- returns
List of DataHasValue class expression.
-
def
getDataProperties(axioms: RDD[OWLAxiom]): RDD[OWLDataProperty]
Criterion 37a.
Criterion 37a. Data Properties
- axioms
RDD of OWLAxioms
- returns
RDD of existing OWLDataProperties
-
def
getDataPropertiesCount(axioms: RDD[OWLAxiom]): Long
Criterion 37.
Criterion 37. Data Properties Count
- axioms
RDD of OWLAxioms
- returns
The number of existing OWLDataProperties
-
def
getDataPropertyAssertionCount(axioms: RDD[OWLAxiom]): Long
Criterion 40.
Criterion 40. Data Property Assertion Count
- axioms
RDD of OWLAxioms
- returns
The number of existing OWLDataPropertyAssertions
-
def
getDataPropertyHierarchyDepth(axioms: RDD[OWLAxiom]): RDD[(String, Int)]
Criterion 12a.
Criterion 12a. Data Property hierarchy depth
- axioms
RDD of OWLAxioms
- returns
RDD of the hierarchy depth of each OWLDataProperty
-
def
getDataSomeValuesFrom(axioms: RDD[OWLAxiom]): RDD[OWLClassExpression]
Criterion 47.
Criterion 47. Data SomeValuesFrom
- axioms
RDD of OWLAxioms
- returns
List of DataSomeValuesFrom class expression.
-
def
getDatatypesHistogram(axioms: RDD[OWLAxiom]): RDD[(IRI, Int)]
Criterion 20.
Criterion 20. Datatypes
- axioms
RDD of axioms
- returns
histogram of types used for literals.
-
def
getDiffIndividualsAxiomCount(axioms: RDD[OWLAxiom]): Long
Criterion 43.
Criterion 43. Different Individuals Count
- axioms
RDD of OWLAxioms
- returns
The number of existing OWLDifferentIndividuals
-
def
getInDegree(axioms: RDD[OWLAxiom]): RDD[(IRI, Double)]
Criterion 11.
Criterion 11. Indegree
- axioms
RDD of OWLAxioms
- returns
the average of each indegree edge
-
def
getLabeledSubjects(axioms: RDD[OWLAxiom]): RDD[OWLAnnotationSubject]
Criterion 25.
Criterion 25. Labeled subjects criterion.
- axioms
RDD of triples
- returns
RDD of labeled OWL annotation subjects.
-
def
getLanguagesHistogram(axioms: RDD[OWLAxiom]): RDD[(String, Int)]
Criterion 21.
Criterion 21. Languages
- axioms
RDD of OWLAxioms
- returns
histogram of languages used for literals.
-
def
getLiteralAssertionsCount(axioms: RDD[OWLAxiom]): Long
Criterion 17.
Criterion 17. Literals
- axioms
RDD of OWLAxioms
- returns
number of OWLAxioms that express assertions with literals.
-
def
getMaxPerNumericDatatypeProperty(axioms: RDD[OWLAxiom]): RDD[(OWLDataPropertyExpression, Double)]
Criterion 28.
Criterion 28. Maximum value per property {int, float, double} criterion
- axioms
RDD of OWLAxioms
- returns
entities with their maximum values
-
def
getNamespaceLinks(axioms: RDD[OWLAxiom]): RDD[(String, String, Int)]
Criterion 27.
Criterion 27. Links.
Computes the frequencies of links between entities of different namespaces. This measure is directed, i.e. a link from
ns1 -> ns2
is different fromns2 -> ns1
.In this criterion we focus on OWLNamed objects and omit anonymous OWL objects.
- axioms
RDD of OWLAxioms
- returns
list of namespace combinations and their frequencies.
-
def
getOWLDistinctEntities(axioms: RDD[OWLAxiom]): RDD[OWLEntity]
Criterion 16.
Criterion 16. Distinct Entities
In this criterion we focus on OWLNamed objects and omit anonymous OWL objects.
- axioms
RDD of OWLAxioms
- returns
RDD of the distinct entities in the input ontology.
-
def
getOWLMentionedEntities(axioms: RDD[OWLAxiom]): Long
Criterion 15.
Criterion 15. Mentioned Entities
In this criterion we focus on OWLNamed objects and omit anonymous OWL objects.
- axioms
RDD of OWLAxioms
- returns
the number of the mentioned entities within the input ontology.
-
def
getObjectComplementOf(axioms: RDD[OWLAxiom]): RDD[OWLClassExpression]
Criterion 46.
Criterion 46. Object Complement Of.
- axioms
RDD of OWLAxioms
- returns
List of ObjectComplementOf class expression.
-
def
getObjectIntersectionOf(axioms: RDD[OWLAxiom]): RDD[OWLClassExpression]
Criterion 44.
Criterion 44. Object Intersection Of.
- axioms
RDD of OWLAxioms
- returns
List of ObjectIntersectionOf class expression.
-
def
getObjectProperties(axioms: RDD[OWLAxiom]): RDD[OWLObjectProperty]
Criterion 38a.
Criterion 38a. Object Properties
- axioms
RDD of OWLAxioms
- returns
RDD of existing OWLObjectProperties
-
def
getObjectPropertiesCount(axioms: RDD[OWLAxiom]): Long
Criterion 38.
Criterion 38. Object Properties Count
- axioms
RDD of OWLAxioms
- returns
The number of existing OWLObjectProperties
-
def
getObjectPropertyAssertionCount(axioms: RDD[OWLAxiom]): Long
Criterion 41.
Criterion 41. Object Property Assertion Count
- axioms
RDD of OWLAxioms
- returns
The number of existing OWLObjectPropertyAssertions
-
def
getObjectPropertyHierarchyDepth(axioms: RDD[OWLAxiom]): RDD[(String, Int)]
Criterion 12b.
Criterion 12b. Object Property hierarchy depth
- axioms
RDD of OWLAxioms
- returns
RDD of the hierarchy depth of each OWLObjectProperty
-
def
getObjectUnionOf(axioms: RDD[OWLAxiom]): RDD[OWLClassExpression]
Criterion 45.
Criterion 45. Object Union Of.
- axioms
RDD of OWLAxioms
- returns
List of ObjectIUnionOf class expression.
-
def
getObjectVocabularies(axioms: RDD[OWLAxiom]): RDD[(String, Int)]
Criterion 32.
Criterion 32. Object Vocabularies.
Computes the frequencies of object vocabularies.
- axioms
RDD of OWLAxioms
- returns
list of object vocabularies and their frequencies.
-
def
getOutdegree(axioms: RDD[OWLAxiom]): RDD[(IRI, Double)]
Criterion 10.
Criterion 10. Outdegree
- axioms
RDD of OWLAxioms
- returns
the average of each outdegree edge
-
def
getPredicateVocabularies(axioms: RDD[OWLAxiom]): RDD[(String, Int)]
Criterion 31.
Criterion 31. Predicate Vocabularies.
Computes the frequencies of Predicate vocabularies.
- axioms
RDD of OWLAxioms
- returns
list of Predicate vocabularies and their frequencies.
-
def
getPropertyUsageDistinctPerObject(axioms: RDD[OWLAxiom]): RDD[(Iterable[OWLAxiom], Int)]
Criterion 7.
Criterion 7. Property usage distinct per object
- axioms
RDD of OWLAxioms
- returns
the usage of properties grouped by object
-
def
getPropertyUsageDistinctPerSubject(axioms: RDD[OWLAxiom]): RDD[(Iterable[OWLAxiom], Int)]
Criterion 6.
Criterion 6. Property usage distinct per subject
- axioms
RDD of OWLAxioms
- returns
the usage of properties grouped by subject
-
def
getSameAsAxiomsCount(axioms: RDD[OWLAxiom]): Long
Criterion 26.
Criterion 26. SameAs axioms
- axioms
RDD of OWLAxioms
- returns
The number of OWL same individuals axioms in the input RDD
-
def
getSubAnnPropAxiomCount(axioms: RDD[OWLAxiom]): Long
Criterion 35.
Criterion 35. SubAnnotationProperty Usage
- axioms
RDD of OWLAxioms
- returns
The number of used SubAnnotationProperty
- def getSubClassAxiomCount(axioms: RDD[OWLAxiom]): Long
-
def
getSubDataPropAxiomCount(axioms: RDD[OWLAxiom]): Long
Criterion 33.
Criterion 33. SubDataProperty Usage
- axioms
RDD of OWLAxioms
- returns
The number of used SubDataProperty
-
def
getSubObjectPropAxiomCount(axioms: RDD[OWLAxiom]): Long
Criterion 34.
Criterion 34. SubObjectProperty Usage
- axioms
RDD of OWLAxioms
- returns
The number of used SubObjectProperty
-
def
getSubclassUsage(axioms: RDD[OWLAxiom]): Long
Criterion 13.
Criterion 13. Subclass usage
- axioms
RDD of OWLAxioms
- returns
the usage of subclasses
-
def
getSubjectVocabularies(axioms: RDD[OWLAxiom]): RDD[(String, Int)]
Criterion 30.
Criterion 30. Subject Vocabularies.
Computes the frequencies of subject vocabularies.
- axioms
RDD of OWLAxioms
- returns
list of subject vocabularies and their frequencies.
- def getTypedOWLEntities(axioms: RDD[OWLAxiom]): RDD[OWLEntity]
-
def
getTypedSubject(axioms: RDD[OWLAxiom]): RDD[String]
Criterion 24.
Criterion 24. Typed subject
- axioms
RDD of OWLAxioms
- returns
list of string representation of typed OWL subjects.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parallelism: Int
- def run(axioms: RDD[OWLAxiom]): RDD[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... ) @native()