Dear Stanbol Users,

I have been experimenting with the system and I would appreciate your help
with the following problem.

I am trying to implement a custom Graph chain like the example here:
https://stanbol.apache.org/docs/trunk/components/enhancer/chains/executionplan.html
and here:
https://stanbol.apache.org/docs/trunk/components/enhancer/chains/graphchain.html

However, when trying to invoke the chain, I get the following exception:

*org.apache.jena.riot [line: 6, col: 1 ] Undefined prefix: urn*


My execution plan RDF looks like this:







































*@prefix xsd: <http://www.w3.org/2001/XMLSchema#
<http://www.w3.org/2001/XMLSchema#>> .@prefix rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>> .@prefix ep:
<http://stanbol.apache.org/ontology/enhancer/executionplan#
<http://stanbol.apache.org/ontology/enhancer/executionplan#>> .@prefix ehp:
<http://stanbol.apache.org/ontology/enhancementproperties#
<http://stanbol.apache.org/ontology/enhancementproperties#>>
.urn:execPlan    rdf:type ep:ExecutionPlan    ep:hasExecutionNode
urn:node1, urn:node2, urn:node3, urn:node4, urn:node5    ep:chain
"demoChain"urn:node1    rdf:type stanbol:ExecutionNode
ep:inExecutionPlan urn:execPlan    ep:engine langIdurn:node2    rdf:type
ep:ExecutionNode    ep:inExecutionPlan urn:execPlan    ep:dependsOn
urn:node1    ep:engine nerurn:node3    rdf:type ep:ExecutionNode
ep:inExecutionPlan urn:execPlan    ep:dependsOn urn:node1    ep:engine
dbpediaLinkingurn:node4    rdf:type ep:ExecutionNode    ep:inExecutionPlan
urn:execPlan    ep:dependsOn urn:node1    ep:engine
geonamesLinkingurn:node5    rdf:type ep:ExecutionNode    ep:inExecutionPlan
urn:execPlan    ep:engine zemanta    ep:optional "true"^^xsd:boolean*

Thank you in advance for your kind help.

Best Regards,


Michal Krajnansky

Reply via email to