Skip to content
Snippets Groups Projects
Commit 0bed7af3 authored by Eliott Sammier's avatar Eliott Sammier
Browse files

Fix Export stage not loading the correct ontology

parent f870474d
Branches
No related tags found
No related merge requests found
...@@ -36,12 +36,11 @@ def main(): ...@@ -36,12 +36,11 @@ def main():
RDF = gateway.jvm.fr.inria.corese.core.logic.RDF RDF = gateway.jvm.fr.inria.corese.core.logic.RDF
Transformer = gateway.jvm.fr.inria.corese.core.transform.Transformer Transformer = gateway.jvm.fr.inria.corese.core.transform.Transformer
# Create graph, load Turtle files for schema and content # Create graph, load ontology
graph = Graph() graph = Graph()
ld = Load.create(graph) ld = Load.create(graph)
Property.set(Property.Value.DISABLE_OWL_AUTO_IMPORT, True) Property.set(Property.Value.DISABLE_OWL_AUTO_IMPORT, True)
ld.parse(RDF_SCHEMA_FILE) ld.parse(RDF_FULL_FILE)
ld.parse(RDF_CONTENT_FILE)
# Run STTL transformation # Run STTL transformation
tr = Transformer.create(graph, MODULE_DIR + "/../templates/") tr = Transformer.create(graph, MODULE_DIR + "/../templates/")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment