Dear Mr. Soroka, Sorry for the mistake, trying again -- please find the attached file.
As you can find, I took over the example from Stanbol web: https://stanbol.apache.org/docs/trunk/components/enhancer/chains/executionplan.html and copied the prefix declarations from here: https://stanbol.apache.org/docs/trunk/components/enhancer/chains/graphchain.html Thank you for looking into this! Michal Krajnansky On Mon, Oct 10, 2016 at 2:23 PM A. Soroka <aj...@virginia.edu> wrote: > That RDF quote didn't come through the mailing list (at least not for me). > It became a list of URIs. Perhaps you can try pasting it as very plain > text? Or you could put it in Gist or some other pastebin service? > > > > --- > > A. Soroka > > The University of Virginia Library > > > > > On Oct 10, 2016, at 5:22 AM, Michal Krajňanský < > michal.krajnan...@gmail.com> wrote: > > > > > > 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 > > > >
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix ep: <http://stanbol.apache.org/ontology/enhancer/executionplan#> . @prefix ehp: <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 langId urn:node2 rdf:type ep:ExecutionNode ep:inExecutionPlan urn:execPlan ep:dependsOn urn:node1 ep:engine ner urn:node3 rdf:type ep:ExecutionNode ep:inExecutionPlan urn:execPlan ep:dependsOn urn:node1 ep:engine dbpediaLinking urn:node4 rdf:type ep:ExecutionNode ep:inExecutionPlan urn:execPlan ep:dependsOn urn:node1 ep:engine geonamesLinking urn:node5 rdf:type ep:ExecutionNode ep:inExecutionPlan urn:execPlan ep:engine zemanta ep:optional "true"^^xsd:boolean