https://www.wolfram.com/events/user-conference-brazil/2023/
Online by Zoom Monday Nov 6 2023.
Daniel Carvalho - Wolfram Research
dcarvalho@wolfrma.com
@danielscarvalho
If you don’t have Mathematica in your local machine, you can use online at the cloud on Wolfram Cloud:
HTTPS://WWW.WOLFRAMCLOUD.COM

Working with Wolfram|Alpha and curated data

We can make queries to Wolfram|Alpha in plain English. At Mathematica notebook it returns the code and runs it in order to get a computed response.
Using = at the beginning of a new code cell, you can ask anything to Wolfram|Alpha, it returns the code and runs the code with an answer:

In[]:=
Distance from Guaratinguetá to Paris
»
GeoDistance
Guaratinguetá, São Paulo, Brazil
ADMINISTRATIVE DIVISION
,
Paris
CITY

Out[]=
9236.1
km

In[]:=
Temperature at Guaratinguetá
AirTemperatureData
Guaratinguetá, São Paulo, Brazil
ADMINISTRATIVE DIVISION

Out[]=
19.
°C

In[]:=
Apple stock value
Apple
FINANCIAL ENTITY

price

Out[]=

Fri 3 Nov 2023
,
$
176.65


In[]:=
Distance from Moon and Earth
Moon
PLANETARY MOON

distance from Earth

Out[]=
404489.
km

In[]:=
integrate x^2+3x+2+Cos(x)
Integrate[x^2+3*x+2+Cos[x],x]
Out[]=
2x+
3
2
x
2
+
3
x
3
+Sin[x]

In[]:=
integrate x^2 + 3x + 2 + Cos(x) from 0 to 100
Integrate[x^2+3*x+2+Cos[x],{x,0,100}]
Out[]=
1045600
3
+Sin[100]

In[]:=
integrate x^2 + 3x + 2 + Cos(x) from -10 to 10
Integrate[x^2+3*x+2+Cos[x],{x,-10,10}]
Out[]=
2120
3
+2Sin[10]

In[]:=
integrate x^2 + 3x + 2 + Cos(x) from 0 to ∞
Integrate[x^2+3*x+2+Cos[x],{x,0,Infinity}]
Integrate
:Integral of 2+3x+
2
x
+Cos[x] does not converge on {0,∞}.
Out[]=
∞
∫
0
(2+3x+
2
x
+Cos[x])x

In[]:=
derivate x^2 + 3x + 2 + Cos(x)
D[x^2+3*x+2+Cos[x],x]
Out[]=
3+2x-Sin[x]
https://www.wolframalpha.com/
Press = at the begging of a new code cell, then you can enter a query in plain English (NLP) Shift + Enter to compute...

Computing using Natural Language (English)

The Wolfram Language is the highest-level programming language today!
By pressing Ctrl + = at the beginning of a code cell, we can perform natural language computation (in English - NLP):

In[]:=
In a code cell, uses Ctrl + = to create new Entity
Entities are symbolic expressions in Wolfram Language to represent the real world data. At large, it means we can have some real world data representation with semantics.
In[]:=
​​
Brazil
COUNTRY
["Population"]
Out[]=
216400000
people
In[]:=
United States
COUNTRY
["OilReserves"]
Out[]=
3.652×
10
10
US barrels
In[]:=
Moon
PLANETARY MOON
["Mass"]
Out[]=
7.3459×
22
10
kg
We can have Entities as response from many Wolfram Language computations:

In[]:=
Liver in 3D
liver
»
Hierarchy relationships
DatasetEntityValue
liver
ANATOMICAL STRUCTURE
,
systemic groups
,
anatomical groups
,
structural groups
,
anatomical spaces
,
regional parts
,
developmental origin
,"PropertyAssociation"
3D objects can be manipulated, broken a part, and computed:
The entities have lots of properties we can inspect.
Free form input can create code with Entity too:
We can combine Wolfram Language code with Entity:
Wolfram Language has data about colleges:
And about more abstract fictional world data too:
Data about flights:
And of course to compute symbolic math:
3D information, that can be broken apart and used/computed: