Hi, thanks for all the replies, links and ideas.
Leo, check www.vazaar-project.org. There I've setup a blog with some
info about my program. Basically what I want to do is an easy personal
information manager. As an IT worker I have to collect and manage a
lot of information. I've been looking how to achieve this task for
years. First, I tried with XML but it wasnt flexible enough. Later I
discovered the Semantic Web with Dublin Core and searching a little
bit about semantic desktops I found Nepomuk which fits perfectly with
my ideas.
One of my ideas is to build a tagging system inside the program.
Before reading all your suggestions I used nao:hasTag and uniques
strings. This is a real example about how I deal with tags inside a
resource (in this case the resource it's a link to my weblog)
<nfo:Website rdf:about="vazaar://377504a0-4da8-4b1e-a453-eb86dd371e23">
<nfo:filePath>/blog/</nfo:filePath>
<nfo:fileScheme>http</nfo:fileScheme>
<nfo:fileUrl>http://www.vazaar-project.org/blog/</nfo:fileUrl>
<nfo:fileStatus>200</nfo:fileStatus>
<nao:created>2009-09-28 01:19:24</nao:created>
<nie:mimeType>text/html</nie:mimeType>
<nao:lastModified>2009-09-28 01:19:24</nao:lastModified>
<nfo:fileNetloc>www.vazaar-project.org</nfo:fileNetloc>
<nie:mimeMedia>text</nie:mimeMedia>
<nfo:fileHostname>www.vazaar-project.org</nfo:fileHostname>
<nao:hasTag>vazaar</nao:hasTag>
<nao:hasTag>pim</nao:hasTag>
<nao:hasTag>pygtk</nao:hasTag>
<nao:hasTag>python</nao:hasTag>
<nao:hasTag>rdflib</nao:hasTag>
<nao:hasTag>nepomuk</nao:hasTag>
<nie:mimeSubtype>html</nie:mimeSubtype>
<nie:title>Vazaar Project Blog</nie:title>
</nfo:Website>
I'm not happy with this solution, only. One more time I'm tagging
resources but I don't know what the tag means. Also, tags are strings
and not URIRefs. I would prefer think in tag as another resource. As
far as I read I haven't found an unified vision for tagging systems.
So, if I have understood what you say in the FAQ, I should use
pimo:Tag which allow me use other _resources_ as tags. But which
resources can become Tags? PIMO Ontology docs says that "Documents
should not be Tags by default". So I will have to define a set of
resources which are allowed to become Tags. But I'm not happy with
this solution. Even I am not sure if Documents can not be Tags aswell.
I think that if I can use a Person as Tag I should be able to use
other kind of resources.
Then, my personal solution is to combine both versions and consider
Tags as single resources. That would let the user to use strings as
tags (eg.: keywords extracted from websites) or to use other resource
in her semantic database.
>From these thoughts:
<!-- tagged resource -->
<nfo:Website rdf:about="vazaar://377504a0-4da8-4b1e-a453-eb86dd371e23">
<nie:title>Vazaar Project Blog</nie:title>
[...]
<nao:hasTag>vazaar://00000000-0000-0000-0000-000000000000</nao:hasTag>
<nao:hasTag>vazaar://11111111-1111-1111-1111-111111111111</nao:hasTag>
<nao:hasTag>vazaar://22222222-2222-2222-2222-222222222222</nao:hasTag>
</nfo:Website>
<!-- first tag: a string -->
<pimo:Tag rdf:about="vazaar://00000000-0000-0000-0000-000000000000">
<nie:title>Personal Information Manager</nie:title>
[...]
</pimo:Tag>
<!-- resource as tag -->
<nfo:Website rdf:about="vazaar://11111111-1111-1111-1111-111111111111">
<nie:title>NEPOMUK - The Social Semantic Desktop</nie:title>
<nfo:filePath>/xwiki/bin/view/Main1/</nfo:filePath>
<nfo:fileScheme>http</nfo:fileScheme>
<nfo:fileUrl>http://nepomuk.semanticdesktop.org/xwiki/bin/view/Main1/</nfo:fileUrl>
<nfo:fileStatus>200</nfo:fileStatus>
<nao:created>2009-09-29 14:29:41</nao:created>
<nie:mimeType>text/html</nie:mimeType>
<nao:lastModified>2009-09-29 14:29:41</nao:lastModified>
<nfo:fileNetloc>nepomuk.semanticdesktop.org</nfo:fileNetloc>
<nie:mimeMedia>text</nie:mimeMedia>
<nfo:fileHostname>nepomuk.semanticdesktop.org</nfo:fileHostname>
<nao:hasTag>vazaar://22222222-2222-2222-2222-222222222222</nao:hasTag>
<nie:mimeSubtype>html</nie:mimeSubtype>
</nfo:Website>
<!-- other tag: a string -->
<pimo:Tag rdf:about="vazaar://22222222-2222-2222-2222-222222222222">
<nie:title>semantic desktop</nie:title>
[...]
</pimo:Tag>
I'm not sure if the above code fits with the specifications but it is
more or less what I have in mind. Also, I'm very interested to know if
I'm using the proper model. Reading the other replies and other
websites I've realized that there is a world of applications using
semantic web technologies (soprano in KDE, Tracker in GNOME, etc...).
One milestone of this program would be to implement a sparql endpoint
to share information.
I would like to share more ideas. Tags are not the main problem in my
project. Topics, Collections and other Things keep me very busy too.
But I'll leave them for next mails.
Regards,
Tomás Vírseda
2009/9/25 Leo Sauermann <[email protected]>
>
> Hi,
>
> as others may be interested in this discussion, I am also including xesam
> (= the ontology developers list)
>
> I was a bit slow to answer, sorry.
>
> Tomás - what are you programming? do you have a url or a blogpost about your
> work?
>
> nao:Tag is for systems that just use NAO/NIE and are fine with no-brainer
> solutions.
> a nao:Tag has the semantic meaning of : the tag is a string. its unique.
>
> pimo:Tag is for systems that want to achieve a highlevel integration of
> Addressbooks, Calendars, Websites, etc... into a semantic network. pimo:Tags
> are then not only tags, but can be also a pimo:Person - that is, you can use
> a person's name to tag something but - surprise - it is also a person.
> now clicking on the person will get more...
> a pimo:Tag has the semantic meaning of : the tag is a unique string which is
> also a Thing out of the real world which can have more attributes.
>
> I also documented this here in the FAQ
> https://sourceforge.net/apps/trac/oscaf/wiki/PIMO/FAQ#Whatisthedifferencebetweennao:Tagandpimo:Tag
>
> best
> Leo
>
>
>
> It was Tomás Vírseda who said at the right time 12.09.2009 23:50 the
> following words:
>>
>> Hi,
>>
>> I'm confused about pimo:Tag and nao:Tag classes described in their
>> respective ontology. Which is the difference between these two clases?
>> I'm reading the ontologies documentation but I can't still figure out
>> how they should be used. I'm developing a tagging system in a
>> application and I would like to use Nepomuk.
>>
>> About pimo:Tag description:
>> "Tags in the context of PIMO. A marker class for Things that are used
>> to categorize documents (or other things). Tags must be a kind of
>> Thing and must have a unique label. Documents should not be Tags by
>> default."
>>
>> About nao:Tag description:
>> "This class is useful for modelling conventional tagging practices.
>> The user can tag resources in conventional ways, automatically
>> creating an instance of this tag, which is then related to the
>> annotated resource via the nao:hasTag property. For more on tagging as
>> annotation see Section 2.3.". I've read this section and the
>> explanation is very convincing.
>>
>> Thanks in advance.
>> Kind regards
>>
>> --
>> Tomás Vírseda
>> _______________________________________________
>> people mailing list
>> [email protected]
>> http://lists.semanticdesktop.org/mailman/listinfo/people
>>
>>
>
>
> --
> _____________________________________________________
> Dr. Leo Sauermann http://www.dfki.de/~sauermann
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz DFKI GmbH
> Trippstadter Strasse 122
> P.O. Box 2080 Fon: +43 6991 gnowsis
> D-67663 Kaiserslautern Fax: +49 631 20575-102
> Germany Mail: [email protected]
>
> Geschaeftsfuehrung:
> Prof.Dr.Dr.h.c.mult. Wolfgang Wahlster (Vorsitzender)
> Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats:
> Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> _____________________________________________________
>
_______________________________________________
Xesam mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xesam