Questions tagged [entity]
Questions about Entity expressions and the use of standardized representations of specific real-world entities.
161
questions
7
votes
2
answers
135
views
Multiple Filters on EntityClass Issue
I'm trying to get a subset of companies using EntityClass by revenue and industry but it won't let me combine the properties?
See below example, I can find Walmart via revenue or industry but not by ...
4
votes
1
answer
28
views
Convert Company Entity to Finance Entity
Is there an easy/straightforward way to get the corresponding Finance entity given a Company entity if it’s available?
I have a hack-y fix just y taking the “Name” property for the Company and ...
2
votes
1
answer
64
views
How to prevent output of Entity object in EntityValue?
By default, no matter
ElementData["Hydrogen", "DiscoveryCountries"]
or
...
3
votes
0
answers
37
views
2
votes
0
answers
46
views
Compute the borders and overlap of two HistoricalCountry entities?
For CountryData, we can take the property "BorderingCountries", providing us with a notion of whether two countries border each other.
But for two HistoricalCountry entities, where we only ...
1
vote
0
answers
31
views
EntityPrefetch does not speed up EntityClass queries
For example, we can run
EntityPrefetch["Element"]
to prefetch information related to Entity type "Element". And it shows on my computer
...
2
votes
0
answers
48
views
Is it possible to query an entity store created from a dataset?
Mathematica Dataset is unfortunately no built on top of relational algebra principles.
If it were all datasets would be relations and all operations on datasets would also return relations (non ...
5
votes
1
answer
168
views
How to get the expression of a special function?
How to get the expression of a special function? Like gamma function:
Gamma[z]=Integrate[t^(z-1)/e^t, {t, 0, Infinity}]
3
votes
1
answer
72
views
How to find all coastal cities globally using the Entity framework?
It seems to be an easy task as all the related functions GeoNearest and EntityList["City"] are close at hands.
However,...
0
votes
1
answer
50
views
How do I specify a time for astronomical entity data?
I'm fascinated by the capability of the astronomical data available in V13. (Running 13.0.0.0 on a Mac M1.). Certain data such as altitude and azimuth for a star position should be time dependent but ...
0
votes
1
answer
80
views
How to create a dataset out of the entities?
I am working on learning how to create a dataset from a series of entities.
I have the following function that finds all properties of a certain entity:
...
0
votes
0
answers
32
views
How to keep track of multiple properties of entities?
I have the following lines of code:
...
-3
votes
1
answer
99
views
How to find the distances to all buildings quickly?
I would like to create an association by mapping the function GeoDistance[Here,#]& over all buildings without missing locations in a reasonable amount of time less than 30 minutes.
I have the ...
-2
votes
1
answer
70
views
How to use the Wolfram Language Symbol entity type to list all the entity types? [closed]
I would like to map EntityValue[#,"SampleEntities"] over all the domains of entities, but before I spend 20 to 30 minutes typing every single entity, I would like to be aware of any way to ...
1
vote
1
answer
77
views
Why does Entity Class return an empty value sometimes?
I am working on computing the 20 largest cities in California.
...
-1
votes
2
answers
55
views
How to extract entities from TravelDirectionsData?
I am wondering how to extract entities such as states and cities from TravelDistanceData.
For example, given the following example from the documentation, how could I extract the states the route goes ...
4
votes
0
answers
61
views
Accelerate the retrieval time for Entity data
I like to use Mathematica to answer questions related to cities such as how many cities in the United States have a population greater than 100,000 and what the distribution of them would look like on ...
1
vote
0
answers
56
views
How to find N most populous cities in each state with TakeLargest and Entity Functions without waiting forever using Caching?
I am interested in using Entity Functions such as EntityValue, FilteredEntityClass, EntityFunction, EntityClass, EntityList, and GeoEntities to help me find N most populous cities in each state. I ...
2
votes
0
answers
33
views
handling network errors during polling an entity
Notebook with a not working draft to solve the problem: https://drive.google.com/file/d/1EvrrsIGD554eTKZ6TX6p_vThRgb1NdWH/view?usp=sharing
Hello,
I use Entity["Isotope",...] to calculate ...
1
vote
1
answer
92
views
How to output Polygon with latitude and longitude set in EntityValue function?
I used EntityValue to represent a map of a country.
...
2
votes
1
answer
66
views
Comparing amino acids in Mathematica nutrition data
Essential amino acids for lentils and barley can compensate each other: what the one does not have, the other has. How can I find that in the nutrition database?
I can find such in old tables but can ...
4
votes
1
answer
109
views
Looking for the documentation of "AtomicLevel" specifications
New to version 12, one can retrieve a really extensive data base entities about chemical elements. It is initiated via
Entity["Element",name]
For example,...
2
votes
0
answers
70
views
Engineering materials entity class
Are there any Entity Class like EntityClassList["Mineral"] to get physical properties of "Materials" like steel alloys, polymers, ceramics or ...
1
vote
0
answers
90
views
OceanData not deep enough or just too deep for me?
It's exciting to see Mathematica/Wolfram Alpha addressing the marine realm in Version 12.2. Evidently, I was unaware that such data existed since Version 12.0 introduced in 2019. However, I have two ...
3
votes
1
answer
72
views
How to determine population from a list of arbitrary jurisdictions (cities, states, counties, et al.)?
I am an aspiring data scientist who's working on a passion project, namely to assign danger-level scores to police departments in the United States.
One specific metric I'm developing results from ...
1
vote
2
answers
79
views
Having trouble getting map data for the Maldive Islands
I change the island and GeoRange from the example, but it shows the error, can anyone help me with that?
Follow link as the original example(The first and second pictures) :
https://risu.io/SOmU
...
0
votes
1
answer
49
views
Why cannot I get MaldiveIslands EntityClass?
Why cannot I get MaldiveIslands EntityClass?
2
votes
1
answer
118
views
How to identify gender and family roles of characters in novel excerpts?
I am playing with Natural language programming in Mathematica, and can't figure out how to extract the entity classes (i.e. male, female) for the following example text:
"This was a pleasant ...
1
vote
1
answer
54
views
EntityValue evaluation behaviour
I'm puzzled by a behaviour of EntityValue, where I find it being unevaluated. Here is a minimal example. Consider the following custom ...
6
votes
3
answers
364
views
How can I get material property data past what's provided via ElementData[], ChemicalData[], etc.?
Background
Let's say I want information (e.g. bulk modulus or space group) on an element or chemical compound that isn't available via e.g. ElementData[], ...
0
votes
0
answers
53
views
Can I get atomization energy of a chemical?
A pretty basic property of a chemical is the atomization energy. Another similar property is the heat of formation.
I'm looking at
...
8
votes
2
answers
258
views
When looking at a chemical's bond lengths, which bonds do they represent?
Looking at, for example, the bond lengths of styrene:
...
2
votes
1
answer
63
views
EntityValue timeout
Bug in 12.1.1 and possibly earlier versions
Acknowledged by WRI as an issue CASE:4617646.
...
2
votes
1
answer
64
views
Obtaining underlying nutrition data from "NutritionLabel"
I would like to extract the underlying nutritional data contained in "NutritionLabel" output from Wolfram Alpha for all of the "Vegetables" defined in the "BasicFoodGroup"...
2
votes
2
answers
89
views
EntityFunction for Relational Database error [closed]
I am a student and I am new of Mathematica.
I am working with relational databases and I am following the guide "Relational Database quick start" find here: https://reference.wolfram.com/language/...
4
votes
2
answers
43
views
Is TimeZoneOffset broken?
I just realized that code like this:
TimeZoneOffset[Entity["City",{"SaoPaulo","SaoPaulo","Brazil"}],0,{2020,1,1}]
does not return a timezone value anymore. I am ...
3
votes
1
answer
65
views
EntityClass Downloading Speedup
Running this command. Trying to get all cities more than 1 million people in US.
...
4
votes
0
answers
60
views
Why am I getting incorrect result from EntityClass?
Suppose I want get 6 largest companies by market capitalization. I try the class using the old syntax:
...
2
votes
0
answers
54
views
How to Return All Mathematica Functions in a Domain
We know that Names["System*"] and WolframLanguageData[] both return the list of all System or "native" functions.
Is there a ...
1
vote
0
answers
59
views
Can one update entities in a custom EntityStore?
As far as I can see from the documentation there is no upsert (update-insert) if you have created/registered a custom store. The only way seems to re-register the whole store if you wish to upsert ...
1
vote
0
answers
24
views
How to use normal Entity functions on new ExternalIdentifier objects (e.g. Wikidata)?
Is there any way to use the built-in EntityXXX on ExternalIdentifier objects? For me, it's more intuitive and easier to use <...
3
votes
1
answer
122
views
How to search an entity list?
I'm using the Wolfram General Topology EntityStore. From it, how would I search EntityList["GeneralTopologyTheorem"] to find, ...
5
votes
0
answers
110
views
Speeding up postgres queries in v12.1?
New in v12.1 is the ability to connect to Postgres. I have a Postgresql database with a few million images (stored as byte data). Each image retrieval is ~10 seconds, so I need to speed it up! But how ...
6
votes
1
answer
105
views
RelationalDatabases and dates (Mathematica 12)
As related to the new database functionality in version 12, I am trying to retrieve a specific entity (row) or group of entities (multiple rows) between a date range in an MS SQL database. The ...
2
votes
1
answer
37
views
Extract Velocities from Qualified EntityValue output
I have following statement:
EntityValue["Planet", "VelocityAroundSun", {"Date" ->
DateObject[{2020, 2, 19}, "Day", "Gregorian", 1.]}]
and get the required ...
2
votes
0
answers
41
views
Why is GeoHistogram messing with the Bins?
Consider some precise location data as follows:
...
4
votes
1
answer
90
views
Make it fast to answer lots of similar Entity questions
I've done a EntityPrefetch[EntityClass["ZIPCode"]] but I'm not at all sure it's helped.
I want to get every zip-code's address. The obvious way to do this is:
<...
9
votes
1
answer
283
views
How to manipulate date in SQL via the EntityFramework?
I have an MicrosoftSQL Server database connected to entity framework as follows:
...
0
votes
0
answers
73
views
How to add the custom polygon to Entities?
Suppose I get the polygon data using the method here:
How to get Polygon for a city from GeoJSON?
Now how do I add it to the Entities so they make use of it? I ...
1
vote
1
answer
58
views
How to map a list of entities into a function?
x = RandomChoice[CountryData[]]
Here I have defined x to be a random country.
...