class RDFXMLSyntaxOWLExpressionsRDDBuilder extends Serializable with RDFXMLSyntaxPrefixParsing with RDFXMLSyntaxParsing
- Alphabetic
- By Inheritance
- RDFXMLSyntaxOWLExpressionsRDDBuilder
- RDFXMLSyntaxParsing
- RDFXMLSyntaxPrefixParsing
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RDFXMLSyntaxOWLExpressionsRDDBuilder()
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
build(spark: SparkSession, filePath: String): OWLAxiomsRDD
Builds a snippet conforming to the RDF/XML syntax which then can be parsed by the OWL API RDF/XML syntax parser.
Builds a snippet conforming to the RDF/XML syntax which then can be parsed by the OWL API RDF/XML syntax parser. A single expression, e.g.
<rdf:Description rdf:about="http://swat.cse.lehigh.edu/onto/univ-bench.owl#Person"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description>
has thus to be wrapped into a ontology description as follows
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:Class rdf:about="http://swat.cse.lehigh.edu/onto/univ-bench.owl#Person"/> </rdf:RDF>
- spark
SparkSession
- filePath
the path to the input file
- returns
The set of axioms corresponding to the expression.
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getOWLOntology(model: Model): OWLOntology
- Definition Classes
- RDFXMLSyntaxParsing
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrefix(expression: String): Boolean
- Definition Classes
- RDFXMLSyntaxPrefixParsing
-
def
makeAxiom(st: Statement): Set[OWLAxiom]
- Definition Classes
- RDFXMLSyntaxParsing
-
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()
-
def
parsePrefix(line: String): (String, String)
- Definition Classes
- RDFXMLSyntaxPrefixParsing
-
def
parseRecord(record: String, prefixes: String): ArrayList[OWLAxiom]
- Definition Classes
- RDFXMLSyntaxParsing
-
def
refineOWLAxioms(sc: SparkContext, axiomsRDD: RDD[OWLAxiom]): RDD[OWLAxiom]
- Definition Classes
- RDFXMLSyntaxParsing
-
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()