Nested queries allow you to queryQuery (Computer Science) A query is a request for data or information from a database table or combination of tables, or an API that manages access to those tables items that are linked, for example the agentsAgents (API) The data source representing constituents - people, organizations, and companies related to a work in the collection associated with an objectObject (Museology) Artefact or specimen held in a museum collection. (Computer science) A software "bundle" consisting of a set of variables which define the states the object can exist in and a set of functions that define its behavior. recordRecord (Computer Science) A unit that groups together related items of data, for example all the fields that represent a museum collection object. This also allows you to specify the fieldsFields (Computer Science) The smallest container of information in a database. A field is named, e.g. "Title" or "Date" and each record contains a group of fields. you want for both entities.
Agents on objectsObjects (API) The dataset containing all objects held within the Cooper Hewitt's online collection
Find agents linked to an object:
{
object {
id
agent {
id
name
}
}
}
Objects on Agents
Find objects linked to an agent:
{
agent(name: "Frank Lloyd Wright") {
id
object (relationship: "makerMaker (API) Creator of an object"){
id
summary
}
}
}