[Data-modeling] Structured or typed weblinks?
Don Jackson
freebase-data at clark-communications.com
Sun Apr 12 20:19:34 UTC 2009
On Fri, Mar 20, 2009 at 11:37 AM, Christopher R. Maden
<crism at metaweb.com> wrote:
> The Freebase data model allows specific roles to be assigned to
> weblinks; this is done by creating a property with a URI value or a
> template.
This still sounds good.
Does a template have to be used? The issue in this case is that not
all URIs I
want to use will fit into any sort of structured template schema.
> The question, then, is what rôles are desired for restaurant links?
The roles I would initially propose for restaurants include:
Authorized Website
Menu
Yelp
OpenTable
Boorah
Exterior Photo
Interior Photo
Here are the values I would assign to those links for Manresa
restaurant in Los Gatos:
Authorized Website http://manresarestaurant.com/
Menu http://manresarestaurant.com/menu/Menu.pdf
Yelp http://www.yelp.com/biz/manresa-restaurant-los-gatos
OpenTable http://www.opentable.com/rest_profile.aspx?rid=2026&ref=10003&ttr=1
(this might be ammenable to a template)
Boorah http://www.boorah.com/restaurants/CA/los-gatos/manresa-restaurant/3C09571953.html
On Mar 20, 2009, at 10:06 AM, Tom Morris wrote:
> The mechanism described by Chris is used for the U.S. National
> Register of Historic Places and the Congressional Bioguide entries,
> but one limitation to be aware of is that it currently only allows for
> a single URL to be displayed for each entry. Also, since the template
> is tied to an enumeration, no two restaurants can share the URL. They
> must all be unique in the namespace used for the enumeration. You can
> see some examples at:
>
> http://www.freebase.com/view/en/ted_kennedy
> http://www.freebase.com/view/en/washington_monument
>
> If you're interested in pursuing this approach, there are cookbook
> entries for modeling the enumeration and the URI template, but you'll
> need to do some of the enumeration setup through the explore/explore2
> views since the schema editor no longer supports the method described
> in the cookbook.
I have found the following references about this topic:
http://www.freebase.com/view/en/creating_enumerated_properties
http://www.freebase.com/view/en/creating_uri_templates
But I'm not confident I understand how to implement what I want based
on those entries.
I'd appreciate some further advice or help!
Don
More information about the Data-modeling
mailing list