Listing of Entity Types »


gives a pseudorandom entity with a type determined by the specification spec.


gives a list of n pseudorandom entities.



open allclose all

Basic Examples  (1)

Get a sample of a "Country" entity:

Find a sample of 5 "Volcano" entities:

Scope  (2)

Samples can be given from EntityClass expressions:

Implicit EntityClass expressions, based on conditional EntityProperty values, can also be sampled:

Possible Issues  (3)

If the sample size is larger than the number of available entities, an error message is issued:

The specified type should be an Entity, EntityClass, or known entity type:

Sample selection is done using the online Wolfram Knowledgebase, and does not follow client SeedRandom state:

Introduced in 2015