[Developers] MQL index property
Alec Flett
alecf at metaweb.com
Wed Apr 16 19:17:59 UTC 2008
I like this idea as well - the way the freebase.com software works
today, it uses sort: index on pretty much every clause. But really,
there are some schemas where you always want to order by name or date,
or whatever... and often times you just don't care.
Alec
On Apr 16, 2008, at 11:54 AM, Robert Cook wrote:
> I've imagined that such a property would indicate the kind of ordering
> and by which sub-property if the property expects a CVT/CRT or a type
> with a disambiguator.
>
> R
>
> On Apr 16, 2008, at 11:50 AM, Alexander Marks wrote:
>
>> I've thought about this too -- I think a property to represent order
>> significance is a great idea. How about a new property hint at /
>> freebase/property_hints/ordered?
>>
>> ----- Original Message -----
>> From: "David Flanagan" <david at davidflanagan.com>
>> To: "For discussions about MQL, Freebase API and apps built on
>> Freebase" <developers at freebase.com>
>> Sent: Wednesday, April 16, 2008 11:24:17 AM (GMT-0800) America/
>> Los_Angeles
>> Subject: Re: [Developers] MQL index property
>>
>> John Giannandrea wrote:
>>
>>> Ordering is optional, and the schema doesnt tell you if it is in
>>> use.
>>> index order can be added to any clause, so anything might be
>>> ordered.
>>> Its just another kind of assertion, albeit an unusual one.
>>>
>>> While you could add index:null, sort:index to every query, it only
>>> makes sense to do so when you know you care and at least some of the
>>> data is ordered.
>>
>> So this is kind of a meta question, but how do I know when the data
>> is
>> ordered. I assume that somewhere, someone will write some
>> documentation
>> saying that /music/album/track properties are (or should be) ordered,
>> right? (Oops, now that I've followed the link to
>> http://freebase.com/view/guid/9202a8c04000641f800000000513b317, I see
>> that this is in the documentation. Sorry!)
>>
>> It seems to me that it would be nice if there was an informative (as
>> opposed to normative) property of /type/property to indicate that
>> there
>> is like to be an ordering on that property.
>>
>> David
>>
>>> In general most data is unordered and asking for things sorted is
>>> more
>>> expensive. So it very much depends on the data set.
>>>
>>> -jg
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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