You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (Created) (JIRA)" <ji...@apache.org> on 2011/12/06 09:33:40 UTC

[jira] [Created] (STANBOL-411) Add RESTful service allowing to post LDPath requests to the Entityhub

Add RESTful service allowing to post LDPath requests to the Entityhub
---------------------------------------------------------------------

                 Key: STANBOL-411
                 URL: https://issues.apache.org/jira/browse/STANBOL-411
             Project: Stanbol
          Issue Type: Sub-task
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler


add the LDPath feature to all existing Entityhub service endpoints

/entityhub/ldpath
/entityhub/sites/ldpath
/entityhub/site/{site-id}/ldpath

Service:

POST/GET

Parameter:

* ldpath: The ldpath program to execute
* context: The id of the entity used as context for the execution. If this parameter is parsed multiple times the parsed program will be applied to all entity ids.

Return types:

The LDPath results will be transformed to RDF by using

* the entity id of the context as subject
* the fields defined in the LDPath program as properties
* the selected values as Object. 

All RDF serialization formats of the Entityhub will be supported

NOTE:

* maybe this should also support a simple JSON serialization that directly serializes the Map<String,Collection<?>> as currently returned by LDPath.

--
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

        

[jira] [Resolved] (STANBOL-411) Add RESTful service allowing to post LDPath requests to the Entityhub

Posted by "Rupert Westenthaler (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STANBOL-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Westenthaler resolved STANBOL-411.
-----------------------------------------

    Resolution: Fixed

Implemented with revision #1212465
                
> Add RESTful service allowing to post LDPath requests to the Entityhub
> ---------------------------------------------------------------------
>
>                 Key: STANBOL-411
>                 URL: https://issues.apache.org/jira/browse/STANBOL-411
>             Project: Stanbol
>          Issue Type: Sub-task
>          Components: Entity Hub
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>
> add the LDPath feature to all existing Entityhub service endpoints
> /entityhub/ldpath
> /entityhub/sites/ldpath
> /entityhub/site/{site-id}/ldpath
> Service:
> POST/GET
> Parameter:
> * ldpath: The ldpath program to execute
> * context: The id of the entity used as context for the execution. If this parameter is parsed multiple times the parsed program will be applied to all entity ids.
> Return types:
> The LDPath results will be transformed to RDF by using
> * the entity id of the context as subject
> * the fields defined in the LDPath program as properties
> * the selected values as Object. 
> All RDF serialization formats of the Entityhub will be supported
> NOTE:
> * maybe this should also support a simple JSON serialization that directly serializes the Map<String,Collection<?>> as currently returned by LDPath.

--
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