[Developers] consistency in reverse properties

augusto callejas acallejas at appliedminds.com
Thu Dec 11 19:40:31 UTC 2008


hi-

given the queries below, the properties "/base/landcover/code_category/ 
location_s"
and "/base/litcentral/focal_location/generic_landscape_description"  
are reverses of
each other.

"/base/landcover/code_category" --("location_s")--> "/base/litcentral/ 
focal_location"

"/base/litcentral/focal_location" --("generic_landscape_description")-- 
 > "/base/landcover/geographical_feature_category"

however, shouldn't the expected type of  
"generic_landscape_description" property be
"/base/landcover/code_category" and not "/base/landcover/ 
geographical_feature_category"?

in general, shouldn't the expected type of a reverse property be the  
type that the property belongs to?

thanks,
augusto.

===
{
   "expected_type" : null,
   "id" : "/base/landcover/code_category/location_s",
   "master_property" : null,
   "reverse_property" : null,
   "type" : "/type/property"
}
---
{
   "expected_type" : "/base/litcentral/focal_location",
   "id" : "/base/landcover/code_category/location_s",
   "master_property" : "/base/litcentral/focal_location/ 
generic_landscape_description",
   "reverse_property" : null,
   "type" : "/type/property"
}
===

===
{
   "expected_type" : null,
   "id" : "/base/litcentral/focal_location/ 
generic_landscape_description",
   "master_property" : null,
   "reverse_property" : null,
   "type" : "/type/property"
}
---
{
   "expected_type" : "/base/landcover/geographical_feature_category",
   "id" : "/base/litcentral/focal_location/ 
generic_landscape_description",
   "master_property" : null,
   "reverse_property" : "/base/landcover/code_category/location_s",
   "type" : "/type/property"
}
====
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20081211/3426e178/attachment-0001.htm 


More information about the Developers mailing list