Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank nodes and Rectification statement #75

Open
Johntec opened this issue Aug 12, 2017 · 0 comments
Open

Blank nodes and Rectification statement #75

Johntec opened this issue Aug 12, 2017 · 0 comments

Comments

@Johntec
Copy link

Johntec commented Aug 12, 2017

Hello,

I would like to ask weather yodaqa supports blank nodes or Rectification statements,
I added such nodes and statement into my RDF, and whenever i ask questions the system freezes, does anyone knows why? and how i can get answer for such RDF using Yodaqa?

this is error am getting ..

Aug 12, 2017 1:04:42 PM org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl callAnalysisComponentProcess(417)
SEVERE: Exception occurred
org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed.
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:309)
at cz.semantic.QManager.flow.asb.MultiprocessingAnalysisEngine_MultiplierOk.processAndOutputNewCASes(MultiprocessingAnalysisEngine_MultiplierOk.java:218)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator$1.call(MultiThreadASB.java:772)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator$1.call(MultiThreadASB.java:754)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null for literals has been illegal since Jena 2.0
at com.hp.hpl.jena.graph.NodeFactory.createLiteral(NodeFactory.java:64)
at com.hp.hpl.jena.rdf.model.ResourceFactory$Impl.createPlainLiteral(ResourceFactory.java:268)
at com.hp.hpl.jena.rdf.model.ResourceFactory.createPlainLiteral(ResourceFactory.java:101)
at cz.semantic.QManager.provider.rdf.CachedJenaLookup.rawQuery(CachedJenaLookup.java:120)
at cz.semantic.QManager.provider.rdf.DBpediaProperties.queryTitleForm(DBpediaProperties.java:64)
at cz.semantic.QManager.provider.rdf.DBpediaOntology.query(DBpediaOntology.java:29)
at cz.semantic.QManager.pipeline.structured.DBpediaPropertyPrimarySearch.getConceptProperties(DBpediaPropertyPrimarySearch.java:52)
at cz.semantic.QManager.pipeline.structured.StructuredPrimarySearch.process(StructuredPrimarySearch.java:99)
at org.apache.uima.analysis_component.JCasMultiplier_ImplBase.process(JCasMultiplier_ImplBase.java:58)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)
... 8 more

Aug 12, 2017 1:04:42 PM org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl processAndOutputNewCASes(274)
SEVERE: Exception occurred
org.apache.uima.analysis_engine.AnalysisEngineProcessException
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1074)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.(MultiThreadASB.java:496)
at cz.semantic.QManager.flow.asb.MultiThreadASB.process(MultiThreadASB.java:416)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:266)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator$1.call(MultiThreadASB.java:772)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator$1.call(MultiThreadASB.java:754)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.collectCasInFlow(MultiThreadASB.java:814)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.casInFlowFromFuture(MultiThreadASB.java:603)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.nextCasToProcess(MultiThreadASB.java:635)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1039)
... 9 more
Caused by: org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed.
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:309)
at cz.semantic.QManager.flow.asb.MultiprocessingAnalysisEngine_MultiplierOk.processAndOutputNewCASes(MultiprocessingAnalysisEngine_MultiplierOk.java:218)
... 6 more
Caused by: java.lang.NullPointerException: null for literals has been illegal since Jena 2.0
at com.hp.hpl.jena.graph.NodeFactory.createLiteral(NodeFactory.java:64)
at com.hp.hpl.jena.rdf.model.ResourceFactory$Impl.createPlainLiteral(ResourceFactory.java:268)
at com.hp.hpl.jena.rdf.model.ResourceFactory.createPlainLiteral(ResourceFactory.java:101)
at cz.semantic.QManager.provider.rdf.CachedJenaLookup.rawQuery(CachedJenaLookup.java:120)
at cz.semantic.QManager.provider.rdf.DBpediaProperties.queryTitleForm(DBpediaProperties.java:64)
at cz.semantic.QManager.provider.rdf.DBpediaOntology.query(DBpediaOntology.java:29)
at cz.semantic.QManager.pipeline.structured.DBpediaPropertyPrimarySearch.getConceptProperties(DBpediaPropertyPrimarySearch.java:52)
at cz.semantic.QManager.pipeline.structured.StructuredPrimarySearch.process(StructuredPrimarySearch.java:99)
at org.apache.uima.analysis_component.JCasMultiplier_ImplBase.process(JCasMultiplier_ImplBase.java:58)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)
... 8 more

Aug 12, 2017 1:04:42 PM org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl processAndOutputNewCASes(274)
SEVERE: Exception occurred
org.apache.uima.analysis_engine.AnalysisEngineProcessException
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1074)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.hasNext(MultiThreadASB.java:511)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.casIterHasNext(MultiThreadASB.java:837)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.newCasInFlowFromFrame(MultiThreadASB.java:853)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.casInFlowFromStack(MultiThreadASB.java:576)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.nextCasToProcess(MultiThreadASB.java:660)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1039)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.(MultiThreadASB.java:496)
at cz.semantic.QManager.flow.asb.MultiThreadASB.process(MultiThreadASB.java:416)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:266)
at cz.semantic.QManager.flow.MultiCASPipeline.runAnalysisEngines(MultiCASPipeline.java:135)
at cz.semantic.QManager.flow.MultiCASPipeline.runPipeline(MultiCASPipeline.java:95)
at cz.semantic.QManager.NLQA_Web.main(NLQA_Web.java:45)
Caused by: java.util.concurrent.ExecutionException: org.apache.uima.analysis_engine.AnalysisEngineProcessException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.collectCasInFlow(MultiThreadASB.java:814)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.casInFlowFromFuture(MultiThreadASB.java:603)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.nextCasToProcess(MultiThreadASB.java:716)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1039)
... 12 more
Caused by: org.apache.uima.analysis_engine.AnalysisEngineProcessException
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1074)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.(MultiThreadASB.java:496)
at cz.semantic.QManager.flow.asb.MultiThreadASB.process(MultiThreadASB.java:416)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:266)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator$1.call(MultiThreadASB.java:772)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator$1.call(MultiThreadASB.java:754)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.collectCasInFlow(MultiThreadASB.java:814)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.casInFlowFromFuture(MultiThreadASB.java:603)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.nextCasToProcess(MultiThreadASB.java:635)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1039)
... 9 more
Caused by: org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed.
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:309)
at cz.semantic.QManager.flow.asb.MultiprocessingAnalysisEngine_MultiplierOk.processAndOutputNewCASes(MultiprocessingAnalysisEngine_MultiplierOk.java:218)
... 6 more
Caused by: java.lang.NullPointerException: null for literals has been illegal since Jena 2.0
at com.hp.hpl.jena.graph.NodeFactory.createLiteral(NodeFactory.java:64)
at com.hp.hpl.jena.rdf.model.ResourceFactory$Impl.createPlainLiteral(ResourceFactory.java:268)
at com.hp.hpl.jena.rdf.model.ResourceFactory.createPlainLiteral(ResourceFactory.java:101)
at cz.semantic.QManager.provider.rdf.CachedJenaLookup.rawQuery(CachedJenaLookup.java:120)
at cz.semantic.QManager.provider.rdf.DBpediaProperties.queryTitleForm(DBpediaProperties.java:64)
at cz.semantic.QManager.provider.rdf.DBpediaOntology.query(DBpediaOntology.java:29)
at cz.semantic.QManager.pipeline.structured.DBpediaPropertyPrimarySearch.getConceptProperties(DBpediaPropertyPrimarySearch.java:52)
at cz.semantic.QManager.pipeline.structured.StructuredPrimarySearch.process(StructuredPrimarySearch.java:99)
at org.apache.uima.analysis_component.JCasMultiplier_ImplBase.process(JCasMultiplier_ImplBase.java:58)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)
... 8 more

Exception in thread "main" org.apache.uima.analysis_engine.AnalysisEngineProcessException
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1074)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.hasNext(MultiThreadASB.java:511)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.casIterHasNext(MultiThreadASB.java:837)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.newCasInFlowFromFrame(MultiThreadASB.java:853)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.casInFlowFromStack(MultiThreadASB.java:576)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.nextCasToProcess(MultiThreadASB.java:660)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1039)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.(MultiThreadASB.java:496)
at cz.semantic.QManager.flow.asb.MultiThreadASB.process(MultiThreadASB.java:416)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:266)
at cz.semantic.QManager.flow.MultiCASPipeline.runAnalysisEngines(MultiCASPipeline.java:135)
at cz.semantic.QManager.flow.MultiCASPipeline.runPipeline(MultiCASPipeline.java:95)
at cz.semantic.QManager.NLQA_Web.main(NLQA_Web.java:45)
Caused by: java.util.concurrent.ExecutionException: org.apache.uima.analysis_engine.AnalysisEngineProcessException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.collectCasInFlow(MultiThreadASB.java:814)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.casInFlowFromFuture(MultiThreadASB.java:603)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.nextCasToProcess(MultiThreadASB.java:716)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1039)
... 12 more
Caused by: org.apache.uima.analysis_engine.AnalysisEngineProcessException
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.processUntilNextOutputCas(MultiThreadASB.java:1074)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator.(MultiThreadASB.java:496)
at cz.semantic.QManager.flow.asb.MultiThreadASB.process(MultiThreadASB.java:416)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:266)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator$1.call(MultiThreadASB.java:772)
at cz.semantic.QManager.flow.asb.MultiThreadASB$AggregateCasIterator$1.call(MultiThreadASB.java:754)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)

thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant