[Developers] consistency in reverse properties

Ed Laurent spatial.db at gmail.com
Fri Dec 12 18:53:20 UTC 2008


You are right, something funky is going on here. My modeling habits, some
bugs we're trying to track down, and my propensity to model around bugs with
schema patches that I don't always revisit like I should, all probably have
something to do with it. I'm going to take a detailed look at some of my
latest schema this weekend and clean them up as best I can. However, there
are some foundational schema that I often use as included types (e.g.,
"Focal location", "Coordinated program") that are causing errors and we're
trying to figure out why. This issue you identified appears to be another
clue that might help us figure out what is going on.

-Ed


On Thu, Dec 11, 2008 at 2:40 PM, augusto callejas <
acallejas at appliedminds.com> wrote:

> 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"
> }
> ====
>
> _______________________________________________
> 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/20081212/5ca297cf/attachment.htm 


More information about the Developers mailing list