So, I ask gently, how insane would it be to either link the blog and website types or somehow combine them? It seems awfully silly to flag something as a blog, and then separately as a website with category of blog.
Discussions on Data Modeling Guide
Filtersonly show threads also posted in:
-
-
-
Is there any way, when creating a topic, to add some of its properties along side it, as for example in The Magnificent Seven episode at the bottom on Next and Previous Episode, when you add the episode, the series and episode number are automatically added in. Is it possible to do that for user-created types, or just have two topics next to each other, as on the above page under Season. Thanks, hopefully all that makes sense.
-
What you're looking for is a "compound value type". You can set up a CVT in the schema editor; there are also some help files that describe a bit more about them, which you should be able to find by searching the help centre.
-
Actually, what you're looking for are disambiguators -- properties with these settings are displayed whenever the type is the expected type of another property. You can set the disambiguator flag when you're creating or editing a property under the heading "set display preferences".
-
-
-
Hi,
How can i get the data that were added from specific date (mqlread)
Tx.
-
You can query against the timestamp, something along the lines of:
[
{
"name" : null,
"timestamp" : null,
"timestamp>" : "2008-08",
"type" : "/film/film"
}
]This returns films that were added this month.
-
To be precise, Bryan’s query will find things that were created this month, which are also of type /film/film. To find new assertions, you have to get a little more complicated.
[
{
"id" : null,
"type" : {
"id" : "/film/film",
"link" : {
"timestamp>" : "2008-08"
}
}
}
]will find things who have had their film type asserted this month.
[
{
"id" : null,
"type" : [
{
"id" : null,
"link" : {
"timestamp>" : "2008-08"
}
}
]
}
]will find things that have had new types added this month. In general, for any property assertion, you can ask about the timestamp on the link.
-
Hi,
Thanks a lot for your help.
-
-
-
I've been slowly adding the historical results of baseball's world series, and in thinking about the 1994 world series, I hit upon a bit of a hurdle: this world series didn't occur.
As a piece of information, this fact seems relevant to me. However, in terms of integrating the "non-event" into the site, it really doesn't fit at all with the structure of all the other world series results, namely, "winner, loser, score", etc.
I guess that my question, then, is how is one to deal with non-events that are nevertheless relevant precisely because of their exceptionalism? The expectation of a world series in 1994, given the pattern set both before and after the cancelled season, separates this instance from all others in its class. However, since the actual event never occurred, I’m not sure if representing it in the current schema is either (i) possible or (ii) desirable.
There are other examples of this kind of expected-but-never-occurred event, notably in sports, and I was wondering if there are any ideas/suggestions on how to represent this type of information.
Thanks-
That's a good point. Just because an event doesn't appear in Freebase doesn't mean you can assume that it didn't occur.
I would model this by co-typing the 1994 World Series topic with a Canceled Event type and then maybe add a property to say why it was canceled.
-
Ditto what Shawn said; a new type seems the best way to handle this. I would also strongly recommend bringing up this discussion on the data-modeling mailing list.
-
cool, thanks for the feedback. I will definitely bring this up on the list.
-
-
-
What is the most appropriate way to link a city to the country in which it is located? I gather that contained by is for the level directly above it and that administrative division is reserved for states, counties, provinces, etc.
-
In some ideal data-world, all administrative divisions for all countries would be entered, with the proper contains/contained by nesting, so that you would only need to add a city's immediate administrative division to assert that it was also in the country that contains the division (or that contains the division that contains the division, etc.). But since we don't (yet) live in such a world, go ahead and use the "contains/contained by" properties.
-
When returned in the query, is there any way to discern which is the top level? i.e. is there any order to the way the data is returned?
-
In your MQL query, you can ask for the types of the topics in the containment - something like:
{"id":"/en/united_states", "contains":[{"id":null, "type":[]}], "type":"/location/location"}
-
-
-
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-
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?
-
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? -
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.
-
-
-
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)
-
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.
-
Hip thanks for the heads up....
-
-
