← Back to team overview

zeitgeist team mailing list archive

[Merge] lp:~ted/zeitgeist/action-events into lp:zeitgeist

 

Ted Gould has proposed merging lp:~ted/zeitgeist/action-events into lp:zeitgeist.

Commit message:
Add ontology data for adding action usage in the ZG DB

Requested reviews:
  Zeitgeist Framework Team (zeitgeist)

For more details, see:
https://code.launchpad.net/~ted/zeitgeist/action-events/+merge/153590

This merge adds a couple of entries that could be used to store application action usage into the ZG database.  In casual usage these could come from toolbar or menu usage, or on Unity, usage through the HUD.  This allows for ranking the action usage externally for things like recently used actions or choosing toolbars based on commonly used items.

An entry would then end up something like this:

Event timestamp: 12345
Event interpretation: http://www.zeitgeist-project.com/ontologies/2010/01/27/zg#AccessEvent
Event manifestation: http://www.zeitgeist-project.com/ontologies/2010/01/27/zg#UserActivity
Actor: application://my-app.desktop
Subject: action:///app/my-action
Subject title: "Do this"  # User visible name of the action
Subject interpretation: http://www.semanticdesktop.org/ontologies/2007/03/22/zg#ApplicationAction
Subject manifestation: http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SoftwareService
-- 
https://code.launchpad.net/~ted/zeitgeist/action-events/+merge/153590
Your team Zeitgeist Framework Team is requested to review the proposed merge of lp:~ted/zeitgeist/action-events into lp:zeitgeist.
=== modified file 'data/ontology/zg.trig'
--- data/ontology/zg.trig	2011-12-31 13:30:23 +0000
+++ data/ontology/zg.trig	2013-03-15 16:20:25 +0000
@@ -73,7 +73,11 @@
     a rdfs:Class ;
     rdfs:comment "Event triggered when a resource has been moved from a location to another. Fx. moving a file from a folder to another.";
     rdfs:subClassOf zg:EventInterpretation.
-    
+
+zg:ApplicationAction
+	a rdfs:Class ;
+	rdfs:comment "Representation of a specific Action on an Application";
+	rdfs:subClassOf nie:InformationElement.
 
 # manifestations
 


Follow ups