By Name or Index...

Setup

Get a Dataset of animal weights from the Wolfram Data Repository:

In[1]:=
Click for copyable input
Out[1]=

Get a single element

Get the body weight of the item in the first row:

Out[2]=

Get multiple elements as a Dataset

Get the body weights of the entries in the first and third rows:

Out[3]=

Get the body weights of the entries in the first to third rows:

Out[4]=
  • The values returned here are Dataset objects.

Get multiple elements as a List

Apply Normal to get a result as a List:

Out[5]=

By Selection Criteria...

Setup

Get a Dataset of animal weights from the Wolfram Data Repository:

In[6]:=
Click for copyable input
Out[6]=

Get selected elements as a Dataset

Get the animals whose brain weight is greater than 1000g:

Get the animal with the greatest brain weight:

Out[8]=

Get the body weight of an African elephant:

Out[9]=

Get selected elements as a List

Apply Normal to get selected elements as a List:

Out[10]=

Notes

If a Dataset query yields a list of elements, the value returned is a Dataset object. If a query yields a single object, the naked object is returned. Compare: