[Developers] MQL Lite (was newbie: simple question)
Pito Salas
rps at salas.com
Fri Feb 27 01:38:52 UTC 2009
Scott,
Thanks, but couldn't get that to work the way I need.
1)If I literally use your query I get a list of people who happen to
be in government. I don't know why I am getting that particular list.
2) And if I want to look for someone specific, say "John F. Kennedy"
or even, to take an easy one, Barack Obama, I tried this:
[
{
"d:type" : [
{
"domain" : "/government"
}
],
"name" : "Barack Obama",
"type" : "/people/person"
}
]
and I did get a match, but no way to tell that he was an ex-senator
and a current President which is key to where I am going. That may be
beyond the scope though...
- Pito
On Thu, Feb 26, 2009 at 7:50 PM, Scott Meyer <sm at metaweb.com> wrote:
> Pito Salas wrote:
>> Tom,
>>
>> Thanks for the excellent mini-tutorial. I was able to reproduce your
>> examples, and your analogy of types to tables was very helpful as the
>> explanation of Domains as ways to group together types (I assume you
>> can also have multi level domains.)
>>
>> So next step, which I wasn't able to solve. What if I want to look up
>> people called X who are (might be) US politicians.
>
> [
> {
> "d:type" : [
> {
> "domain" : "/government"
> }
> ],
> "name" : null,
> "type" : "/people/person"
> }
> ]
>
> Next?
>
> -Scott
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
More information about the Developers
mailing list