[Developers] cyclic included_types relationships

augusto callejas acallejas at appliedminds.com
Wed Dec 10 19:45:51 UTC 2008


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"
}
===
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20081210/318c545f/attachment.htm 


More information about the Developers mailing list