Wolfram Computation Meets Knowledge

The Wolfram Language:
Fast Introduction for Programmers

Show additional notes for:
All sections 
Get Started

Real-World Entities Video Version

Notes for Java programmers:

Entities in the Wolfram Language combine natural-language processing, high-level data semantics and knowledgebase access to unify real-world data representation in a unique way that enables new kinds of programming workflows.

Notes for Python programmers:

Entities in the Wolfram Language combine natural language processing, high-level data semantics and knowledgebase access to unify real-world data representation in a unique way. Together with the tightly integrated notebook system, Wolfram Language entities enable new and expressive kinds of programming workflows not readily available in Python. The Wolfram Client Library for Python allows Wolfram Language entities to be evaluated and manipulated directly from Python code.

In the Wolfram Language, real-world entities are just another kind of symbolic expression.

The Wolfram Language knows about thousands of kinds of real-world entities:

It's usually convenient to specify entities using natural language:

In[1]:=
Out[1]=

Entities have many properties. Here is the value of one:

In[2]:=
Out[2]=

Use entity["Properties"] to find a list of properties.


When you enter natural language, the is for disambiguation:

In[1]:=

indicates an entity class:

In[1]:=
Out[1]=

Enter units and measures using ctrl+=:

In[1]:=
Out[1]=

InputForm shows the structure of the symbolic expression:

In[2]:=
Out[2]=

GeoPosition represents a geographic position:

In[1]:=
Out[1]=

In[2]:=
Out[2]=

DateObject represents a date/time:

In[1]:=
Out[1]=
In[2]:=
Out[2]=

Notes for Python programmers:

DateObject is unique to the Wolfram Language and is automatically parsed for importing or exporting into other environments. In Python, there are separate libraries for easier parsing of date strings, but they must be manually split or joined. DateObject can be accessed from Python through the Wolfram Client Library for Python.


© 2024 Wolfram. All rights reserved.