Thank you Daniel, the new proposal seems to be a great aggregation of the discussion results. I like it a lot.

A few short comments:

* I would drop the Section "Changing the Default item". This is syntactic sugar (meaning, everything that can be done with the #data-item function can also be done without, especially within templates, by using template variables). But it might be tricky as, once the default item is changed within a template, it probably stays changed when we come back from the template, and this might have undesirable side effects. It basically adds a global variable to the page, and we need careful about how using it. This can be avoided by simply dropping the #data-item function.

* The section "Coalescing values" is very interesting, but I think it needs a bit more work and wider discussion. AFAIK usually such values are not coalesced, but rather just listed (which would be covered by the section "Multiple values"). 

* The selection {{#property:population|item=id/q12345}} is ambiguous with {{#property:population|item=en/Germany}} since "id" is also a site code / language code. My first thought would be to drop the id/ in the first case, but I would prefer if in this case we would default to the current site (i.e., if, on the en.wp we could use {{#property:population|item=Germany}} without the "en/"). The second suggestion thus would be to use {{#property:population|id=q12345}} in the first case).

Thanks for the great work, and keeping the discussion together.

Cheers,
Denny


2012/5/29 Daniel Kinzler <daniel.kinzler@wikimedia.de>
Hi all!

Thank you very much for all your input over the last week. I have now created a
new draft, in which I have tried to address you concerns and suggestions:

 <https://meta.wikimedia.org/wiki/Wikidata/Notes/Inclusion_syntax>

The major change is that items are no longer explicitly passed around as data
objects, and the use of templates is not required. Instead, item properties are
addressed directly, optionally also using the ID of the item to access.

Please have a new draft and let me know what you think!

Thanks
Daniel


--
Daniel Kinzler, Softwarearchitekt

Wikimedia Deutschland e.V. | Eisenacher Straße 2 | 10777 Berlin
http://wikimedia.de  | Tel. (030) 219 158 260

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt
für Körperschaften I Berlin, Steuernummer 27/681/51985.



--
Project director Wikidata
Wikimedia Deutschland e.V. | Obentrautstr. 2 | 10963 Berlin
Tel. +49-30-219 158 26-0 | http://wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.