[Data-modeling] Reciprocating links with types that include the return type
Ed Laurent
spatial.db at gmail.com
Wed Nov 26 18:48:16 UTC 2008
Thanks for the info Chris. I think I figured out what I need to do...
I added the container type as an Included type of each of its Included types
(circular logic) and that seems to work just fine. The only reason I wanted
to reciprocate to the container type was so that all the Included types were
added whenever one of them was.
The reason I want to keep the properties on the Included types instead of
linking directly to the container type is because I am modeling a Standard,
so some people will expect to find certain properties grouped together when
entering data in the UI and there are logical reasons for those groupings.
I haven't used delegated properties yet and didn't realize that their return
links were also delegated. That's good to know. However, I think in this
particular case that the circular Included typing might be the simplest
solution.
-Ed
On Wed, Nov 26, 2008 at 11:46 AM, Christopher R. Maden <crism at metaweb.com>wrote:
>
> No, not currently. A property is an object in Freebase like any other, and
> a reciprocation is just a link between two properties. Given that the
> outbound property is attached to a particular type, the reciprocation is
> necessarily to a property of that type.
>
> This makes me wonder, though, why it would make sense to reciprocate a
> property that way. If you use the reciprocal, it could link to a bunch of
> things, and then what does the main property look like?
>
> So here's another suggestion. Put the primary property on the included
> type. Reciprocate it on its target. Then you either get the property on
> the types that include it, or you could hide it on the main type, but then
> explicitly delegate it to the ones that include it if you want to give it
> different names.
>
> ~Chris
> --
> Christopher R. Maden
> Data Architect
> Freebase.com: <URL: http://www.freebase.com/ >
> Metaweb Technologes, Inc. <URL: http://www.metaweb.com/ >
> _______________________________________________
> 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/20081126/405e6628/attachment.htm
More information about the Data-modeling
mailing list