[Developers] a bot interface
Jason Douglas
jason at metaweb.com
Sat Apr 4 18:45:14 UTC 2009
On Apr 4, 2009, at 11:26 AM, spencer kelly wrote:
> forgive me if this has already been discussed or is obvious, but has
> anyone made their own bot? or has freebase considered letting users
> add rules to theirs?
> i'm thinking of things like 'if hockey_position is left winger,
> 'shoots' = left handed.'
> Theres inferences to be made and it'd be nice for a way to add/
> suggest new ones-
> an acre app waiting to be made?
The logic for doing that should be pretty straight-forward in an acre
app -- get some number of left wingers where shoots == null, iterate
over them building up your mqlwrite, then execute the mqlwrite.
However, we don't currently have a mechanism for triggering gardening
tasks in acre... everything is in response to a user action. I
suppose you could just have your own cron to ping the acre script once
a day or so... especially once you've done an initial clean-up and are
only looking for new changes. I think you'd also want to use the
"write data as" feature (see 'Web Services' tab in the app menu) to
avoid having to manage oauth credentials client-side.
Somewhat related... we are working toward having a generally-available
queing mechanism to be able to thow the results of a mql query into a
queue for human review. That's how genderizer works -- it registers a
query for 'instances of /people/person where gender is null' with a
prototype of this queing system and then presents each of the results
for review:
http://genderizer.freebaseapps.com
-jason
More information about the Developers
mailing list