"Eduardo H. Silva" <hoboprim...@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/
pgpY5UvsHYHj8.pgp
Description: PGP signature
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel