Package n10s.onto
Class OntologyImporter
java.lang.Object
n10s.ConfiguredStatementHandler
n10s.RDFToLPGStatementProcessor
n10s.onto.OntologyImporter
- All Implemented Interfaces:
org.eclipse.rdf4j.rio.RDFHandler
- Direct Known Subclasses:
OntologyPreviewer
-
Nested Class Summary
Nested classes/interfaces inherited from class n10s.RDFToLPGStatementProcessor
RDFToLPGStatementProcessor.HeterogeneousDataTyping, RDFToLPGStatementProcessor.NamespacePrefixConflict, RDFToLPGStatementProcessor.PartialCommitExceptionNested classes/interfaces inherited from class n10s.ConfiguredStatementHandler
ConfiguredStatementHandler.TripleLimitReached -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<org.eclipse.rdf4j.model.BNode,OWLRestriction> protected static final List<org.eclipse.rdf4j.model.IRI>protected static final intprotected Set<org.eclipse.rdf4j.model.Statement>protected Map<org.eclipse.rdf4j.model.IRI,List<OWLRestriction>> protected Map<org.eclipse.rdf4j.model.IRI,List<OWLRestriction>> protected static final List<org.eclipse.rdf4j.model.IRI>static final org.neo4j.graphdb.Labelprotected static final intFields inherited from class n10s.RDFToLPGStatementProcessor
DATATYPE, datatypeConflictFound, graphdb, LABEL, loadWarnings, log, mappedTripleCounter, namespaces, parserConfig, PROPERTY, RELATIONSHIP, relProps, resourceLabels, resourceProps, statements, totalTriplesMapped, totalTriplesParsed, tx, vf -
Constructor Summary
ConstructorsConstructorDescriptionOntologyImporter(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, org.neo4j.logging.Log l) -
Method Summary
Modifier and TypeMethodDescriptionvoidendRDF()protected StringgetRestrictionRelName(int type) protected StringvoidhandleStatement(org.eclipse.rdf4j.model.Statement st) protected voidrunPartialTx(org.neo4j.graphdb.Transaction inThreadTransaction) voidstartRDF()protected org.eclipse.rdf4j.model.IRItranslateRelName(org.eclipse.rdf4j.model.IRI iri) Methods inherited from class n10s.RDFToLPGStatementProcessor
addRelProp, addStatement, defaultToString, getNamespaces, getObjectValue, getParserConfig, getValueWithDatatype, getWarnings, handleComment, handleIRI, handleNamespace, setLabel, setProp, toPropertyValue
-
Field Details
-
SUB_CLASS_REST
protected static final int SUB_CLASS_REST- See Also:
-
EQUIV_CLASS_REST
protected static final int EQUIV_CLASS_REST- See Also:
-
RESOURCE
public static final org.neo4j.graphdb.Label RESOURCE -
ANNOTATION_PROPERTIES_TO_IMPORT
-
PROPERTY_DECORATIONS_TO_IMPORT
-
extraStatements
-
allOpenRestrictions
-
openSubClassRestrictions
-
openEquivRestrictions
-
-
Constructor Details
-
OntologyImporter
public OntologyImporter(org.neo4j.graphdb.GraphDatabaseService db, org.neo4j.graphdb.Transaction tx, RDFParserConfig conf, org.neo4j.logging.Log l)
-
-
Method Details
-
periodicOperation
protected void periodicOperation()- Specified by:
periodicOperationin classRDFToLPGStatementProcessor
-
startRDF
public void startRDF() throws org.eclipse.rdf4j.rio.RDFHandlerException- Specified by:
startRDFin interfaceorg.eclipse.rdf4j.rio.RDFHandler- Overrides:
startRDFin classRDFToLPGStatementProcessor- 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:
handleStatementin interfaceorg.eclipse.rdf4j.rio.RDFHandler- Overrides:
handleStatementin classRDFToLPGStatementProcessor
-
runPartialTx
-
getRestrictionRelName
-
getTypeAsString
-
translateRelName
protected org.eclipse.rdf4j.model.IRI translateRelName(org.eclipse.rdf4j.model.IRI iri)
-