Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

There are no means to update Sponate mapping #2

Description

@patrickwestphal

When having set a Sponate mapping, e.g. via

store.addMap({
    name: 'castles',
    template: [{
      id: '?s',
      name: '?l',
      depiction: '?d',
    }],
   from: '{ Select * { ?s a dbpedia-owl:Castle ; rdfs:label ?l ; foaf:depiction ?d ; dbpedia-owl:owner ?o . ?o rdfs:label ?on . Filter(langMatches(lang(?l), "en")) . Filter(langMatches(lang(?on), "en")) } Limit 10 }'
});

there is no way to update it. Calling the addMap method again will result in an error:

[ERROR] An attribute / store with name concept0 already exists

In some cases it would be very usefull to update or re-set a mapping for a given name, e.g. via delMap or by just calling addMap again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions