Re: [Tracker] Editing a tag: SPARQL help wanted


 this is not the first time we hear that request. We have two options

1. add extra properties on nao:Tag
2. make nao.Tag subclass of InformationElement

 i think 2. is fine. Any other suggestion? we can change that for the
next week release.


On 4/9/10, Debarshi Ray <debarshi ray gmail com> wrote:
In Solang, the nao:Tags are sometimes nie:InformationElements too to
allow the user to add some textual comment or description to the tags
in addition to the nao:prefLabel, which is more like the name of the

Right now we are using the following piece of SPARQL to edit these
tags, which is broken because tags are not always

  <urn:XXX:ZZZ> nao:prefLabel 'Old Label' ;
  nie:comment 'Old Comment' .
  <urn:XXX:ZZZ> nao:prefLabel 'New Label' ;
  nie:comment 'New Label' .

What is the best way to do this?

"Nearly all men can stand adversity, but if you want to test a man's
character, give him power."
    -- Abraham Lincoln
tracker-list mailing list
tracker-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]