Re: [Tracker] Zeitgeist ontology and Tracker

On 22/03/11 23:12, Philip Van Hoof wrote:
On Tue, 2011-03-22 at 21:15 +0100, Mikkel Kamstrup Erlandsen wrote:
Hi all,


While comparing the two, here are some examples:

o. zg: {} : In Tracker we don't allow brand specific namespaces. NEO is
    the namespace that we chose for this (New Event Ontology).

o. Those "Please do no instantiate directly, but use one of the sub
    classes." - like rules are not ok for us

o. zg:eventId : We don't allow such IDs in the ontology. And ID means
    that it's referring to something. A "something" is a rdfs:Resource.

    ps. If you want to use integral IDs in your framework, you can use
        tracker:id() on the resource

I agree with Philip here,

o. zg:timestamp rdfs:range xsd:long: xsd:integer is int64 in Tracker, I
    think we don't even support xsd:long as type atm

o. zg:hasSubject: must be nie:InformationElement as range

Philip, we already have nie:subject, doesn't it make more sense for the Zg team to just filter based on the existence of nie:subject instead of having a boolean to check that?

o. zg:hasActor: I think it should also be a nie:InformationElement as
    range, but in NEO we apparently didn't fix that. No idea why.

o. The rules for zg:hasActor are in conflict with our own .desktop miner

I see, yes, there is some overlap. IMO, it makes more sense to use:

        a rdf:Property ;
rdfs:comment "The application or entity responsible for emitting the event. For applications the format of this field is the base filename of the corresponding .desktop file with an app:// URI scheme. For example /usr/share/applications/firefox.desktop is encoded as app://firefox.desktop" ;
        rdfs:domain zg:Event ;
        rdfs:range nfo:FileDataObject ;
        rdfs:label "actor" ;
        nrl:maxCardinality "1"^^xsd:nonNegativeInteger .  zg:actor

But if you need to use anything other than a desktop file, we might want to change the range back to rdfs:Resource.

Either way, linking to the urn of the desktop file here makes sense.

o. zg:hasEventManifestation: rdfs:type? What is that? rdf:type? In our
    fixed version we just removed this.

Good question, what is that?


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