[Developers] mql_filter parameter to search API
Kirrily Robert
kirrily at metaweb.com
Fri Mar 13 16:52:51 UTC 2009
Ooh, Tyler wrote me a blog post on this very thing a little while ago,
and I haven't got around to posting it yet. Let me dig it out and
post it (http://blog.freebase.com/) and see whether that answers your
question.
K.
On 13/03/2009, at 11:42 AM, Philip Kendall wrote:
> What I'm trying to do is to get a list of all properties within
> Commons
> that "match" a string in some way or another.
>
> I'm currently doing this via the search API[1] and then post-filtering
> the results to remove any which have ids starting with /user/, /
> base/ or
> /guid/. This obviously isn't ideal as it means I throw away a large
> number of results, and may not find the results I'm looking for if
> they're further down the list, but just hidden by lots of user-created
> properties.
>
> There's an "mql_filter" parameter documented from the search API,
> but I
> can't get it to do anything useful (other than blow up, which I've
> filed
> a bug for[2]).
>
> Two (or maybe three) questions:
>
> 1) Is there any documentation for mql_filter available anywhere?
> 2) Is mql_filter the right way to be doing this? If not, what is?
>
> If anyone's interested in why I want this, take a look at "Hey,
> Freebase!": <http://heyfreebase.pak21.user.dev.freebaseapps.com/>.
> Yes,
> my graphic design sucks :-)
>
> [1]
> <http://www.freebase.com/api/service/search?type=/type/property&type_strict=all&query=birth%20place
> >
> [2] <https://bugs.freebase.com/browse/FREEBASE-494>
>
> Cheers,
>
> Phil
>
> --
> Philip Kendall <philip at shadowmagic.org.uk>
> http://www.shadowmagic.org.uk/
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
--
Kirrily Robert
Freebase Community Director
kirrily at metaweb.com
More information about the Developers
mailing list