That's interesting. But where is the display of the data defined?
-Yaron
On 4/16/07, Michael Backhaus <[EMAIL PROTECTED]> wrote:
Hi,
On 15.04.2007, at 21:21, Yaron Koren wrote:
> The problem I see with these (and with BOWiki's) is that they don't
> define the data; there's no identifier for the relation of most of
> these sub-fields.
In BOWiki so called 'roles' are used to specify the part an object
has in a certain relation. Roles structure the arguments in a n-ary
relation, which allows an arbitrary order, while it also allows to
order the arguments, for example in case of further reasoning. Roles
are declared in a relation, using the following syntax:
[[relation::role=object]]
Further, n-ary relations are represented in the BOWiki by
instantiaion of relations, which is conform with the suggestion of
the W3C (http://www.w3.org/TR/swbp-n-aryRelations/). The ID of the
relation instance is used to store and restructure the objects of a
relation in the wiki and database.
In the DB of the Semantic MediaWiki, a suggestion would be to use
relation instantiation (perhaps in another table), while the
smw_relations table could be extended by one column to hold the
relation_instance_id, allowing to restructure n-ary relations by
changes to the necessary smw functions.
An example like the one suggested by MovGPO and Yaron could be writen
by using roles:
[[has president::Person=Richard Nixon; start of term=1969; end of
term=1974; reason for end=Watergate scandall]]
Although this would treat the years 1969 and 174 as objects, which
could be a matter of conception, it would allow for an interesting
semantic search on all 'reason for end', or even an inline querry
listing all persons that have been president including start and end
term, reason, etc.
Cheers,
Michael
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user