Skip to main content

Questions tagged [entity]

Questions about Entity expressions and the use of standardized representations of specific real-world entities.

Filter by
Sorted by
Tagged with
5 votes
2 answers
193 views

Using ReactionBalance on chemical entities with missing formula

I am currently working on a project (turns out: a bigger project, than originally thought...) with all hypothetically "thinkable" products for a reaction with two given educts. These educts ...
Armin Vollmer's user avatar
1 vote
0 answers
61 views

Upper and lower case sensitivity when entering entities, but inconsistent

When you type Entity["Chemical", "Hydrogen"] or Entity["Chemical", "hydrogen"] it will ...
Armin Vollmer's user avatar
3 votes
1 answer
62 views

CountryData syntax

Which of the following syntax variations are correct? For the incorrect? syntax, what does the obtained value represent? Statements 2/3 and 4/5 are identical; I was trying to see if it was a bug. <...
Syed's user avatar
  • 55.4k
3 votes
1 answer
84 views

A few national flags not converting properly to pdf

Why is the pdf output for the following flags not rendering properly? I am using v12.2.0 on Win7-x64. ...
Syed's user avatar
  • 55.4k
0 votes
0 answers
37 views

Create auto-completion for Wolfram Entity framework related functions when using with user-defined entity store

I am trying to create autocompletion for my custom entity store, for example in the document of EntityStore ...
Nhan_nht's user avatar
1 vote
2 answers
79 views

How to disable Entities in import of PGN Chess data?

Save the following as test.pgn ...
flinty's user avatar
  • 25.5k
3 votes
1 answer
73 views

Errors on entity CrystalSystem

Following the tutorial on Exploring Symmetries of Crystal Systems and using the code below: ...
lotus2019's user avatar
  • 2,131
4 votes
1 answer
55 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"] ...
Jason's user avatar
  • 43
3 votes
1 answer
137 views

Living or Non-Living?

...
Syed's user avatar
  • 55.4k
4 votes
3 answers
416 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 ...
lesobrod's user avatar
  • 1,699
3 votes
0 answers
64 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: ...
user13892's user avatar
  • 9,443
1 vote
1 answer
170 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 ...
Peter Burbery's user avatar
2 votes
1 answer
95 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 ...
Dunlop's user avatar
  • 4,023
5 votes
2 answers
133 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)...
Tomi's user avatar
  • 4,376
6 votes
2 answers
214 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.: ...
Wolfgang123's user avatar
3 votes
1 answer
86 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 ...
Syed's user avatar
  • 55.4k
2 votes
1 answer
40 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 ...
Doug Kimzey's user avatar
  • 2,279
0 votes
0 answers
38 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 ...
Doug Kimzey's user avatar
  • 2,279
1 vote
1 answer
45 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
Nick's user avatar
  • 403
1 vote
0 answers
49 views

How to Structure A Simple EntityStore

I have modified a simple example from the documentation: ...
MMAUser's user avatar
  • 399
3 votes
1 answer
59 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: ...
bobthechemist's user avatar
10 votes
2 answers
404 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 ...
userrandrand's user avatar
  • 5,892
2 votes
3 answers
168 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 ...
Dunlop's user avatar
  • 4,023
0 votes
1 answer
72 views

Most Populous Cities [duplicate]

Consider the following code that generates an entity association for the top ten most populous cities in WV: ...
JEM's user avatar
  • 1,165
1 vote
0 answers
40 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 ...
Steven Buehler's user avatar
3 votes
2 answers
71 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 ...
MMAUser's user avatar
  • 399
0 votes
1 answer
49 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 ...
Kathryn's user avatar
5 votes
2 answers
170 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 ...
Syed's user avatar
  • 55.4k
7 votes
1 answer
173 views

Using CityData[] vs. Entity for population

I am using v12.2.0-Win7-x64. CityData[Entity[ "City", {"Shanghai", "Shanghai", "China"}], "Population"] ...
Syed's user avatar
  • 55.4k
6 votes
1 answer
207 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 ...
M.R.'s user avatar
  • 31.5k
4 votes
1 answer
102 views

Obtain a group with desired properties using RandomEntity

This is my current try: ...
yode's user avatar
  • 26.8k
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 ...
Denis O'Riordan's user avatar
4 votes
1 answer
58 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 ...
Denis O'Riordan's user avatar
3 votes
1 answer
94 views

How to prevent output of Entity object in EntityValue?

By default, no matter ElementData["Hydrogen", "DiscoveryCountries"] or ...
matheorem's user avatar
  • 17.2k
3 votes
0 answers
39 views

Does ElementData have less information than Element Entity?

...
matheorem's user avatar
  • 17.2k
2 votes
0 answers
54 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 ...
Daniel Martin's user avatar
1 vote
0 answers
53 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 ...
matheorem's user avatar
  • 17.2k
2 votes
0 answers
74 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 ...
Luxspes's user avatar
  • 930
5 votes
1 answer
199 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}]
lotus2019's user avatar
  • 2,131
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,...
sunt05's user avatar
  • 4,367
0 votes
1 answer
62 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 ...
jmm's user avatar
  • 271
0 votes
1 answer
117 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: ...
Peter Burbery's user avatar
-3 votes
1 answer
109 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 ...
Peter Burbery's user avatar
0 votes
1 answer
225 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 ...
Peter Burbery's user avatar
1 vote
1 answer
85 views

Why does Entity Class return an empty value sometimes?

I am working on computing the 20 largest cities in California. ...
Peter Burbery's user avatar
-1 votes
2 answers
77 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 ...
Peter Burbery's user avatar
4 votes
0 answers
98 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 ...
Peter Burbery's user avatar
1 vote
0 answers
92 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 ...
Peter Burbery's user avatar
2 votes
0 answers
53 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 ...
Peter Klamser's user avatar
1 vote
1 answer
101 views

How to output Polygon with latitude and longitude set in EntityValue function?

I used EntityValue to represent a map of a country. ...
Milk's user avatar
  • 1,718