0

Is there a way using MQL to list all the types belong to a Freebase domain and to list all properties belonging to a type e.g. Given the domain "Computer" I would like to list all "types belonging to it as shown in:

http://www.freebase.com/computer?data=

Niall
  • 51
  • 4
  • See this: http://stackoverflow.com/questions/8983715/list-all-freebase-domains-with-mql-query-or-api-call – Daniel Aug 01 '14 at 19:44

1 Answers1

0

The following query returns Types and the Domains they belong. The result has pairs of Type - Domain. There is also a filter to keep only the domains in the /category/commons (see List all Freebase Domains with MQL query or API call).

[{
  "id": null,
  "type": "/type/type",
  "name": null,
  "domain": {
    "id": null,
    "name": null
  },
  "ns0:domain": {
    "!/freebase/domain_category/domains": {
      "id": "/category/commons"
    }
  }
}]
Community
  • 1
  • 1
Aris F.
  • 1,105
  • 1
  • 11
  • 27