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

        

Reply via email to