I am interested about knowing this best practice too.
In OntoNet, the way we had to go was to have a configurable service
parameter where you'd be supposed to enter the current Stanbol host, to
which the service endpoints and all the other stuff would be
concatenated, but obviously this is just as good as you can imagine.
Having such a parameter shared across the entire platform would already
be some improvement I guess.
Best,
Alessandro
On 1/23/12 2:37 PM, Rupert Westenthaler wrote:
Hi all
STANBOL-431 [1] suggests that EnhancementEngines are available at URIs like
http://{stanbol-host}/{rel-path}/enhancer/engine/{engine-name}
e.g.
http://localhost:8080/enhancer/engine/langid
now lets assume that an engine would be able to return an RDF graph
that represents its configuration e.g
http://localhost:8080/enhancer/engine/langid
rdfs:label "langid"
rdfs:comment "Engine that can detect the language of parsed text"
enhancer:order "-300"^^xsd:integer
and the enhancement metadata would use the engine URI as dc:creator
values for enhancements instead of the full qualified class name as
currently used.
The problem with providing the metadata like this is that currently
the engine has no way to know that it has the URI
"http://localhost:8080/enhancer/engine/langid" but only the name
{engine-name} "langid".
I am asking for the best practice to provide this information so that
engine implementation can correctly build such graphs.
best
Rupert
[1] https://issues.apache.org/jira/browse/STANBOL-431
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"As for the charges against me, I am unconcerned. I am beyond their timid, lying
morality, and so I am beyond caring."
(Col. Walter E. Kurtz)
Not sent from my iSnobTechDevice