Questions tagged [entity]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
35 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
0answers
33 views

Why is GeoHistogram messing with the Bins?

Consider some precise location data as follows: ...
3
votes
1answer
48 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: <...
8
votes
1answer
117 views

How to manipulate date in SQL via the EntityFramework?

I have an MicrosoftSQL Server database connected to entity framework as follows: ...
0
votes
0answers
51 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 ...
0
votes
1answer
38 views

How to map a list of entities into a function?

x = RandomChoice[CountryData[]] Here I have defined x to be a random country. ...
1
vote
1answer
40 views

How to change list type from CountryData to regular text? [closed]

When you access a list of countries from CountryData the outputs are boxed and is not normal text. How do I convert the type of items inside the list so I can modify the style? For example I have: <...
1
vote
1answer
56 views

Icons in the Entity store

with Mathematica 12 there are Icon entities. I was looking for standard Icons like Weight (standard kilogram icon) but could not find any. I have no clue what icons are available and the number of ...
2
votes
1answer
55 views

Identify and Assign Values to Regions in the Map

so I want to do a simulation of the spread of a certain disease in California with spatial considerations. As such, in order to carry out the PDE calculation, I will need to extract the region of ...
10
votes
1answer
217 views

Dataset function and related gadgets not ideal for large datasets

There's a performance bottleneck when using these types of functions. If I had a large CSV file and were to import it as a regular 'unstructured' CSV, I save almost half the time importing the file, ...
4
votes
0answers
72 views

Obtain complete list of built-in graphical objects, and split them into groups?

I would like to obtain the complete listing of built-in graphical objects (which can be used in Graphics or Graphics3D) ...
7
votes
2answers
167 views

How can I filter an EntityClass by _not_ having a property?

With Mathematica 12, I can create implicit Entity Classes like: I can also filter for having exactly a specific property, like so It seems quite trivial, but I can't seem to filter by a property not ...
2
votes
0answers
34 views

Using Wolfram Language for Non-Relational (NoSQL) Data Storage

I've got a relatively small amount of personal data I'd like to try to store and manipulate within the WolframWorld (tm forthcoming). It's not enough data to spin up a MongoDB instance, but since each ...
0
votes
0answers
39 views

How to filter by stock exchange in Financial EntityClass?

I have seen example of filtering the EntityClass. For example, to get the companies with the largest p/e ratios: ...
1
vote
0answers
50 views

how to download and clear entity framework data?

Firstly I want to know when executing queries like, ...
3
votes
0answers
49 views

ZipCode data for historical dates

I am trying to get historical values of certain properties of a ZIPCode entity. To get the current data I write: ...
3
votes
0answers
80 views

How complete is the financial statement data?

Has anyone here looked at CompanyData or Entity["Company",All]? Are both of them the same data but just a different interface ...
2
votes
0answers
37 views

Implicitly defined EntityClass does not work

When studying how I can use the Wolfram Data Framework on a database on my private computer I found a curious problem. I created an ...
1
vote
0answers
33 views

When working with derived entity class what is the EntityValue equivalent of EntityList?

Suppose I am working with the following derived entity class. ...
2
votes
2answers
58 views

How to merge two entity classes with same structure?

Suppose I am looking for file formats associated with markup languages. Lets say I would like to first find out about the ones which are web associated. I look at the ...
2
votes
1answer
92 views

How to delete downloaded data from a particular entity class?

I have a function below which downloads an entire entity class as a local copy on the system in a single query, so any further queries don't have to be send to the online server. ...
0
votes
0answers
41 views

Use of EntityFunction in AggregatedEntityClass

EntityFunction doesn't appear to be working as documented when explicit properties are not included in the body of the function. First register the titanic ...
2
votes
0answers
97 views

Converting Datasets into EntityStores: best practice?

The advent of the family of *edEntityClass functions in V12 looks very promising. Dataset and its related queries are ideal for ...
2
votes
2answers
78 views

How to get company dataset in original currency?

I have obtained the financial data of a company using Entity["Company", ...]["Dataset"]: ...
3
votes
1answer
58 views

Is there a limit to the amount of curated data that can be retrieved?

Mathematica provides access to curated data on many entities. For access to some of the curated data (e.g. current exchange rates), users must have an internet connection. Is there a limit (i.e. quota)...
1
vote
1answer
50 views

How to get time series data from Entity[“Company”,…]?

In my notebook, I have a cell that displays AT&T's revenue for one particular year (the year 2010): ...
3
votes
1answer
57 views

How to get a list of all known classes?

I'd like a function that returns a stringified entity at random. I can't seem to find a full list of classes from which to sample:
0
votes
1answer
35 views

Why do some Administrative Divisions fail to translate into Entities?

I am trying to prime the following list into a database to run some geo-stats: ...
18
votes
1answer
400 views

What are the benefits of Entity Classes for Databases?

To me, using the older database functionality is much simpler: ...
4
votes
1answer
91 views

How can I create my own entity type with dated properties?

I tried to create my own entity type in which entities have dated properties. But I can't find any helpful documentation on that matter. And every try failed. I tried ...
7
votes
1answer
122 views

How to do a database query on substrings?

With the package DatabaseLink I can open a connection to my MYSQL database. Then I can use SQL commands like ...
2
votes
0answers
50 views

How to use SPARQLExecute for SPARQLSelect on Entities?

When using SPARQLSelect on Entity Types the entire entity store is downloaded to the local cache. For example, ...
1
vote
0answers
34 views

Qualifier in EntityStore

I am trying to construct some entities by myself. However, I found the examples given by the documents quite confusing. Can someone explain how to use the qualifiers? The example in the documentation ...
5
votes
0answers
70 views

EntityStore vs. ResourceData

I find that I have a local file, "General-Topology-EntityStore.wl" (and I don't recall exactly how I got it!). Evaluating ...
0
votes
1answer
90 views

How to get the image data of AnatomyPlot3D?

If I have a 3D plot, I can get its image data by using ImageData as below:- ...
2
votes
0answers
64 views

GeoRegionValuePlot optimization

I have the following piece of code that plots a colormap by zipcode. Zips is an array of zip codes (All in the US mainland) and testscore is just some made up data for testing purposes. The list of ...
1
vote
1answer
73 views

From Free-Form linguistic input to function expression to calculate spheroid surface

I need to calculate the surface area of an oblate spheroid. My first step is to get the surface equation from Free-Form input. But I have trouble converting to a WM function and replace the focus ...
4
votes
3answers
94 views

EntityValue timeline

I try to use EntityValue to get the returns of a stock from January 1st 2019 to today. When I use ...
6
votes
0answers
148 views

Benefits of using the high level entity framework over raw SQL

Has anyone that has used both SQL particularly TSQL used in Microsoft SQL Server and Wolfram Database integration into its Entity framework, provide some particular examples where the high level ...
10
votes
1answer
248 views

Is it possible to restrict the arguments for a function to a specific entity type?

I'm trying to wrap my head around how to work with Mathematica for building (computable) domain specific knowledge. One particular thing I didn't quite understand is how to create symbols for ...
4
votes
2answers
524 views

How can I get the time zone of a US ZIP code?

There does not seem to be a direct way to extract the time zone for a ZIP code. Currently, I am first mapping the ZIP code to the states, and then getting the time zones for those states. ...
2
votes
0answers
76 views

Extracting info from Entities

I am trying to look up data of entities, but I imagine I'm not doing it right, or have misunderstood the structure. Here, I try the extract the values of the new SI defining constants, which are ...
9
votes
1answer
175 views

How do I find the list of values for an EntityProperty qualifier?

Cross-Post on Wolfram Community I have an EntityProperty and I know how to get its list of qualifiers. Now how do I figure out the possible values these can take ...
4
votes
1answer
69 views

How do I find the list of available qualifiers for a given EntityProperty?

If you read the docs for EntityProperty you see it can be used with EntityValue to perform qualified selections of data, ...
7
votes
2answers
209 views

How to use an EntityClass

The two formats documented for EntityClass are ...
1
vote
1answer
147 views

Convert Entity Property to String

I am doing some work with my own EntityStores as well as the built in Wolfram Entities. After pulling a subset of data, I am wanting to structure it as a dataset ...
6
votes
1answer
76 views

How to submit new state-by-state information to the Data Repository

I'm interested in algorithms for apportioning seats of Congress to states after every decennial Census, for which I'm using Mathematica to test different functions. To this end, I wrote a Notebook ...
3
votes
1answer
64 views

Matching Aspect Ratios between two GeoGraphics with Entities for GeoRange

I'm making a basic 50-state map of population (using a log scale). Given the usual crucible of figuring out what to do with Hawaii and Alaska, I thought I would make the same ...
4
votes
2answers
102 views

How to get the input string of Entity as output?

I have the following codes:- ...
4
votes
1answer
391 views

How to convert entity to string?

I have an entity city. For example, I run {city} = GeoNearest["City", GeoPosition[{41.8, -87.7}]] and then I got The entity "...