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>
SparkSession
the path to the input file
The set of axioms corresponding to the expression.