Markus Krötzsch wrote:
> Moving toward the SMW 1.5.0 release (finally), I came back to this thread, and
> I find that I agree with Jon & Yaron: the name "list" really means something
> different (actually, I might even program support for a real "list" in some
> future).

For an actual list, I'd prefer to see something like:

    <list property="sibling">
    [[sibling::Greg]] is the eldest of [[parent::Mike]]'s boys;
[[sibling::Peter]] is the middle child; and [[sibling::Bobby]] is the
youngest of the three.
    </list>

The idea is that within the list tag, you're requesting that the order
of the item properties be tracked.  I'm going with the tag because of
the ability to specify an attribute for it; this lets you freely mix
ordered properties with unordered ones.  It also lets you specify more
than one property to order into a single sequence (e.g., "brother
sister"); and if you don't specify any specific properties to order,
the default behavior is to order [i]all[/i] properties within the
list's scope.

> So I will go for "record" (and don't ask me about translations to
> other languages; "record" will remain available in all languages and better
> proposals can be made by translators).

Nitpicky personal preference: I'd prefer to have "record" reserved to
mean a collection of named fields, when we get around to that.  A
collection of fields that are accessed by position is more properly
referred to as a "tuple".  As a more generic term, consider "compound
property" to refer to a property that has fields: tuples and records
would be two varieties of compound properties.

> Named fields are not going to be supported for now. To get this kind of
> feature, we would first go for something like internal objects where
> independently declared properties provide the field names for the components
> of a compound. But this is not going to be part of SMW 1.5.0 yet.

Fair enough.  Either way, I'm looking forward to the time when SMW
lets you query by field as well as by property.

-- 
Jonathan "Dataweaver" Lang

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to