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:
Asked
Active
Viewed 332 times
1 Answers
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"
}
}
}]