> If I ask for the set of properties on an item. What is the default
> ordering of those items?
It is effectively random.
It is actually in the order in which the items are found, which is
typically the order in which they were created, but that is not reliable
behavior.
The UI sorts by index and by timestamp by default. Items with a null
index have not been explicitly ordered.to sort a property in the way it is displayed in the UI use the following:
"/user/cotton/default_domain/broadcast/genre" : [ {
"guid" : null,
"name" : null,
"index" : null,
"link" : { "timestamp" : null },
"sort" : [ "index", "-link.timestamp" ] }
Sort by index and timestamp
- Creating Types and Properties
-
Developing Applications
- An Introduction to Freebase Application Development
- Playing in the Sandbox
- Downloading Freebase Data and Tools
- Using the Query Editor
- The Complete Metaweb Query Language (MQL) Reference Guide
- MQL Cheatsheet
-
The MQL Cookbook
- Get data as of a specific time
- Read properties of a type
- values vs name/id
- Incoming links
- Any topics with a specific date
- Wikipedia article text
- Find distinct co-types
- Creating relationships
- Mark for deletion
- Sort by index and timestamp
- Traversing Through Non-Reversed Properties
- Combine queries
- Perform transitive queries
- How to Retrieve the Wikipedia URL for an Object with a GUID
- Freebase API Reference
- Application Developer Tips
- The Acre Hosted Development Environment
- Introduction to the Metaweb Javascript Template Language (MJT)
- Freebase Community
Recent Discussions about Sort by index and timestamp
There are no conversations on this topic. Would you like to start one?
Start the Discussion »
