<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
There seem to be two parts to this question. First, you would like to
be able to get results for "The Police" without knowing the Freebase ID
for that topic. Second, you would like to get a list of attributes for
that topic without knowing the specific property IDs.<br>
<br>
The first part is a bit difficult because Freebase currently has 14
different topics called "The Police". That's why it's a lot easier to
narrow down the results if you know which Freebase type you're looking
for. Another alternative is to use the <a
href="http://www.freebase.com/view/en/api_service_search">Freebase
Search API</a> which will give you a list of topics about "The Police"
sorted in order of relevance. You should be able to get reasonably good
results by just taking the first result that you get back from the
search API as long as you're only dealing with popular topics like The
Police (the band).<br>
<br>
The second part is much more straight-forward and can be done by
searching for all the links (/type/link) that are attached to the topic
that you're interested in. I wrote up a brief <a
href="http://stackoverflow.com/questions/694037/write-a-freebase-mql-query-that-gets-everything-back-about-a-given-topic">description
of how to do it</a> over at StackOverflow a couple weeks ago. <br>
<br>
Shawn<br>
<br>
Alex Genadinik wrote:
<blockquote cite="mid:COL111-W31F943C45677EDB8DA03ACA37B0@phx.gbl"
type="cite">
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>Hi,<br>
<br>
I am new to the list and am experimenting with freebase. I am looking
at MQL<br>
and I think the biggest question I have is that sometimes I do not know
the URI or the path<br>
of the topic I am querying for. I just want to throw in a term like
"The Police" and<br>
get back results about them without having to provide the path
/music/album<br>
<br>
Is that possible in MQL? How would I do that?<br>
<br>
Sincerely,<br>
Alex Genadinik<br>
<hr>Rediscover Hotmail®: Get e-mail storage that grows with you. <a
moz-do-not-send="true"
href="http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009"
target="_new">Check it out.</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Developers@freebase.com">Developers@freebase.com</a>
<a class="moz-txt-link-freetext" href="http://lists.freebase.com/mailman/listinfo/developers">http://lists.freebase.com/mailman/listinfo/developers</a>
</pre>
</blockquote>
<br>
</body>
</html>