News for hackers. Stuff that matters.
Re:IKEA’s knowledge graph and why it has three layers by elcapitan on Thursday September 08, 2022 @08:47AM (#32764722)
Maybe I'm missing something, but .. what problem is this solving?
Re:IKEA’s knowledge graph and why it has three layers by BatteryMountain on Thursday September 08, 2022 @09:15AM (#32765023)
Most companies are a mess internally and information/meta data about various parts about the org is badly grouped and/or named. When reporting time comes, you have a big'ol mess to categorize things manually to make sense of it. The same issues spill over into code and thus websites and catalogues (ever wondered why some companies websites are better organised and filterable?, example Dell, but think of a car manufacturer and all their parts), so it really matters that someone or a group sits down and formalize their vocabulary & taxonomy & grouping of things. Meta data is often more important than the actual thing being described! This all plugs into DDD & standardization efforts (see banking and healthcare) and why programmers subconsciously hammers on about "naming things are hard" - whether they are aware of it or not, they are sensing that somehow the order and naming of things matter. We also have to deal with versioning of things, and not just in code, but in hardware too. So it really pays off if done well.
Re:IKEA’s knowledge graph and why it has three layers by LeifCarrotson on Thursday September 08, 2022 @10:09AM (#32765725)
See also the parametric search available at McMaster Carr:

https://www.mcmaster.com/screws/hex-head-screws/

or Digikey:

https://www.digikey.com/en/products/filter/ceramic-capacitor...

or PCpartPicker:

https://pcpartpicker.com/products/motherboard/

compared to trying to find the same products on Amazon or AliExpress. Many of the products are available, but every product on those examples can be filtered against comparable products by the specs that matter to the engineers doing the selection. On other sites, the metadata is generated inconsistently by individual sellers.

Re:IKEA’s knowledge graph and why it has three layers by iamjackg on Thursday September 08, 2022 @12:15PM (#32767706)
It's very interesting to me that, as an absolute amateur at electronics, I find the Amazon/AliExpress approach infinitely more usable, even though Digi-Key has a better selection of products. Of course, this is because my needs are usually something extremely generic and simple like "I need some 400ohm resistors" or "I need an 8-bit shift register," with a strong emphasis on the "anything goes" aspect.

On Digi-Key I get absolutely lost. There are thousands of options, with different form factors, costs, availability, specs, and more. Can I buy 5 of them? What's the lead time? Is it SMD or through? How much is shipping? Which vendor do I choose?

On AliExpress, I get a bunch of "5 8-bit shift registers for electronics projects" listings, check a couple of them, look up some info, and purchase one in a few minutes.

Of course this means I end up with mediocre, sometimes outright broken parts, but it feels like it's worth the time I save. I wish there was a curated list or an "easy mode" on Digi-Key.

Re:IKEA’s knowledge graph and why it has three layers by somat on Thursday September 08, 2022 @12:49PM (#32768199)
Conversly when I want a power jack with a 3/4 inch hole diameter, 3 wires and no more than 1 inch penetration into the chassis. It is so nice to be able to go to a vendor that has actual metadata on the products they are selling. I hate going on amazon and having to wade through 15 pages of stuff.

What I have done when I find myself with several similar items on digikey and am unable to make a choice, I will go with whatever has the biggest inventory, the assumption being whatever sells the best will probably be the best... or at least the most available, which is good enough for me.

Re:IKEA’s knowledge graph and why it has three layers by xani_ on Thursday September 08, 2022 @08:03PM (#32773706)
As not so absolute amateur the key is to type "<parts site> <what you want>" in google and then fiddle

For example "8 vit shit register" gives first link to SN74HC595B, a generic shift register and second link to parametric search

https://eu.mouser.com/c/semiconductors/logic-ics/counter-shi...

with "logic type=shift register" and "number of bits=8" already selected.

You don't even need to spell it correctly

Googling smartly is

> I wish there was a curated list or an "easy mode" on Digi-Key.

exactly what you want.

Re:IKEA’s knowledge graph and why it has three layers by jfim on Thursday September 08, 2022 @10:07PM (#32774463)
You can ignore most of the specs that are irrelevant to your project on parametric searches.

For example, here's how you'd find a generic through hole LED. Search for "through hole LED", pick a color, stocking option: in stock, sort by price, and pick whatever seems right for your project, making sure that you're not ordering something silly like 2500 LEDs (it'll be pretty obvious when you check out anyway). If there's something else that's relevant to your project (eg. the size or shape of the LED) then you can specify that.

The datasheet is just a click or two away to do a sanity check that you're ordering something that makes sense.

Obviously, for a generic component like a LED where the specs might not matter too much and it's fine if you get one of dubious quality, you can just get a random grab bag of LEDs off AliExpress. Or if the catalog overwhelms you, there's always Adafruit, SparkFun, Pololu, etc.

Re:IKEA’s knowledge graph and why it has three layers by akiselev on Friday September 09, 2022 @09:16AM (#32778812)
For passives, I have a bunch of resistor/capacitor/inductor/etc kits for through hole and SMD. You can buy them on Amazon so they're usually available fast. You don't have too worry much about the specs but definitely learn the basics like electrolytic vs solid state, voltage/current/power ratings, etc.

For ICs search Google for "<part description> breakout" which will often show you Sparkfun, Adafruit, or some other hacker focused shop/blog. For example, some results roughly ranked by obscurity: 8-bit shift register [1], thermocouple [2], air quality [3], CPLD [4], crosspoint switch [5].

For anything more complex than that - for example, a DLP micromirror device - you'll have to dig deeper and search for "<part description> dev kit". Manufacturers usually make dev kits using their flagship chips from which you can easily navigate related parts. Be prepared to spit your morning coffee out at some of the prices of this path though (i.e. aforementioned DLP dev kits are $1k+, easily twice what you'd pay for a DLP projector using the same chip)

I assume that's what your Amazon/Aliexpress searches have done by proxy (I often do use Amazon too for more basic stuff like relays, ESP8/32 etc. when I'm impatient)

[1] https://www.sparkfun.com/products/10680

[2] https://www.adafruit.com/product/269

[3] https://www.adafruit.com/product/3566

[4] http://dangerousprototypes.com/docs/XC9500XL_CPLD_breakout_b...

[5] https://hackaday.io/project/167228-adg2128-breakout

Re:IKEA’s knowledge graph and why it has three layers by iamjackg on Friday September 09, 2022 @04:22PM (#32784422)
Thanks for the tips! That's pretty much exactly what my process looks like today if I want to figure out which variant is the most "popular." Most of the uncertainty is specifically about specialist sites like Digi-Key.

For example, the 74HC595 you linked is a super common shift register, but DK Canada has 88 listings for it. Some surface mount, some in different DIP configurations, and now I have to scour through and figure out the one variant that works for me.

Generalist sites like Amazon and AliExpress tend to mostly stock the variants that tinkerers/makers want when prototyping, which makes it easier for me to plop "74HC595" in the search bar and quickly get a sensible result, especially when sorting by amount sold.

Re:IKEA’s knowledge graph and why it has three layers by asmithmd1 on Thursday September 08, 2022 @12:50PM (#32768224)
Digi-Key needs a sort by “most popular” You can often sort by number in stock to find a “normal” one
Re:IKEA’s knowledge graph and why it has three layers by 8note on Thursday September 08, 2022 @02:08PM (#32769452)
Number in stock tend to be better than popular -- popular digikey items tend to go out of stock
Re:IKEA’s knowledge graph and why it has three layers by poulsbohemian on Thursday September 08, 2022 @05:06PM (#32772084)
>See also the parametric search available at McMaster Carr

About 25 years ago I built a series of calculators for a competing industrial supplier, where you could match up the bolt / screw / washer / nut needed for each size, metal vs wood application, etc. Still a very relevant need today that I've seldom seen replicated usefully on any site.

Re:IKEA’s knowledge graph and why it has three layers by wikfwikf on Thursday September 08, 2022 @12:14PM (#32767686)
To provide a concrete example, TFA said that 'product' was a 'concept'. Another concept could be 'part'. Another concept could be 'package'.

(You buy a product such as a bookcase. You then go and pick up one or more packages which make up that product. When you get the packages home and open them up, each contains several parts.)

There are lots of different systems at IKEA, which work somewhat in parallel but sometimes have to interoperate. For example, point of sale, returns, warehouse management, showroom design. Some of them care about all of product/package/part, but many of them care more about one of those levels than the other. Point of sale just needs to know what products you bought, not what parts are in the packages. Warehouse really cares about what packages there are, but also wants to be aware of which sets of packages are products.

Suppose that one system doesn't make a distinction between product and package, or uses 'product' to mean either product or package. That system might work perfectly fine on its own, but when it has to interact with another system which cares a lot about that categorical distinction, things will go wrong. So you want to have one place where all those concepts are defined. Then when you create a new system, you can confirm that you are using the same categories with the same meanings as everyone else.

Re:IKEA’s knowledge graph and why it has three layers by travisjungroth on Thursday September 08, 2022 @11:48AM (#32767330)
> programmers subconsciously hammers on about "naming things are hard" - whether they are aware of it or not, they are sensing that somehow the order and naming of things matter.

Never seen someone noble savage programmers before.

Re:IKEA’s knowledge graph and why it has three layers by tanepiper on Thursday September 08, 2022 @10:01AM (#32765634)
This (disclosure: I'm one of the tech leads on this project)
Re:IKEA’s knowledge graph and why it has three layers by MetaWhirledPeas on Thursday September 08, 2022 @03:09PM (#32770501)
I'm consistently impressed with how IKEA does business, with the exception of their website. For example, search for "storage bin" then try to filter by the dimensions of the bin (for fitting on a bookshelf or in a cubby hole). You're given two filtering choices: Large and Medium. Those are not very helpful choices.

I'm sure their metadata is great compared to some groups, but in my case it's still insufficient.

Re:IKEA’s knowledge graph and why it has three layers by tanepiper on Thursday September 08, 2022 @03:42PM (#32770983)
Not only you. It's an identified problem the Knowledge Graph is attempting to solve.
Re:IKEA’s knowledge graph and why it has three layers by MetaWhirledPeas on Thursday September 08, 2022 @06:52PM (#32773107)
I also noticed it might be considering a more European usage of the word "bin". There were lots of trash cans in the results. The metadata might need to be regionalized.
Re:IKEA’s knowledge graph and why it has three layers by tanepiper on Friday September 09, 2022 @02:17AM (#32775889)
Indeed localisation is more than just labels, even whole rooms or activities can be treated differently in countries (sleeping just for starters...)
Re:IKEA’s knowledge graph and why it has three layers by frakt0x90 on Thursday September 08, 2022 @09:14AM (#32765019)
Agreed the article doesn't make it clear. I know companies like Netflix have built knowledge graphs of their products which they create embeddings of to feed to ML models which helps them make better recommendations. NASA also built one to ease search of safety information when building new things.

https://netflixtechblog.com/supporting-content-decision-make...

https://neo4j.com/blog/nasa-critical-data-knowledge-graph/

Re:IKEA’s knowledge graph and why it has three layers by kendallgclark on Thursday September 08, 2022 @11:52AM (#32767389)
NASA has more than one Knowledge Graph.

https://www.stardog.com/blog/nasas-knowledge-graph/

Re:IKEA’s knowledge graph and why it has three layers by sunpazed on Thursday September 08, 2022 @09:03AM (#32764884)
Search, data normalisation, equivalencies, recommendation engines, supply chain analytics and reporting, etc.

Having a well defined ontology helps power lots of data products, and even build new ones.

Re:IKEA’s knowledge graph and why it has three layers by katsi111 on Friday September 09, 2022 @02:28AM (#32775962)
Hi, I'm the author of the blog post. What problem we are solving at IKEA exactly is something I plan to write next about, once we get some numbers in from AB testing etc. We are not there yet to share concrete results.

KGs in the general e-commerce space solve search disambiguation and bridging the gap of industry language with customer language; common sense recommendation, especially when more and more customers do not opt-in to sharing their data; and embeddable info box content throughout the customers browsing experience.

KG is not a technology but a paradigm shift from an application-centric data modeling (classic data engineering) to a business/purpose/people-centric data modeling. It means that on top of the data layer, the KG enables to access the data via business concepts. It enables e.g. simple questions like which products are suitable for customers that live in small apartments and automatically solves the problem of combining different data sources to answer the question.

Re:IKEA’s knowledge graph and why it has three layers by contravariant on Thursday September 08, 2022 @10:01AM (#32765629)
Turns out it's easier to reason with binary relationships so if you only use tables with 2 columns it's somewhat easier to infer things from your data.

Categories of products is a good example as they form a transitive relation, but not necessarily a strict hierarchy (any particular entity might be in multiple distinct categories).

Re:IKEA’s knowledge graph and why it has three layers by fredrikholm on Thursday September 08, 2022 @09:01AM (#32764863)
I've done contract work for IKEA.

When talking to their senior engineers, a common trope was:

> I wouldn't know, I've only worked here for 5 years.

The sheer volume of new hierarchies replacing old ones, teams being split into other reams, rebranding of departments ...

I doubt any one person understands how IKEA works, let alone enough to be a source for others.

Perhaps they are projecting onto their customers here.

Re:IKEA’s knowledge graph and why it has three layers by neurostack on Thursday September 08, 2022 @01:14PM (#32768540)
wake up babe new computerphile video on knowledge graphs just dropped https://www.youtube.com/watch?v=PZBm7M0HGzw