List all Freebase Domains with MQL query or API call -



List all Freebase Domains with MQL query or API call -

i develop freebase java application lets browse freebase. thought starting point mimic freebase schema explorer , allow user of app "drill down" through domains, types in domain, instances in type. can please assist in how retrieve list of domains? list in domain? etc... user can select domain , preset list of types within domain , on until have found entry or entries investigating.

mql domains:

[{ "id": null, "name": null, "type": "/type/domain", "!/freebase/domain_category/domains": { "id": "/category/commons" } }]​

the "!/freebase/domain_category/domains" clause in there restrict things commons (official) domains - otherwise domain automatically created every user , isn't you're after.

types in domain:

[{ "id": null, "name": null, "type": "/type/type", "domain": "/cvg" }]​

replace "/cvg" appropriate.

instances of type:

[{ "id": null, "name": null, "type": "/cvg/computer_videogame" }]​

replace "/cvg/computer_videogame" appropriate.

this should @ to the lowest degree started.

freebase

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -