Package n10s.onto

Class OntologyImporter

    • Field Detail

      • RESOURCE

        public static final org.neo4j.graphdb.Label RESOURCE
      • ANNOTATION_PROPERTIES_TO_IMPORT

        protected static final java.util.List<org.eclipse.rdf4j.model.IRI> ANNOTATION_PROPERTIES_TO_IMPORT
      • PROPERTY_DECORATIONS_TO_IMPORT

        protected static final java.util.List<org.eclipse.rdf4j.model.IRI> PROPERTY_DECORATIONS_TO_IMPORT
      • extraStatements

        protected java.util.Set<org.eclipse.rdf4j.model.Statement> extraStatements
      • allOpenRestrictions

        protected java.util.Map<org.eclipse.rdf4j.model.BNode,​OWLRestriction> allOpenRestrictions
      • openSubClassRestrictions

        protected java.util.Map<org.eclipse.rdf4j.model.IRI,​java.util.List<OWLRestriction>> openSubClassRestrictions
      • openEquivRestrictions

        protected java.util.Map<org.eclipse.rdf4j.model.IRI,​java.util.List<OWLRestriction>> openEquivRestrictions
    • Constructor Detail

      • OntologyImporter

        public OntologyImporter​(org.neo4j.graphdb.GraphDatabaseService db,
                                org.neo4j.graphdb.Transaction tx,
                                RDFParserConfig conf,
                                org.neo4j.logging.Log l)
    • Method Detail

      • startRDF

        public void startRDF()
                      throws org.eclipse.rdf4j.rio.RDFHandlerException
        Specified by:
        startRDF in interface org.eclipse.rdf4j.rio.RDFHandler
        Overrides:
        startRDF in class RDFToLPGStatementProcessor
        Throws:
        org.eclipse.rdf4j.rio.RDFHandlerException
      • endRDF

        public void endRDF()
                    throws org.eclipse.rdf4j.rio.RDFHandlerException
        Throws:
        org.eclipse.rdf4j.rio.RDFHandlerException
      • handleStatement

        public void handleStatement​(org.eclipse.rdf4j.model.Statement st)
        Specified by:
        handleStatement in interface org.eclipse.rdf4j.rio.RDFHandler
        Overrides:
        handleStatement in class RDFToLPGStatementProcessor
      • runPartialTx

        public java.lang.Integer runPartialTx​(org.neo4j.graphdb.Transaction inThreadTransaction)
      • getRestrictionRelName

        protected java.lang.String getRestrictionRelName​(int type)
      • getTypeAsString

        protected java.lang.String getTypeAsString​(OWLRestriction rest)
      • translateRelName

        protected org.eclipse.rdf4j.model.IRI translateRelName​(org.eclipse.rdf4j.model.IRI iri)