From: Patrick N. <ma...@pa...> - 2010-04-05 14:17:02
|
On 2010-04-05 14:08 UTC Patrick Nagel wrote: > If you want to do direct semantic queries on those date parts, for example > to show all people born between 1940 and 1950, you need to store the date > parts in separate semantic properties though (Property:Birth year, > Property:Birth month, Property:Birth day or something like that). Correction: A query "all people born between 1940 and 1950" is of course also possible if the whole date is stored in a property (of Type::Date). A better example for queries that require storing the date parts in separate properties would have been: "Who has his/her birthday today?" - You can then simply query against the month and day properties. Patrick. -- Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4 |