[Data-modeling] Modeling nutritional information

John Giannandrea jg at metaweb.com
Mon Aug 25 04:52:16 UTC 2008


There is already a nascent type for Consumer product
http://www.freebase.com/type/schema/business/consumer_product

It would make sense to add  a GTIN number property there and co-type  
the food products.

Ideally the GTIN's should be added as keys, in an enumerated namespace.

In fact someone already suggested exactly this.
http://www.freebase.com/discuss/threads/guid/9202a8c04000641f80000000083155d8?domain=/business

If no-one objects I can set this up...

-jg


On Aug 24, 2008, at 12:22 PM, Mohammad Al-Ubaydli wrote:
> Hi all,
> I am starting a model of nutritional information on food labels and  
> can tell that I am doing it wrong even after reading the  
> documentation... Could someone help me with this model?
>
> http://www.freebase.com/view/user/idiopathic/nutritional_information
>
> What I want is for someone to easily type in the barcode of a food  
> item and get back the full nutritional information. So I made two  
> types, one called "Retail data", and the other "Nutritients". The  
> "Nutrients" type includes the "Retail data" one.
>
> However, when I try to add a record, it insists on a name. I tried  
> this one:
>
> http://www.freebase.com/view/guid/9202a8c04000641f8000000008ffa1d8?domain=%2Fuser%2Fidiopathic%2Fnutritional_information
>
> Apart from telling you all what I had for lunch today, this does not  
> seem to me like a sustainable naming strategy. The primary key of  
> each entry should be its barcode, not the compound name of the  
> product and retailer.
>
> What am I doing wrong, and how should I fix it? (If anyone would  
> like to help me fix this, I would be delighted to invite you to  
> administer the domain with me of course.)
>
> Many thanks for any help, and my apologies in advance for being such  
> a newbie.
> mohammad
>
> Dr. Mohammad Al-Ubaydli
> e me at mo.md
> w www.mo.md
> _______________________________________________
> Data-modeling mailing list
> Data-modeling at freebase.com
> http://lists.freebase.com/mailman/listinfo/data-modeling

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/data-modeling/attachments/20080824/e7c6ba76/attachment.htm 


More information about the Data-modeling mailing list