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
- rdfs:subClassOf
- rdfs:subPropertyOf
- rdfs:domain
- rdfs:range
- Alphabetic
- By Inheritance
- RDFSSchemaExtractor
- Serializable
- Serializable
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RDFSSchemaExtractor()
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() @IntrinsicCandidate()
-
def
debug(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
debug(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
debug(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
error(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
error(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
def
extract(triples: RDD[Triple]): RDD[Triple]
Extracts the schema triples from the given triples.
Extracts the schema triples from the given triples.
- triples
the triples
- returns
the schema triples
-
def
extract(graph: RDFGraph): RDFGraph
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
-
def
extractWithIndex(graph: RDFGraphDataFrame): Map[Node, DataFrame]
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:subClassOfand 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
-
def
extractWithIndex(graph: RDFGraphNative): Map[Node, RDD[(Node, Node)]]
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:subClassOfand 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
-
def
extractWithIndexAndDistribute(sc: SparkContext, graph: RDFGraphNative): Map[Node, Broadcast[Map[Node, Set[Node]]]]
Computes the s-o pairs for each schema property, e.g.
Computes the s-o pairs for each schema property, e.g.
rdfs:subClassOfand 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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
info(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
info(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
info(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val properties: Set[Node]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
trace(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
trace(msg: ⇒ String): Unit
- Definition Classes
- Logging
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warn(msg: ⇒ String, o: Any, os: Any*): Unit
- Definition Classes
- Logging
-
def
warn(msg: ⇒ String, e: Throwable): Unit
- Definition Classes
- Logging
-
def
warn(msg: ⇒ String): Unit
- Definition Classes
- Logging
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated