[Sugar-devel] Call for testing and feedback: alternative Journal implementation

Sascha Silbe silbe at activitycentral.com
Mon May 14 18:29:48 EDT 2012


"Eduardo H. Silva" <hoboprimate at gmail.com> writes:

> I have a question, could activities add new entries to the semantic
> datastore? For example, Paint and Write when installed would add these
> items:
>
> Painted a picture of,IsActionOf,Paint
> Wrote,IsActionOf,Write
>
> Then you could use this information to be used in the Diary-like view
> of the Journal
> (http://wiki.sugarlabs.org/go/Design_Team/Designs/Journal):
[...]

FWIW, the same thing is possible using the existing data store. You can
store arbitrary metadata as key=value pairs. We can also teach
sugar-datastore to index a new property called "type" that would allow
us to distinguish between objects to show in the Journal (Object View)
and other kinds of entries, e.g. to store some information about actions
that may not naturally be coupled to an individual entry.

The power of SemanticXO comes from the combination with existing Linked
Data / Semantic Web data sets, not from extending the data store to
store triples instead of pairs or providing a potentially turing
complete ;) query language in addition to Xapian full text searches.

Come to think of it, maybe the same goal would be better achieved by a
kind of proxy that listens to data store updates, feeding them to a
triple store. Most Activities would use the (probably more performant
and definitely easier to test) data store API, whereas Activities that
benefit from the power of Linked Data can query the triple store via
SPARQL.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120515/aff843c3/attachment.pgp>


More information about the Sugar-devel mailing list