[Developers] updated domains and type lists

John Giannandrea jg at metaweb.com
Mon Aug 18 04:52:51 UTC 2008


The current type tsv files exclude all user types and /type itself.
There are 1260 files and 71 domains in that dump.

currently there are 7249 types and 23002 domains in freebase.
since most of these are user generated, the ones in commons (i.e.
with a key in / like /film) are 76 domains and 1427 types.

you can count them with a query like this:

{
   "domain" : {
     "key" : {
       "namespace" : "/"
     }
   },
   "limit" : 10000,
   "return" : "count",
   "type" : "/type/type"
}

and print them out like this:

[
   {
     "domain" : {
       "id" : null,
       "key" : {
         "limit" : 0,
         "namespace" : "/"
       }
     },
     "id" : null,
     "limit" : 10000,
     "type" : "/type/type"
   }
]

-jg


On Aug 17, 2008, at 8:39 PM, AJ Chen wrote:
> Shawn, this is very helpful. thanks.
> There are 1330 types in your file, which is close to what's said on  
> freebase website: July 2008 browseable set contains 1260 TSV files  
> in 142 domains.
> But, the july full download has 1205 files in the data directory,  
> which I think corresponds to the number of types.  There is a small  
> difference in type counts.  Is it because theres are some new user  
> types not included in the full download's data directory?



More information about the Developers mailing list