PMGraph / README.md
shawntzx's picture
PMGraph v2 release
0268c35
|
Raw History Blame Contribute Delete
22.6 kB
---
license: cc-by-4.0
pretty_name: PMGraph
language:
- en
tags:
- knowledge-graph
- manufacturing
- supply-chain
- link-prediction
- multimodal
- benchmark
task_categories:
- graph-ml
size_categories:
- 10K<n<100K
configs:
- config_name: directory
data_files: Cleaned_Master_CSV_v3.csv
dataset_info:
- config_name: directory
features:
- name: "Web"
dtype: string
- name: "Name"
dtype: string
- name: "Employees"
dtype: string
- name: "Business_Description"
dtype: string
- name: "Industry_1"
dtype: string
- name: "Industry_2"
dtype: string
- name: "Industry_3"
dtype: string
- name: "Industry_4"
dtype: string
- name: "Industry_5"
dtype: string
- name: "Industry_6"
dtype: string
- name: "Industry_7"
dtype: string
- name: "Industry_8"
dtype: string
- name: "Industry_9"
dtype: string
- name: "Industry_10"
dtype: string
- name: "Industry_11"
dtype: string
- name: "Industry_12"
dtype: string
- name: "Industry_13"
dtype: string
- name: "Industry_14"
dtype: string
- name: "Industry_15"
dtype: string
- name: "Industry_16"
dtype: string
- name: "Industry_17"
dtype: string
- name: "Industry_18"
dtype: string
- name: "Industry_19"
dtype: string
- name: "Industry_20"
dtype: string
- name: "Industry_21"
dtype: string
- name: "Industry_22"
dtype: string
- name: "Industry_23"
dtype: string
- name: "Industry_24"
dtype: string
- name: "Industry_25"
dtype: string
- name: "Industry_26"
dtype: string
- name: "Industry_27"
dtype: string
- name: "Industry_28"
dtype: string
- name: "Industry_29"
dtype: string
- name: "Industry_30"
dtype: string
- name: "Certification_1"
dtype: string
- name: "Certification_2"
dtype: string
- name: "Certification_3"
dtype: string
- name: "Certification_4"
dtype: string
- name: "Certification_5"
dtype: string
- name: "Certification_6"
dtype: string
- name: "Certification_7"
dtype: string
- name: "Certification_8"
dtype: string
- name: "Certification_9"
dtype: string
- name: "Certification_10"
dtype: string
- name: "Process_Capability_1"
dtype: string
- name: "Process_Capability_2"
dtype: string
- name: "Process_Capability_3"
dtype: string
- name: "Process_Capability_4"
dtype: string
- name: "Process_Capability_5"
dtype: string
- name: "Process_Capability_6"
dtype: string
- name: "Process_Capability_7"
dtype: string
- name: "Process_Capability_8"
dtype: string
- name: "Process_Capability_9"
dtype: string
- name: "Process_Capability_10"
dtype: string
- name: "Process_Capability_11"
dtype: string
- name: "Process_Capability_12"
dtype: string
- name: "Process_Capability_13"
dtype: string
- name: "Process_Capability_14"
dtype: string
- name: "Process_Capability_15"
dtype: string
- name: "Process_Capability_16"
dtype: string
- name: "Process_Capability_17"
dtype: string
- name: "Process_Capability_18"
dtype: string
- name: "Process_Capability_19"
dtype: string
- name: "Process_Capability_20"
dtype: string
- name: "Process_Capability_21"
dtype: string
- name: "Process_Capability_22"
dtype: string
- name: "Process_Capability_23"
dtype: string
- name: "Process_Capability_24"
dtype: string
- name: "Process_Capability_25"
dtype: string
- name: "Process_Capability_26"
dtype: string
- name: "Process_Capability_27"
dtype: string
- name: "Process_Capability_28"
dtype: string
- name: "Process_Capability_29"
dtype: string
- name: "Process_Capability_30"
dtype: string
- name: "Process_Capability_31"
dtype: string
- name: "Process_Capability_32"
dtype: string
- name: "Process_Capability_33"
dtype: string
- name: "Process_Capability_34"
dtype: string
- name: "Process_Capability_35"
dtype: string
- name: "Process_Capability_36"
dtype: string
- name: "Process_Capability_37"
dtype: string
- name: "Process_Capability_38"
dtype: string
- name: "Process_Capability_39"
dtype: string
- name: "Process_Capability_40"
dtype: string
- name: "Process_Capability_41"
dtype: string
- name: "Process_Capability_42"
dtype: string
- name: "Process_Capability_43"
dtype: string
- name: "Process_Capability_44"
dtype: string
- name: "Process_Capability_45"
dtype: string
- name: "Process_Capability_46"
dtype: string
- name: "Process_Capability_47"
dtype: string
- name: "Process_Capability_48"
dtype: string
- name: "Process_Capability_49"
dtype: string
- name: "Process_Capability_50"
dtype: string
- name: "Material_Capability_1"
dtype: string
- name: "Material_Capability_2"
dtype: string
- name: "Material_Capability_3"
dtype: string
- name: "Material_Capability_4"
dtype: string
- name: "Material_Capability_5"
dtype: string
- name: "Material_Capability_6"
dtype: string
- name: "Material_Capability_7"
dtype: string
- name: "Material_Capability_8"
dtype: string
- name: "Material_Capability_9"
dtype: string
- name: "Material_Capability_10"
dtype: string
- name: "Material_Capability_11"
dtype: string
- name: "Material_Capability_12"
dtype: string
- name: "Material_Capability_13"
dtype: string
- name: "Material_Capability_14"
dtype: string
- name: "Material_Capability_15"
dtype: string
- name: "Material_Capability_16"
dtype: string
- name: "Material_Capability_17"
dtype: string
- name: "Material_Capability_18"
dtype: string
- name: "Material_Capability_19"
dtype: string
- name: "Material_Capability_20"
dtype: string
- name: "Material_Capability_21"
dtype: string
- name: "Material_Capability_22"
dtype: string
- name: "Material_Capability_23"
dtype: string
- name: "Material_Capability_24"
dtype: string
- name: "Material_Capability_25"
dtype: string
- name: "Material_Capability_26"
dtype: string
- name: "Material_Capability_27"
dtype: string
- name: "Material_Capability_28"
dtype: string
- name: "Material_Capability_29"
dtype: string
- name: "Material_Capability_30"
dtype: string
- name: "Material_Capability_31"
dtype: string
- name: "Material_Capability_32"
dtype: string
- name: "Material_Capability_33"
dtype: string
- name: "Material_Capability_34"
dtype: string
- name: "Material_Capability_35"
dtype: string
- name: "Material_Capability_36"
dtype: string
- name: "Material_Capability_37"
dtype: string
- name: "Material_Capability_38"
dtype: string
- name: "Material_Capability_39"
dtype: string
- name: "Material_Capability_40"
dtype: string
- name: "Material_Capability_41"
dtype: string
- name: "Material_Capability_42"
dtype: string
- name: "Material_Capability_43"
dtype: string
- name: "Material_Capability_44"
dtype: string
- name: "Material_Capability_45"
dtype: string
- name: "Material_Capability_46"
dtype: string
- name: "Material_Capability_47"
dtype: string
- name: "Material_Capability_48"
dtype: string
- name: "Material_Capability_49"
dtype: string
- name: "Material_Capability_50"
dtype: string
- name: "Business_Status_1"
dtype: string
- name: "Business_Status_2"
dtype: string
- name: "Business_Status_3"
dtype: string
- name: "Product_1"
dtype: string
- name: "Product_2"
dtype: string
- name: "Product_3"
dtype: string
- name: "Product_4"
dtype: string
- name: "Product_5"
dtype: string
- name: "Product_6"
dtype: string
- name: "Product_7"
dtype: string
- name: "Product_8"
dtype: string
- name: "Product_9"
dtype: string
- name: "Product_10"
dtype: string
- name: "Product_11"
dtype: string
- name: "Product_12"
dtype: string
- name: "Product_13"
dtype: string
- name: "Product_14"
dtype: string
- name: "Product_15"
dtype: string
- name: "Product_16"
dtype: string
- name: "Product_17"
dtype: string
- name: "Product_18"
dtype: string
- name: "Product_19"
dtype: string
- name: "Product_20"
dtype: string
- name: "Product_21"
dtype: string
- name: "Product_22"
dtype: string
- name: "Product_23"
dtype: string
- name: "Product_24"
dtype: string
- name: "Product_25"
dtype: string
- name: "Product_26"
dtype: string
- name: "Product_27"
dtype: string
- name: "Product_28"
dtype: string
- name: "Product_29"
dtype: string
- name: "Product_30"
dtype: string
- name: "Product_31"
dtype: string
- name: "Product_32"
dtype: string
- name: "Product_33"
dtype: string
- name: "Product_34"
dtype: string
- name: "Product_35"
dtype: string
- name: "Product_36"
dtype: string
- name: "Product_37"
dtype: string
- name: "Product_38"
dtype: string
- name: "Product_39"
dtype: string
- name: "Product_40"
dtype: string
- name: "Product_41"
dtype: string
- name: "Product_42"
dtype: string
- name: "Product_43"
dtype: string
- name: "Product_44"
dtype: string
- name: "Product_45"
dtype: string
- name: "Product_46"
dtype: string
- name: "Product_47"
dtype: string
- name: "Product_48"
dtype: string
- name: "Product_49"
dtype: string
- name: "Product_50"
dtype: string
- name: "Product_51"
dtype: string
- name: "Product_52"
dtype: string
- name: "Product_53"
dtype: string
- name: "Product_54"
dtype: string
- name: "Product_55"
dtype: string
- name: "Product_56"
dtype: string
- name: "Product_57"
dtype: string
- name: "Product_58"
dtype: string
- name: "Product_59"
dtype: string
- name: "Product_60"
dtype: string
- name: "Product_61"
dtype: string
- name: "Product_62"
dtype: string
- name: "Product_63"
dtype: string
- name: "Product_64"
dtype: string
- name: "Product_65"
dtype: string
- name: "Product_66"
dtype: string
- name: "Product_67"
dtype: string
- name: "Product_68"
dtype: string
- name: "Product_69"
dtype: string
- name: "Product_70"
dtype: string
- name: "Product_71"
dtype: string
- name: "Product_72"
dtype: string
- name: "Product_73"
dtype: string
- name: "Product_74"
dtype: string
- name: "Product_75"
dtype: string
- name: "Product_76"
dtype: string
- name: "Product_77"
dtype: string
- name: "Product_78"
dtype: string
- name: "Product_79"
dtype: string
- name: "Product_80"
dtype: string
- name: "Product_81"
dtype: string
- name: "Product_82"
dtype: string
- name: "Product_83"
dtype: string
- name: "Product_84"
dtype: string
- name: "Product_85"
dtype: string
- name: "Product_86"
dtype: string
- name: "Product_87"
dtype: string
- name: "Product_88"
dtype: string
- name: "Product_89"
dtype: string
- name: "Product_90"
dtype: string
- name: "Product_91"
dtype: string
- name: "Product_92"
dtype: string
- name: "Product_93"
dtype: string
- name: "Product_94"
dtype: string
- name: "Product_95"
dtype: string
- name: "Product_96"
dtype: string
- name: "Product_97"
dtype: string
- name: "Product_98"
dtype: string
- name: "Product_99"
dtype: string
- name: "Product_100"
dtype: string
- name: "Product_101"
dtype: string
- name: "Product_102"
dtype: string
- name: "Product_103"
dtype: string
- name: "Product_104"
dtype: string
- name: "Product_105"
dtype: string
- name: "Product_106"
dtype: string
- name: "Product_107"
dtype: string
- name: "Product_108"
dtype: string
- name: "Product_109"
dtype: string
- name: "Product_110"
dtype: string
- name: "Product_111"
dtype: string
- name: "Product_112"
dtype: string
- name: "Product_113"
dtype: string
- name: "Product_114"
dtype: string
- name: "Product_115"
dtype: string
- name: "Product_116"
dtype: string
- name: "Product_117"
dtype: string
- name: "Product_118"
dtype: string
- name: "Product_119"
dtype: string
- name: "Product_120"
dtype: string
- name: "Product_121"
dtype: string
- name: "Product_122"
dtype: string
- name: "Product_123"
dtype: string
- name: "Product_124"
dtype: string
- name: "Product_125"
dtype: string
- name: "Product_126"
dtype: string
- name: "Product_127"
dtype: string
- name: "Product_128"
dtype: string
- name: "Product_129"
dtype: string
- name: "Product_130"
dtype: string
- name: "Product_131"
dtype: string
- name: "Product_132"
dtype: string
- name: "Product_133"
dtype: string
- name: "Product_134"
dtype: string
- name: "Product_135"
dtype: string
- name: "Product_136"
dtype: string
- name: "Product_137"
dtype: string
- name: "Product_138"
dtype: string
- name: "Product_139"
dtype: string
- name: "Product_140"
dtype: string
- name: "Product_141"
dtype: string
- name: "Product_142"
dtype: string
- name: "Product_143"
dtype: string
- name: "Product_144"
dtype: string
- name: "Product_145"
dtype: string
- name: "Product_146"
dtype: string
- name: "Product_147"
dtype: string
- name: "Product_148"
dtype: string
- name: "Product_149"
dtype: string
- name: "Product_150"
dtype: string
- name: "Address_1"
dtype: string
- name: "City_1"
dtype: string
- name: "County_1"
dtype: string
- name: "State_1"
dtype: string
- name: "Zip_1"
dtype: string
- name: "Latitude_1"
dtype: string
- name: "Longitude_1"
dtype: string
- name: "Phone_1"
dtype: string
- name: "Fax_1"
dtype: string
- name: "NAICS_Code_1"
dtype: string
- name: "NAICS_Description_1"
dtype: string
---
# PMGraph — Dataset Card
**Authors**: Yunqing Li and Zixiang Tang (co-first authors), Lenovo ·
**Contact**: yli59@lenovo.com · **License**: CC BY 4.0
**Data**: https://huggingface.co/datasets/shawntzx/PMGraph (revision `v2`) · **Code**: https://github.com/llmresearchbase/PMGraph
> **This is PMGraph v2** (corrected and audited). Code and reproduction
> steps: https://github.com/llmresearchbase/PMGraph (see `REPRODUCE.md` here for
> the same instructions). It replaces the original C-MAG-era release, which
> included raw website images and has been withdrawn; `CHANGELOG.md` lists
> what changed.
## Files
| File | Contents |
|---|---|
| `Cleaned_Master_CSV_v3.csv` | Source manufacturer directory (14,007 records) |
| `hetero_graphs/Graph_A.pt` | The manufacturer–product heterogeneous graph (PyG) |
| `frozen_split_GraphA_seed42.pt` | Task A (relation completion) frozen split |
| `material_task_split.json`, `material_edges.pt` | Task B (material recovery) frozen split and edges |
| `manufacturer_features_no_material.pt` | Task B manufacturer features |
| `manufacturer_image_release_asset.pt` | Image embeddings + website domains (no raw pixels) |
| `manufacturer_validity_mask.pt`, `excluded_entries_v1.json` | Disclosed data-quality issues |
| `manufacturer_coverage_flags.pt`, `manufacturer_order_for_material_task.json` | Image-coverage flags and Task B manufacturer order |
```bash
hf download shawntzx/PMGraph --repo-type dataset --revision v2 --local-dir PMGraph-data
```
## Summary
A manufacturer–product–attribute–image graph for 8,900 US manufacturing SMEs
(14,007 total directory records), built on the published C-MAG pipeline, with
a corrected entity-identity scheme and two released, leakage-checked
benchmark tasks. See the accompanying paper for full detail; this card gives
the facts a reuser needs without reading the paper end to end.
## Composition
- **Manufacturers**: 8,900 graph nodes (14,007 total directory records; most
of the remainder never listed a product). 3 of the 8,900 are confirmed
non-manufacturers from the upstream directory — flagged, not removed; see
"Known issues" below.
- **Products**: 72,789 free-text catalog strings, 86.6% listed by exactly one
manufacturer.
- **Edges**: 112,598 manufacturer–product edges.
- **Attributes**: Material_Capability (89.8% coverage), Process_Capability
(33.9%), Certification, Industry, NAICS code, employee count, geography.
- **Images**: 4,484 manufacturers have website imagery (50.4% graph-relative
coverage, observed under the current scrape+filter pipeline — not verified
to be the true absence rate; see paper Section 3.2). **Not released as
pixel data** — see "Image release format" below.
## Provenance
Merged from SUDOKN's SC-KG (NSF Proto-OKN, led by Farhad Ameri, ASU) and the
manufacturer directory and ontology of Li and Starly (2024). Both upstream
sources trace back to this submission's own author(s) rather than being
third-party data acquired independently: Ameri is a co-author of C-MAG (the
paper that first merged SUDOKN into PMGraph), and this submission's author
is a co-author of Li and Starly (2024) itself. A direct written record (an
email thread with Ameri, Feb–Mar 2026) confirms he personally supplied the
exact source file (`Cleaned_Master_CSV_v3.xlsx`, matching this release's own
`Cleaned_Master_CSV_v3.csv`) for this explicitly-stated benchmark/dataset-
paper purpose. See `PROVENANCE_AND_ETHICS.md` for the full authorization-
chain check, including what was and wasn't independently confirmable from
public license records (SUDOKN's own GitHub org: no license set; the Li &
Starly 2024 arXiv preprint: CC BY-NC-ND 4.0, the author's own prior choice
for that one paper; the prior HuggingFace release: no license set; C-MAG's
own arXiv paper: CC BY 4.0). Lenovo IP clearance is confirmed internally.
Zixiang Tang (co-first-author, owner of the existing public HuggingFace
listing) will personally handle republishing the dataset and GitHub repo.
## Image release format
Images are released as **derived Jina-CLIP-v1 embeddings (32-dim SVD-
compressed, and 768-dim raw) plus each manufacturer's website domain URL —
not redistributed pixel content.** This substantially reduces copyright/
redistribution exposure relative to hosting a copy of scraped images.
Tradeoffs, stated plainly:
- The URL is domain-level (e.g. `https://example-mfr.com`), not a per-image
deep link — no per-image source URL was ever recorded during collection.
- A future user cannot re-encode the same images with a different vision
encoder without independently re-scraping the manufacturer's site, which
may have changed or gone offline since collection.
- The released embeddings are the frozen, versioned artifact the benchmark
numbers in the paper depend on — they will not change even if the live
website does.
## Benchmark tasks
1. **Manufacturer–product relation completion** — transductive edge
completion (`RandomLinkSplit`, all manufacturers visible in every split;
see paper Section 4.1). Reported under both random and degree-matched
negative sampling — these give materially different numbers; use whichever
matches your evaluation question, and report which one you used.
2. **Recorded-material-relation recovery** — Recall@K ranking over a frozen
56-category vocabulary, manufacturer-level split (paper Section 4.2). The
underlying label field is **not closed-world**: 17.4%/24.6% text-mention-
vs-structured-field inconsistency rates were measured before this task was
designed. Do not use this task's negatives as confirmed "manufacturer
cannot do X" labels.
## Known issues (disclosed, not silently omitted)
- **3 confirmed non-manufacturer nodes** (a mortgage company, a residential
community, a hobbyist arts association) inherited from the upstream
directory, each mis-assigned a manufacturing NAICS code. Flagged by exact
index in `manufacturer_validity_mask.pt` (indices 0, 5516, 6236); not
removed from the graph shipped here (would require reindexing — see
`README.md`).
- **3 extraction-artifact edges** on a 4th, otherwise-legitimate manufacturer
(`brimleyskateboards`) whose listed "products" are tumblr blog-tag
categories, not real products. Flagged at exact edge positions in the same
mask file.
- These are two distinct findings from a targeted heuristic screen (not a
random sample) — they establish that this failure mode exists, not its
true population rate.
- **A separate, uniform random sample** of 20 (manufacturer, product) edges
(not targeted, complementing the screen above) found 17/20 (85%)
plausible, 1/20 (5%) borderline, 2/20 (10%) confirmed errors — both
externally verified against the live manufacturer website (a generic
scraped label mistaken for a product name; an equipment-for-X relation
mistaken for a direct X relation). See `random_relation_audit_results.md`
for the full per-item table and methodology; at n=20 this is a wide-
interval estimate (95% CI for 2/20 ≈ 1–32%), not a precise population
error rate.
## License
**CC BY 4.0 — confirmed.** Governs only PMGraph's own derived artifacts
(the graph, features, embeddings, splits, code) as compiled and released by
this submission — it does not attach a license to the two upstream sources
themselves beyond what their own authors/maintainers have already granted.
The Li & Starly (2024) arXiv preprint's CC BY-NC-ND tag was the author's own
prior choice for that one paper, not a third-party restriction, and the
constructed graph here is a separate artifact from that preprint. Full text
in `LICENSE`.
## Authors / contact
**Yunqing Li** (first author) and **Zixiang Tang** (co-first-author),
both Lenovo. Contact: yli59@lenovo.com
## Citation
The accompanying paper is under review. Until it has a published entry,
please cite the dataset release:
```
@misc{li2026pmgraph,
title = {PMGraph: A Multimodal Manufacturer--Product Knowledge Graph
with Audited Relation-Completion Benchmarks (v2)},
author = {Li, Yunqing and Tang, Zixiang},
year = {2026},
howpublished = {\url{https://huggingface.co/datasets/shawntzx/PMGraph}},
note = {Dataset version 2. Code: \url{https://github.com/llmresearchbase/PMGraph}}
}
```