Hi Melanie

On Wed, Jun 6, 2012 at 2:21 PM, Melanie Reiplinger
<[email protected]> wrote:
> Dear Stanbol people,
>
> I just wrote a Javascript interface for the entityhub/mapping endpoint, but
> only for the GET service (i.e., for retrieval of already existing mappings).
>
> Now I try to figure out if a user can create a new mapping, or whether
> mappings are a product of referring to sites. I assume mappings are a way of
> linking pieces of information across different sites on the entityhub, like
> mapping a source entity 'Paris' from referenced dbpedia unto a target entity
> on the local entityhub.

Mappings where intended to be used when an entity was copied from a
referenced site to the entityhub

e.g. when calling

    curl 
"http://localhost:8080/entityhub/lookup/?id=http://dbpedia.org/resource/Paris&create=true";

this would copy the data of dbpedia:Paris to the entityhub and create
an mapping to the original site.

Mappings between two referenced sites are not possible.

Regarding the RESTful API: The documentation as of

    
http://wiki.iks-project.eu/index.php/RickRESTfullApi#.2Fmapping.3Fid.3D.7Buri.7D

is still valid.

However AFAIK this feature/service of the Entityhub is not used at the moment.

> However, I did not find much about the mappings themselves, is
> http://wiki.iks-project.eu/index.php/RepresentationMapping still an
> up-to-date documentation of the mapping language?
>

This describes the syntax of the mapping language that can be used to
specify what data (properties) of an Entity are cached/indexed for an
Entity. It is totally unrelated to the "/entityhub/mapping" restful
service


best
Rupert

> Best
> Melanie



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to