Discussions on Metaweb System Types
Start a New Discussion
-
-
i have +5yrs. exp. in seo and webdesign. if any one ask question through imtiaztips discussion. for more details: http://seotipsfree.wordpress.com and http://seotipsfree.t35.com.
-
-
-
The "offset from UCT" property is misnamed. See http://www.freebase.com/view/en/coordinated_universal_time for correct abbreviation.
-
Oops! Thanks for catching that!
-
Cool. I notice that you changed the display name, but not the property key. I can certainly appreciate the app compat reasons for this. Is the intent that it's stuck that way forever?
-
Yes, pretty much. If you root around in the Freebase keys, you can find all kinds of examples of mismatches between key and display names.
-
Speaking as a developer, that will bug the hell out of me. Mismatched names is one thing, but having to develop against an API with misspellings just makes the app look sloppy. And I want every developer who touches Freebase to have such a good experience that they end up as in love with it as I am.
As I rack my brain trying to figure out how to fix this, a couple of things come to mind. One is more of a community procedure, and one is a feature request.
Procedure
- Create a new property with correct spelling, and clone the data to the new property.
- Mark the old property as deprecated somehow (possibly just in name and/or description).
- Optional: continuously sync changes on the old property over to the new property.
- Retire the old property.
Feature work
It's also possible to implement support for renamed properties in MQL. If it were possible to attach aliases to properties in cases like this, we could allow "offset_from_uct" to live on for queries that depend on it, while causing the UI everywhere to reflect that the one true name is the corrected "offset_from_utc". As a perf optimization, I could imagine that MQL only checks deprecated names when it fails to resolve one property's name the usual way.
Speaking pragmatically, with the community as small as it is today, now is a better time to make breaking changes than a year from now when we have millions of eyeballs on us. From my point of view, the global types should be spit-polished, even at the cost of some short term pain. Once we have more eyeballs on things, we'll be able to better cook types before they get promoted to the commons. Meanwhile, we shouldn't apologize for cleaning.
-
there should be a way to add an additional key for this property, such that both keys will work...
-
There is, but it's not working for some reason (in the client, anyway). I've created a bug for it, though: https://bugs.freebase.com/browse/CLI-7337
-
-
-
-
I tried to export all /film/film as a csv and got only 857 rows of data. Advice?
-
That's a bug, all right. It's being tracked internally. I'm not award of any workarounds, short of using the API.
-
I forgot about data dumps. http://download.freebase.com/datadumps/2008-03-28/browse/film/
-
I take it back, these have guids instead of compound values.
-
so it's been about a month now - still no solution to the export problem?
-
We currently don't support exporting a large set of data (approximately around a 1000) via the export to csv feature. You either must use our data dump as mikelove discovered above, or write your own MQL query.
You can see what our filter view page uses by hitting F8 key to get the debug bar and clicking on the 'View transaction log' (its the client MQL query event you want).
You can use that as a starting point (hint, modify the limit or eliminate it entirely).
-
Here's a starter query to get all the film titles currently in the system:
[
{
"limit" : 40000,
"name" : null,
"type" : "/film/film"
}
]
-
-
-
I know that the core types and properties "are not to be sullied by human hands", but at least, would it be possible for translators to just insert-connect name values of new languages? (I mean, via MQL queries, I know that there's no multilingual UI.)
-
The core infrastructure for supporting per-language property names (not programmatic names) is there, but at the moment the permissions structure is such that you need permission to modify the schema itself in order to add a per-language name.
What we probably need is some kind of infrastructure for suggesting name translations, that could be "approved" by an owner of a type/domain. In the mean time, you could probably write a big MQL write query that attaches names to a bunch of types/properties, and then give it to an administrator for that domain... then they could run it in query editor.
The mql would look something like:
{"query": [{"id": "/people/person/date_of_birth",
"name": {
"value": "Fecha de nacimiento",
"lang": "/lang/es",
"connect": "insert"
}},
{"id": "...."....}
]
}
-
-
-
Not sure if this is the right place to post this.
When you have to enter a start date and an end date, and if there is no end date (meaning from the start date to the present), the date range should be displayed as " - present". For example, when you are entering your employment history and want to show your current job. Currently, it just shows the start date.
-
-
-
The type Webpage make use of URI, and I was able to use URI in my Enclosure type.
http://www.freebase.com/view/schema?id=%2Fuser%2Fjchris%2Fdefault_domain%2Fenclosure
Just trying to get a deeper understanding of the underbelly. :)
-
-
-