You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load the owl file with a mapping file according to the "OntopOWLReasonerNativeMappingExample.java".
I get this error:
java.lang.IllegalArgumentException: Not a valid (absolute) IRI:
at org.eclipse.rdf4j.model.impl.SimpleIRI.setIRIString(SimpleIRI.java:74)
at org.eclipse.rdf4j.model.impl.SimpleIRI.<init>(SimpleIRI.java:63)
at org.eclipse.rdf4j.model.impl.AbstractValueFactory.createIRI(AbstractValueFactory.java:87)
at org.apache.commons.rdf.rdf4j.RDF4J.createIRI(RDF4J.java:607)
at org.apache.commons.rdf.rdf4j.RDF4J.createIRI(RDF4J.java:104)
at it.unibz.inf.ontop.model.term.impl.TermFactoryImpl.getRDFConstant(TermFactoryImpl.java:114)
at it.unibz.inf.ontop.model.term.functionsymbol.impl.RDFTermFunctionSymbolImpl.buildTermAfterEvaluation(RDFTermFunctionSymbolImpl.java:71)
at it.unibz.inf.ontop.model.term.functionsymbol.impl.FunctionSymbolImpl.lambda$simplify$7(FunctionSymbolImpl.java:97)
at java.util.Optional.orElseGet(Optional.java:267)
at it.unibz.inf.ontop.model.term.functionsymbol.impl.FunctionSymbolImpl.simplify(FunctionSymbolImpl.java:97)
at it.unibz.inf.ontop.model.term.impl.ImmutableFunctionalTermImpl.simplify(ImmutableFunctionalTermImpl.java:147)
at it.unibz.inf.ontop.spec.mapping.transformer.impl.TermTypeMappingCaster.transformDefinition(TermTypeMappingCaster.java:103)
at it.unibz.inf.ontop.spec.mapping.transformer.impl.TermTypeMappingCaster.lambda$transformTopSubstitution$1(TermTypeMappingCaster.java:87)
at it.unibz.inf.ontop.utils.ImmutableCollectors.lambda$toMap$0(ImmutableCollectors.java:110)
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
at it.unibz.inf.ontop.spec.mapping.transformer.impl.TermTypeMappingCaster.transformTopSubstitution(TermTypeMappingCaster.java:85)
at it.unibz.inf.ontop.spec.mapping.transformer.impl.TermTypeMappingCaster.transform(TermTypeMappingCaster.java:68)
at it.unibz.inf.ontop.spec.mapping.impl.SQLMappingExtractor.convertPPMapping(SQLMappingExtractor.java:167)
at it.unibz.inf.ontop.spec.mapping.impl.SQLMappingExtractor.extract(SQLMappingExtractor.java:106)
at it.unibz.inf.ontop.spec.impl.DefaultOBDASpecificationExtractor.extract(DefaultOBDASpecificationExtractor.java:46)
at it.unibz.inf.ontop.injection.impl.OntopMappingConfigurationImpl.loadSpecification(OntopMappingConfigurationImpl.java:127)
at it.unibz.inf.ontop.injection.impl.OntopMappingSQLConfigurationImpl.loadSpecification(OntopMappingSQLConfigurationImpl.java:87)
at it.unibz.inf.ontop.injection.impl.OntopMappingSQLAllConfigurationImpl.loadSpecification(OntopMappingSQLAllConfigurationImpl.java:47)
at it.unibz.inf.ontop.injection.impl.OntopSQLOWLAPIConfigurationImpl.loadOBDASpecification(OntopSQLOWLAPIConfigurationImpl.java:34)
at it.unibz.inf.ontop.injection.impl.OntopOBDAConfigurationImpl.loadSpecification(OntopOBDAConfigurationImpl.java:44)
at it.unibz.inf.ontop.injection.OntopSystemConfiguration.loadQueryEngine(OntopSystemConfiguration.java:20)
at it.unibz.inf.ontop.owlapi.impl.QuestOWL.<init>(QuestOWL.java:110)
at it.unibz.inf.ontop.owlapi.impl.QuestOWLFactory.createReasoner(QuestOWLFactory.java:81)
at it.unibz.inf.ontop.owlapi.impl.QuestOWLFactory.createReasoner(QuestOWLFactory.java:94)
at v2.service.Ontology2.run(Ontology2.java:56)
at v2.service.Ontology2.main(Ontology2.java:27)
I appreciate it if you give me a hint about this error.
The text was updated successfully, but these errors were encountered:
I'm trying to load the owl file with a mapping file according to the "OntopOWLReasonerNativeMappingExample.java".
I get this error:
I appreciate it if you give me a hint about this error.
The text was updated successfully, but these errors were encountered: