[Developers] cyclic included_types relationships

Ed Laurent spatial.db at gmail.com
Wed Dec 10 20:21:29 UTC 2008


I hope not! At least not until the UI is much more sophisticated.

Circular included types are the only way I've found to group sets of schema
and yet add all the schema within the group when topics are added through
properties of any of the schema within the group.

See:
http://lists.freebase.com/pipermail/data-modeling/2008-November/001233.html

-Ed


On Wed, Dec 10, 2008 at 2:45 PM, augusto callejas <
acallejas at appliedminds.com> wrote:

> hi-
>
> is there a way to enforce during the schema building process that one
> cannot have cyclic included_types relationships?
>
> this example has:
>
> "/base/mapcentral/fgdc_metadata" -> "/base/mapcentral/fgdc_identification"
>
> and
>
> "/base/mapcentral/fgdc_identification" -> "/base/mapcentral/fgdc_metadata"
>
> thanks,
> augusto.
>
> ===
> {
>   "/freebase/type_hints/included_types" : [],
>   "id" : "/base/mapcentral/fgdc_metadata",
>   "type" : "/type/type"
> }
> ---
> {
>   "/freebase/type_hints/included_types" : [
>     "/base/mapcentral/topic",
>     "/common/topic",
>     "/base/mapcentral/fgdc_identification",
>     "/base/mapcentral/fgdc_distribution",
>     "/base/mapcentral/fgdc_spatial_reference",
>     "/base/mapcentral/fgdc_metadata_reference",
>     "/base/mapcentral/fgdc_entity_and_attribute",
>     "/base/mapcentral/fgdc_spatial_data_organization",
>     "/base/mapcentral/fgdc_data_quality"
>   ],
>   "id" : "/base/mapcentral/fgdc_metadata",
>   "type" : "/type/type"
> }
> ===
>
> ===
> {
>   "/freebase/type_hints/included_types" : [],
>   "id" : "/base/mapcentral/fgdc_identification",
>   "type" : "/type/type"
> }
> ---
> {
>   "/freebase/type_hints/included_types" : [
>     "/base/mapcentral/topic",
>     "/common/topic",
>     "/base/mapcentral/fgdc_metadata",
>     "/base/mapcentral/fgdc_data_quality",
>     "/base/mapcentral/fgdc_metadata_reference",
>     "/base/mapcentral/fgdc_identification",
>     "/base/mapcentral/fgdc_spatial_data_organization",
>     "/base/mapcentral/fgdc_entity_and_attribute",
>     "/base/mapcentral/fgdc_distribution",
>     "/base/mapcentral/fgdc_spatial_reference"
>   ],
>   "id" : "/base/mapcentral/fgdc_identification",
>   "type" : "/type/type"
> }
> ===
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20081210/8f83cdb2/attachment.htm 


More information about the Developers mailing list