Data Modeling Guide » Discuss

Discussions on Data Modeling Guide

  1.  

    So Started in on Populations In time

    1. So I'm Intrested in seeing populations numbers in time having a good place to exsist... I started with world pop figured that was simple then I thought it should be based on localized data meaning country (county zip) or what ever now I have a headache what do you all think ( i got worried about changing borders time zones bla bla)... oh and this is kinda intresting as a ref/data sourse possible (I just wrote William) ( http://gecon.yale.edu/data.php )

       

       

      Wellstone 

       

       

      http://www.freebase.com/tools/schema/user/wellstone/default_domain/world_population_by_time

      (don't know if/ when that is view able) 

      1. Hi wellstone,

         FYI - most locations include the type statistical region which has a property for population (ECT of dated integer).  If you look at the earth, the value for 2007 has already been inputted.

         

      2. Hip thanks for the heads up....

         

  2.  

    How to add a new property to an existing type?

    1. I've been searching on how to do this as well as experimenting in the sandbox but it's still not obvious to me how to do this. For example, I want to add a user created property Penciler to the type comic_book_issue. Any hints on how to do this?

      Thanks 

      1. You can't add a property to a type unless you are an administrator of that type. 

        It looks like interior artwork is attributed through the issue's Contents property, which links to the comic_story_printing CVT, which links to comic_book_story, which already has properties for penciler and other artists. This was probably done because a single issue might have multiple stories illustrated by multiple artists.

        So, it is already possible to add the penciler of interior artwork but you must do that through comic book story instead of issue. It would be nice though if you also linked story to issue through printing by attributing all those properties too.

      2. Thanks for the reply. It makes sense now, although it would be more discoverable if the comic_book_issue itself also had the Penciler property which could contain all the values from individual stories contained in the issue.

        Is it possible to become a type administrator or can only the freebase employees do this? What's the best way to contact an admin with a suggestion?

         

      3. I'm pretty sure anyone can become an admin for a type with the permission of another admin for that type, although there are different levels of admin now. Your best bet is to start a discussion in the domain or type of interest. You can also add a discussion to one or more of the domain administrator's user name(s) making the request. Otherwise they might not know you are interested. This here is a very general discussion area that may not be watched by the comic book domain administrators.

  3.  

    How can I set "linked in as" for types that I generate


    1. Cannot see how I can set "linked in as" for types that I generate. Is there something that I am missing?

      I'm reading this a bit differently - the (links in as...) label appears in Type Editor for any properties that link from another type. For instance, on the type 'film' there is a property called 'Directed by' which has an expected type 'Director' which links in as 'Films directed'. 'Films directed' is the display name of the property on the other type - so if you want to change that name, and you have the necessary permissions, you can change it on that other type.

      Thanks for your reply

      1. There may be something I am missing: it looks like you’ve answered your own question! (“If you want to change that name, and you have the necessary permissions, you can change it on that other type.”) I’ll try to break it down, though.

        When looking at the schema for a type, you can only edit the properties on that type. The “linked in as” is the name of the reciprocal property on some other type, so you can’t edit that directly; you must visit the other type to change it.

        To create a “linked in as,” a reciprocal property, is very simple. Once you have a property from one type to another, go visit the schema for that other type. At the bottom of the schema editor, you will see “Suggested Properties”; these are un-reciprocated incoming properties from other types. If you edit the name of one of those, you have not only picked up a new property with its “linked in as” already set, you have now changed the “linked in as” on the other type.

        Please note that the schema editor is being redesigned, so the details of this process (though not the fundamental concepts) may change.

        Now, if you don’t have the rights to edit the other type, you’re out of luck. Let’s say you make a private type called Hater with a property called “People Hated” that expects Person. Unless you’re an administrator of the People domain, you can’t reciprocate that property as “Hated By.” And that’s just as well; we don’t want everyone on the system to be able to edit all the types, which is why we have the administrator system in place. If you think that known by whom a person is hated is critical information to the Freebase community, you can ask the People administrators to reciprocate the property, or even to promote your Hater type into their domain.

        Does that help? 

      2. That's actually a good way of explaining reciprocal properties.

        Do you know how much lag time to expect from the time a property is put up, to when the suggested property appears on the other type?

      3. It should be nigh-instantaneous. If you don't see one you expect to see, try refreshing the cache (the F8 key will add a little menu to the bottom of the page -- click the "refresh page" link, then refresh your browser). There is also a bug with suggested properties sometimes not showing up which I believe will be fixed in the next release.

  4.  

    User created types question

    1. Hello,
      I am working on getting all dog breeds properly listed in freebase. I am running into an issue that the type dog breed belongs to a specific user and doesn't have all properties that should be there.

      • Can you help me understand how a user created property is different than a freebase public one?
      • Also, it seems as though i shouldn't see a specific users types other than my own. Could you explain the logic and if there is a way to see data without users types.
      • Finally if a type like dog breed is not public, how can i get one that is public and standardized.

      Hopefull this made sense :)

      Steph

      1. If a user publishes a type, other users will see it; if the user does not, other users will not.

        We will continue to evolve more view filters as Freebase grows, but right now, that’s pretty much it.

        Commenting on Toby’s type was a good start; you may also want to comment on the user’s profile itself to bring it to his attention.

        The general model is that a user (you, Toby, or anyone else) prototypes a type in their private domain and experiments with it a bit. Then the user publishes it and invites other users to try it out. Then the user requests that the administrators of an appropriate domain promote the type, or requests creation of a new domain if the subject is complicated enough.

        I recommend the data modeling mailing list for these collaborations. 

  5.  

    Lists - Best way to handle.

    1. Hello,
      I have been thinking about lists and have a few questions. First, there are many lists in Wikipedia as i am sure you are aware. If I would like to bring the contents of those lists along with other lists into freebase, what is the best way?

      I see two options:
      1) Create a type of "list" with properties of "list values. Topics would be things like:
      List of Hot Air Balloon Festivals
      List of Billboard hot 100 songs 1988
      etc

       2) Insert a new property in Musical Track called "awards/accolades." and then allow for a bulk import of song and property list.

      Let me know your thoughts!

      Thank you :) 

      1. Welcome to Freebase, Stephanie! It’s good to see you’ve been exploring and making some useful contributions.

        1) We’ve actually been trying to avoid the “List of Foo” topics from Wikipedia; in general, we feel that they are a compensation for Wikipedia’s lack of structure. The Freebase type system generally provides a better way to organize that kind of information.

        For example, if there were a Hot Air Balloon Festival type (which there will be as soon as any Freebase user is interested enough in hot air ballooning to create it), then the List of Hot Air Balloon Festivals would simply be the list of instances of that type. Even better, it could be sorted or queried by any of the properties that the type provides, such as date or location.

        The Billboard list is a more interesting case. That’s not really just a list; it’s also an assertion of a special status of its members as distinguished from their peers, a kind of award or recognition. There is currently some interesting discussion on how to approach list-type awards (such as the AFI 100 list of films or the Fortune 500), which would be applicable here. I don’t know what the right answer is right now.

        2) Any Musical Track could be co-typed as an Award-Winning Work and the awards thus attached. That said, I am leery of mass imports of Musical Tracks (as opposed to Songs or Compositions) because reconciliation is so very difficult. If this area interests you, I strongly recommend joining the Music Modeling Interest Group and/or the data-modeling mailing list.

        Thanks for your suggestions and questions!

      2. Hey,
        Thanks so much for your reply. I guess the real question has to do with importing this information. I have a group of people who are able to start adding data to freebase, but we want to do bulk imports instead of doing it by hand. I guess this is essentially adding topics of a certain type or adding properties to an existing topic in bulk. Can you tell me who i should ask about how to format this and upload?

        Thanks!

      3. This is as good a place as any to ask.

        Through the UI, there is a list import option when viewing any type, or any property that allows more than one value. That allows users to paste or upload a tab-delimited list and walks them through the reconciliation process.

        The API can also be used for scripted uploads, although in that case either topics need to be pre-reconciled, or the queries need to be sufficiently well-structured to make it probable that duplicates will not be created.

        Reconciliation—the notion that there is one Freebase topic for any singular real-world concept—is both Freebase’s power and its challenge, and we spend a lot of time working on tools to make that process easier. (There should be a blog post about the reconciliation service very soon, for instance..)

  6.  

    Compound Types

    1. I'm trying to figure out why the type I just made for movie theaters is not showing correctly. When I add Educational Institution, the Street Address type is a horizontal list of data. I tried to duplicate that behavior for the "Auditorium" type in the "Movie Theater" type, but when I try to add an "Auditorium", it shows a blank GUI element and doesn't let me type in any data.

       What is the correct way to set up something similar to the "Street Address" type?

      1. Nevermind, I was not checking the "use as disambiguation" checkmark.

  7.  

    Skool Daze

    1. One thing that many alumni seem to go crazy over is their school sports team.  But I don't see a simple way to associate teams with their school.

      Should "Sports Team" be a property of College / University?  Or a separate type of its own?

      1. I don't think anyone has made an attempt to model collegiate (or other school-level) athletics. Feel free to take a stab at it. There are a lot of types in the sports domain that could probably be pulled in as included types.

  8.  

    Using WordNet / Topics vs. Types

    1. I've been looking at the merits of putting some of the WordNet data in FreeBase, as others before me have discussed in the 'Data Sources' discussion. It seems to me that the greatest benefit of using that data (which is an English dictionary enriched with semantic relations between words) would be to help semantically link concepts in FreeBase.

      Semantically linking concepts... I'd translate that as subtyping types. For example, both a talaria and a flip-flop are types of sandals, which is a type of shoe. Therefore, you could create a 'Sandal' type and have it include the 'Shoe' type. Unfortunately, those types wouldn't have any properties. Still, the big advantage is that you could now query for a shoe and also find all the sandals.

      The thing I can't figure out is whether you can add that type to any objects. There is a 'Talaria' topic, so you could add the 'Sandal' type to that, but isn't 'Talaria' a type as well? I guess Talaria was created because of the Wikipedia import, and it could be useful to express what a talaria is, but then I'd say it's both a type and a topic.

      Any thoughts on this?

      1. "person" is another example of this.  There is a "person" type in freebase.  There is also a "person" topic (which references the wikipedia article on
        person") 

         The way this is currently handled is: the topic and the type are two different objects in freebase.  The topic is marked as an instance of a type called: "type/domain equivalent topic". This may seem a little odd but I think it's a way of clearly separating types from topics.

         Whether a topic, such as "Talaria" merits having an equivalent type is up for debate. We're talking about a mythical, arguably fictional thing that is probably only talked about as a concept, i.e. no one talks about *that* particular Talaria and how fine it was.  What would be an "instance" of talaria? I don't think there's any practical value of having such a type.

        So, by this criteria, having a type "Sandal" is practical: instances could include consumer products (e.g. "The Birkenstock Arizona") And the "Sandal" type could be included by another type "Huaraches" referring to the subset of sandals found mostly in Mexico.

        I'm sorry, I'm not helping with the root question "how could we get WordNet data in freebase"

         

      2. Maybe alternatively create a 'WordNet entry' type, add that to the topics that are listed in WordNet and add such fields as 'hypernyms', 'hyponyms', 'meronyms', et cetera.

        Or is that too specific to one data source?

         

         

      3. I think that Freebase’s internationalization makes a difference here; to me, words should be distinct from concepts, but connected. For instance, the topic for dog has names in multiple languages (page down in the Explore view), and not everything that WordNet will have to say about “dog” will apply to the organism. I would make a type for Word (with a “Language” property) or for English Word to use for WordNet topics, and link the Word instances with the topics that they describe in English.

        The hypernym/hyponym relationships apply not only to the words but to the topics themselves (e.g., that “dog” is a hyponym of “animal” implies that a dog is a kind of animal), and that information could be applied to the topics themselves, but the words have, IMO, an independent existence.

      4. WordNet keeps separate relationships for each of the senses. Still, it'd be hard to map those, maybe.

      5. Well, sure, “dog” the animal and ”dog” to secure a hatch have different WordNet entries. But there are still things that one can say about “dog,” the word referring to the animal, that aren’t true of “chien” (and vice versa), while that is not the case for dog/chien/hund/etc. as a concept, especially etymological observations.

        This is a project I find exciting, but it (like most interesting projects) is hard to do right. 

  9.  

    Can Properties in a Type be made dynamic?

    1. I ran into this use case today. A village in India is associated with terms like District, Taluk, Panchayat. However, a village in other countries might not have these properties (they would however be associated with other relevant properties like County etc.,).

      Is it possible to make the properties in the type 'Village' dynamic? If the property 'Country' is of the value 'India', then properties like 'District' and 'Taluk' should be enabled. 

      Right now the only option is to create a type called "Indian village". This leads to multiple types. "Japanese village" exists already.

      Thanks,

      Wes.

      PS: . Each state in India, is divided into districts(counties). Every district is divided into taluks(also called 'zillas') on basis of government revenue collection. Villages in a taluk are grouped into panchyats for local administration. 

      1. Properties are not dynamic in Freebase. The way administrative hierarchies work in Freebase is by use of the "contains" and "contained by" properties on the type "location". All administrative subdivisions should also be typed with their appropriate type. In the case of India, these would be Indian state, Indian union territory, Indian district, Indian division, and Indian sub-division (which, following the usage of the Indian census, should include areas variously known as sub-division, tahsil, C. D. block, circle, R. D. block, taluk, and commune panchayat, depending on which state they're in).

        If more are needed for sub-subdivision levels, they can be created -- I modeled these largely off the Indian census data, with some input from Wikipedia.