[Freebase-discuss] Modifying - or accessing - topic descriptions through MQL
simister at google.com
Wed Dec 21 00:34:03 UTC 2011
Ah, I see. That looks reasonable to me. Here's how you would write the
example textual description which you gave:
"value": "The name of a Location in Freebase should be its actual
name, without additional disambiguating phrases. For example, use \"New
York\" instead of \"New York, NY\" for New York City.",
On Tue, Dec 20, 2011 at 9:26 AM, Fred M. Katz <fred at katz.com> wrote:
> Hi Sean,
> Yes, an (additional) exception mechanism for Freebase is the object of the
> But, no, I was not planning to edit the descriptions for the topics that
> have exceptions - just the descriptions of the Exceptions themselves, and
> associated rules or constraints.
> There's a very small example at:
> The Exception has properties to describe:
> - the rule that's been "broken" - in this case a rule that says that
> place names with commas are, at least, suspicious.
> - the object or objects involved, in this case just Washington, D.C.
> (which happens to be a good exception to the rule itself). (For a loop
> exception, it would contain the several places in the loop.)
> - the process that generated the exception (for now, just a text name)
> - A status field: in this case, set to "Reviewed - OK" to indicate that a
> human has looked at the exception and noted that it's not really a problem.
> Other statuses would include: "Fixed manually" if someone goes to the
> right page and edits it, or "Apply automatic fix" (available for some
> - and, finally, an Explanation, which says what the exception is about.
> So, the plan is - not to change the topic description for Washington, D.C
> - as you seem to have feared - but to
> include the text currently in the Explanation field as the topic
> description for the Complex Name rule, as well as a more customized version
> of that text in the topic description for the generated Exception.
> The rules could be edited through the Freebase UI, but the individual
> Exceptions would be added Freebase through MQL - and, that's why I would
> like to know how to add descriptions to them through MQL.
> Message: 1
> Date: Mon, 19 Dec 2011 16:52:42 -0800
> From: Shawn Simister <simister at google.com>
> To: "Freebase.com discussion list" <freebase-discuss at freebase.com>
> Subject: Re: [Freebase-discuss] Freebase-discuss Digest, Vol 24, Issue
> CAPYFVRT8V-D-8KVfFwZju-5obx1=dp-HUyoHGLMnb=yEv_i7fg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> Hi Fred,
> So if I understand correctly, you're building an application that aims to
> find broken data in Freebase and annotate it with these exceptions so that
> they can be cleaned up by the community? This sounds like a really
> interesting idea. I don't think that modifying the topic descriptions is
> the right approach however.
> You might be interested to take a look at the Review
> Flag<http://www.freebase.com/schema/freebase/review_flag>and Flag
> Kind <http://www.freebase.com/schema/freebase/flag_kind> types. This is
> the community currently annotates topics that need certain types of
> cleanup. These flags get picked up and voted by the community using the
> Queue tool <http://wiki.freebase.com/wiki/Review_queue>.
> I'd suggest that you create similar types in your own base. Something like
> Cleanup Flag and Cleanup Flag Kind. This will allow you to record all the
> topics involved in the cleanup (eg. New York, Chicago, US) as well as the
> status of the cleanup. Once you've loaded some sample data to the sandbox
> I'd be happy to show you how to create a simple dashboard in Acre so that
> the community could monitor your data cleanup flags and act on them. If
> this turns into something really useful for the community we can talk about
> ways to integrate it into the main Freebase website.
> You might also be interested in the To Do Lists
> base<http://todolists.freebase.com>which has a number of queries that
> the community has designed to help find
> bad data in Freebase.
> On Fri, Dec 16, 2011 at 2:15 PM, Fred M. Katz <fred at katz.com> wrote:
> > Hi Shawn,
> > Thanks, but I'm looking for (hoping for) something else - something that
> > doesn't involve articles, maybe.
> > Maybe it will help if I give you some background.
> > I am creating Exception objects (from a Perl program that invokes MQL),
> > based on a set of rules.
> > The Exceptions will have short, descriptive remarks, like
> > "There's a loop in the containedBy relation: Chicago is in New
> > York, which is in the US, which is in Chicago".
> > So, I want to insert that remark when I create the Exception. Is there
> > some text valued attribute that can be used to set the description. (I
> > suppose I could define a separate attribute, but am hoping to use the
> > standard description.)
> > Fred
> > On Fri, Dec 16, 2011 at 4:31 PM, <
> freebase-discuss-request at freebase.com>wrote:
> >> Message: 5
> >> Date: Fri, 16 Dec 2011 11:51:20 -0800
> >> From: Shawn Simister <simister at google.com>
> >> Hi Fred,
> >> You can see our new text APi for downloading articles associated with
> >> topic
> >> in Freebase here:
> >> http://wiki.freebase.com/wiki/Text_Service
> >> We haven't yet launched our new article upload service yet. Until then,
> >> you
> >> can read about how to upload text and images using our old APIs here:
> >> http://www.freebase.com/docs/mql/ch06.html#dataimport
> >> On Fri, Dec 16, 2011 at 11:15 AM, Fred M. Katz <fred at katz.com> wrote:
> >> > How can I set the description for a topic through MQL.
> >> > For that matter, how can I get it?
> >> >
> >> > The properties for /common/topic include a reference to an article,
> >> > that just leads to a blob_id, not to the actual text description.
> >> >
> >> > Thanks,
> >> > Fred Katz
> >> >
> >> > _______________________________________________
> > _______________________________________________
> > You are receiving this message because you are subscribed to the
> > Freebase-discuss mailing list.
> > To post a message to the list: Freebase-discuss at freebase.com
> > To unsubscribe, view archives, etc:
> > http://lists.freebase.com/mailman/listinfo/freebase-discuss
> Shawn Simister
> Developer Programs Engineer
> Google, San Francisco
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> You are receiving this message because you are subscribed to the
> Freebase-discuss mailing list.
> To post a message to the list: Freebase-discuss at freebase.com
> To unsubscribe, view archives, etc:
Developer Programs Engineer
Google, San Francisco
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Freebase-discuss