[Developers] inconsistent /sports/sports_team_location schema?

Bryan Cheung bryan.cheung at metaweb.com
Tue Nov 18 04:32:59 UTC 2008


Hi Augusto,

I think you're right.  DA-473 added the type sports team location, and  
it looks like updating the ECT was overlooked.  I have now fixed that  
- thanks for noticing!

Bryan


On Nov 17, 2008, at 5:04 PM, augusto callejas wrote:

> hi-
>
> i noticed that "/sports/sports_team_location" has a property "teams"  
> that points
> to the type "/sports/sports_team", but "/sports/sports_team" has the  
> property
> "location" that doesn't point back to "/sports/ 
> sports_team_location", but to
> the more general "/location/location".
>
> shouldn't:
>
> 1) the expected type of "/sports/sports_team/location" be "/sports/ 
> sports_team_location"
> and not "/location/location"?
>
> 1) the reverse property of "/sports/sports_team_location/teams" be "/ 
> sports/sports_team/location"
> instead of null as shown below?
>
> thanks,
> augusto.
>
> ===
> {
>   "id" : "/sports/sports_team_location",
>   "properties" : [
>     {
>       "expected_type" : "/sports/sports_team",
>       "id" : "/sports/sports_team_location/teams",
>       "reverse_property" : null
>     }
>   ],
>   "type" : "/type/type"
> }
> ===
>
> ===
> {
>   "id" : "/sports/sports_team",
>   "properties" : [
>     {
>       "expected_type" : "/location/location",
>       "id" : "/sports/sports_team/location",
>       "reverse_property" : "/sports/sports_team_location/teams"
>     }
>   ],
>   "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/20081117/c6418577/attachment-0001.htm 


More information about the Developers mailing list