Discussions on Basketball
Start a New Discussion
-
-
There was a problem retrieving the post content.
-
There's a type for web sites, so you could use that if the web site is the main focus. If it's something like the NBA or a specific team which has a web site, you can add the web site to the web links section for the topic. If neither of those approaches seems appropriate, perhaps you could describe a little bit more about the type thing you are thinking of.
-
if the scope of the entire basketball base is NBA, that seems pretty narrow
-
The description of the base says "Currently the data is focused on the NBA, but ultimately international, collegiate, men's and women's basketball information should be captured here."
If the schema is not adequate for what you'd like to do, propose some changes. If you'd like more diverse data, add it.
You could start your own base called "non-NBA basketball" or some such, but I think there'd be more synergy from having everything in one place.
-
-
-
Hello,
I just updated the rosters for the 2009-2010 season, since what was in there was 2008-2009. However a question came up. There are a number of players that are no longer on a team, but I was unable to delete their /basketball/basketball_roster_position entry. The mql docs covered deleting connections, but not deleting nodes, so all i could do was delete the connection. See for example http://www.freebase.com/view/en/maceo_baston , no longer assigned to a team, but still has a number and position. Don't know how to delete that node. What's the right thing to do here?
Ken
-
Thanks for adding data to Freebase! It's great to have fresh, tasty new data, but it's a REALLY good idea to test changes that you are unsure of on the sandbox (www.sandbox-freebase.com) before letting them loose on the live database.
In this case, if you look at the Basketball schema, you'll see that players and teams are connected by an intermediary object called a Compound Value Type (CVT) with a type of /basketball/basketball_roster_position. An example is http://www.freebase.com/view/guid/9202a8c04000641f8000000004349e44 which is now linked on one end to the player P. J. Brown, but is dangling on the other end. Removing the playerbasketball_roster_position link will cause this info to disappear from the player topic.
I'm not sure what the best practice here is though. You could also null out the fields which are no longer relevant. That would preserve the CVT for use to be filled in for a future use. If you are going to unlink it totally, you probably also want to remove all its other values (type, etc), so it doesn't confuse future queries which are incompletely specified.
If you weren't aware of the intermediary CVTs, I'm wondering what the new roster links look like. Did you create /basketball/basketball_roster_position objects to hold them or are players linked directly to teams (which wouldn't match the schema, but MQL will allow you to do)?
-
Great, I had no idea about the sandbox. I was nervous making the changes on the live site, will use the sandbox going foward to for stuff like this.
For players new to the NBA, I did create a CVT. And for those that just changed teams, I updated the CVT. But I'll null out all of the fields for the ones I removed, which I think is the best course of action.
Thanks for the help.
-
-
-