[Developers] MQLRead Query to Replicate Search Service

Andi Vajda vajda at metaweb.com
Mon May 18 18:37:02 UTC 2009


On Mon, 18 May 2009, Shawn Simister wrote:

> Wow, those eMQL adapters are pretty cool. Its kinda like SPARQL functions
> for MQL. So, can anyone create an adapter in their own personal namespace
> using Acre?

Yep !

Andi..

> 
> Shawn
> 
> Andi Vajda wrote:
> 
> On Mon, 18 May 2009, Shawn Simister wrote:
>
> 
> 
> What about using UMQL to send a batch of queries to the relevance engine?
> Something like this? I think that would be equivalent to the what you'd get
> from the search API.
> 
> 
> Like this ? http://tinyurl.com/qsqn7q
> 
> This was the "but we're working on it" part I was hinting at in my earlier 
> reply on this thread. Needless to say, this is experimental, comes without 
> any warranty, is likely to change, etc... 
> http://search.labs.freebase.com/api/service/emql?help, is a good place for 
> learning more about it.
> 
> Feedback is certainly welcome !
> 
> Andi..
>
> 
> 
> Shawn
> 
> Tom Morris wrote:
> 
> On Sun, May 17, 2009 at 5:44 AM, James Alexander Levy
> <jamesalexanderlevy at gmail.com> wrote:
> 
> 
> 
> I'd like to run several queries against the search service with a single
> HTTP request - you know, for efficiency and all that. Because there's no way
> to do this (right?) I'll have to use MQLRead for its query envelope, but I'm
> not sure how to perform a read request that exactly mimics the search
> service.
> 
> 
> You can't do this because you don't have all the information available
> to you that the search service uses.  In particular it uses anchor
> text from Wikipedia articles in addition to things that you can get at
> from MQL (names & aliases).
> 
> If latency is your concern, have you considered posting the requests
> asynchronously and pipelining your processing?
> 
> Tom
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
> 
> 
> 
> 
>
> 
> 
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
> 
> 
> 
> 
>


More information about the Developers mailing list