Questions tagged [entity]
Questions about Entity expressions and the use of standardized representations of specific real-world entities.
188
questions
1
vote
2
answers
76
views
How to disable Entities in import of PGN Chess data?
Save the following as test.pgn
...
3
votes
1
answer
72
views
Errors on entity CrystalSystem
Following the tutorial on Exploring Symmetries of Crystal Systems and using the code below:
...
4
votes
1
answer
53
views
How do I use StarData with HR number as input?
In Mathematica 13.1, it is simple to look up star data using the star name as input, like this:
StarData["Capella","EffectiveTemperature"]
...
3
votes
1
answer
123
views
4
votes
3
answers
373
views
Calculating upper culmination of the Moon
I’m completely confused by the new astronomical data system in Mathematica. For every day in some interval, I want to calculate
{azimuth, altitude} of the Moon in ...
3
votes
0
answers
63
views
Entity Framework for Relational Databases is compiling `If` and `Which` statement incorrectly
Suppose I have an SQLite Database with a table name myTable. Then running the following query:
...
1
vote
1
answer
145
views
How to prefetch all Entity types?
I would like to prefetch all entity types. How can I speed up computations by prefetching all entity types?
This question is unique from other questions because I am interested in the exact mechanisms ...
2
votes
1
answer
87
views
How to style a graph of isotope decay data automatically so that vertices and edges correspond to half-lives and decay probabilities?
For teaching purposes I am trying to create some plots of radioactive decay chains, whereby each node on the graph represents the isotope with a color corresponding to the isotopes stability and with ...
5
votes
2
answers
128
views
Adding Entities to AirportData[]
Mathematica's AirportData[] is hopelessly outdated.
I'm trying to manually add entries for some common ICAO airport codes, such as OTHH (Doha) or FAOR (Johannesburg)...
6
votes
2
answers
205
views
How to identify and select the first name from a string containing a first name and a last name?
Is it possible to identify and select the first name in a string that is made up of a first name and a last name, e.g.:
...
3
votes
1
answer
84
views
Left and Right Handed Traffic
How can I generate a Geo plot similar to the Wiki page about left- and right-handed traffic.
Question
A direct way would be to make a list of countries that follow ...
2
votes
1
answer
39
views
How would I query AircraftData[] by the type property?
This is probably a very basic question.
I would like to pull a list of Aircraft from AircraftData[] where the ...
0
votes
0
answers
37
views
How would I convert AircraftData[] to an Entity[] that could be used with ImageIdentify[]?
I am working on a Design of Experiments to determine the image adjustment settings for a given collection of aircraft images to maximize the probabilities of correctly identifying the aircraft types ...
1
vote
1
answer
42
views
Why does ImageRecognition recognise some concepts in a list of concepts but not others?
Why can I successfully use an option list of the dog and cat entities with the ImageRecognition function but not use a similar option list for two aircraft entities
0
votes
0
answers
32
views
Interpreter error: Restriction Failure
I'm trying to pull some data from the Metropolitan Museum's API to make a visualization. I've written some code to pull the "culture" data and convert that into Country Entities so that ...
1
vote
0
answers
43
views
How to Structure A Simple EntityStore
I have modified a simple example from the documentation:
...
3
votes
1
answer
57
views
Using Contains* symbols to create implicitly defined entity classes
The following line finds the higher ed institutions in New York without a Carnegie classification:
...
10
votes
2
answers
368
views
What procedures do you take to find the right Entity?
What procedures are there to find entities ? I understand little about entities. I use free form input or wolfram alpha as a cry for help. What systematic procedures are there for narrowing down a ...
2
votes
3
answers
145
views
How to check whether an object is an Entity or not?
Perhaps this is trivial - if so I am happy to delete.
I have a mixed list of objects that are Entities and strings. Is there a way of telling the difference between them ?
For example we have the ...
0
votes
1
answer
71
views
Most Populous Cities [duplicate]
Consider the following code that generates an entity association for the top ten most populous cities in WV:
...
1
vote
0
answers
36
views
Create Items that have same type/class as existing Wolfram Class
I'm working on a food log using Wolfram Language and I've got a conundrum.
I would like to use the repository's existing Food entities, but there are items that I ...
3
votes
2
answers
69
views
EntityStore and Parallelization
I have created an entity store for financial data, as follows:
It generally works well, except that when I try to use parallelization, it fails. For example:
first distribute the definition of the ...
0
votes
1
answer
37
views
Converting a Column in a Dataset into a list of Entities [closed]
I have created a dataset that contains a column of countries in one column and a list of values in a second column. Please could someone advise me how to convert the countries into entities whilst ...
5
votes
2
answers
164
views
List of large cities in Pakistan
Bug introduced in 12.2.0 or earlier and persisting through 13.1.0
I am using v12.2.0-Win7-x64.
I have been experimenting with Geo* command syntaxes and came across ...
7
votes
1
answer
165
views
Using CityData[] vs. Entity for population
I am using v12.2.0-Win7-x64.
CityData[Entity[
"City", {"Shanghai", "Shanghai", "China"}], "Population"]
...
6
votes
1
answer
195
views
Exporting results containing Entities to JSON?
I am looking for a straightforward way to export results from functions like ImageContents, FacialFeatures, and WolframAlpha - symbols that return stuff containing knowledgebase content.
Aside from ...
4
votes
1
answer
102
views
Obtain a group with desired properties using RandomEntity
This is my current try:
...
7
votes
2
answers
152
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
52
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 ...
3
votes
1
answer
90
views
How to prevent output of Entity object in EntityValue?
By default, no matter
ElementData["Hydrogen", "DiscoveryCountries"]
or
...
3
votes
0
answers
39
views
2
votes
0
answers
53
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
47
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
69
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
187
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
84
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
59
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
116
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:
...
-3
votes
1
answer
108
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 ...
0
votes
1
answer
203
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
83
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
74
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
90
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
83
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
49
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
99
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
70
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
132
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,...
3
votes
0
answers
102
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
94
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 ...