Questions tagged [entity]
Questions about Entity expressions and the use of standardized representations of specific real-world entities.
173
questions
1
vote
0
answers
33
views
How to Structure A Simple EntityStore
I have modified a simple example from the documentation:
...
3
votes
1
answer
52
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
325
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
76
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
67
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
30
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
55
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
29
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
154
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
153
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
139
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
101
views
Obtain a group with desired properties using RandomEntity
This is my current try:
...
7
votes
2
answers
146
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
36
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
82
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
50
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
37
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
63
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
173
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
80
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
53
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
93
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
103
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
137
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
81
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
67
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
74
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
68
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
39
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
95
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
120
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
82
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
91
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
78
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
122
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
56
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 ...
7
votes
3
answers
383
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
56
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
277
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
69
views
EntityValue timeout
Bug in 12.1.1 and possibly earlier versions
Acknowledged by WRI as an issue CASE:4617646.
...
2
votes
1
answer
67
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
91
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
70
views
EntityClass Downloading Speedup
Running this command. Trying to get all cities more than 1 million people in US.
...
4
votes
0
answers
61
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
64
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 ...