[ 
https://issues.apache.org/jira/browse/STANBOL-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222242#comment-13222242
 ] 

Rupert Westenthaler commented on STANBOL-431:
---------------------------------------------

in addition to (A) and (B) in the above comment:

(C) Enhancer Configuration

  GET -H "Accept: {rdf-type}" /enhancer 

returns the RDF graph with the currently active Enhancement Chains and Engines

(D) Enhancer Configuration SPRQL endpoint

  GET/POST /enhancer/sparql

SPARQL endpoint that allows to query for currently active Enhancement Chains 
and Engines

e.g. the following query qould return the name/URL of the currently active 
EnhancementChains

    PREFIX enhancer: <http://stanbol.apache.org/ontology/enhancer/enhancer#>
    PREFIX rdfs:     <http://www.w3.org/2000/01/rdf-schema#>
    SELECT distinct ?name ?chain
    WHERE {
        ?chain a enhancer:EnhancementChain .
        ?chain rdfs:label ?name .
    }
    ORDER BY ASC(?name)

(E) ExecutionPlan

    GET -H "Accept: {rdf-type}" {ehancement-endpoint}/ep

Allows to retrieve the ExecutionPlan of the EnhancementChain

                
> Improve Enhancer/ REST endpoint
> -------------------------------
>
>                 Key: STANBOL-431
>                 URL: https://issues.apache.org/jira/browse/STANBOL-431
>             Project: Stanbol
>          Issue Type: Improvement
>          Components: Enhancer
>            Reporter: Florent ANDRE
>
> From STANBOL-414, Reto :
> Rest
> /enhancer
> /enhancer/engine/<engineId>
> /enhancer/chains/<chainId>
> - query params:
> Optional inputWithMetadata -> expects multipart/mime with 2 sections of which 
> the first is rdf
> Optional outputWithContentParts[=<section-ordinal>] -> the result is 
> multipart (instead of rdf) containing rdf as the first section and the parts 
> in the second section, if there is more than one part this second section is 
> itself multipart, this argument might be repated to have different sections
> Optional omitMetada -> no metadate in the result, makes only sense with 
> outputContentParts argument, the result will correspond to the second section 
> of the malipart returned without this argument 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to