Skip to content
Back to skills

Link Property Prediction

ASecurity

"Routes OGB link-prediction workflows for ogbl datasets, ranking

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
documentationnodeapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill link-property-prediction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Link Property Prediction?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Link Property Prediction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-link-property-prediction/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-link-property-prediction)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: link-property-prediction
description: "Routes OGB link-prediction workflows for ogbl datasets, ranking
  metrics, and KG completion."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# Link Property Prediction

Use this subskill for the link-property family: `ogbl-*` datasets, ranking
metrics, and knowledge-graph completion workflows.

## Use this subskill when

- The task names `LinkPropPredDataset`, `PygLinkPropPredDataset`,
  `DglLinkPropPredDataset`, or `ogbl-*`.
- The task asks for `hits@K`, `mrr`, or link-level `rocauc` evaluation.
- The task mentions `ogbl-collab`, `ogbl-ppa`, `ogbl-citation2`,
  `ogbl-ddi`, `ogbl-biokg`, `ogbl-wikikg2`, or `ogbl-vessel`.

## First decisions

1. Read [`references/workflows.md`](references/workflows.md) for the link
   prediction flow and metric-specific shapes.
2. Read [`references/api-reference.md`](references/api-reference.md) for the
   public class names, split structure, and evaluator inputs.
3. Read [`references/troubleshooting.md`](references/troubleshooting.md) when
   ranking shapes or top-k arrays fail validation.

## Main workflow

- Pick the exact `ogbl-*` dataset name.
- Load the dataset and inspect `get_edge_split()`.
- Decide whether the task uses hits@K, MRR, or ROC-AUC.
- Keep the positive and negative score shapes aligned before calling the
  evaluator.
- For knowledge-graph completion, pay attention to the rank-based inputs rather
  than treating the task like ordinary binary edge classification.

## Common routing choices

- `ogbl-collab` / `ogbl-ppa` -> graph link prediction baselines.
- `ogbl-citation2` -> citation ranking with MRR-style evaluation.
- `ogbl-biokg` / `ogbl-wikikg2` -> knowledge-graph completion.
- `ogbl-ddi` -> edge prediction with hits@20.
- `ogbl-vessel` -> ROC-AUC with the external contribution workflow.

## Optional backend note

PyG and DGL wrappers are optional. If they are not installed, the core OGB link
workflow still works through the library-agnostic loader.

## What not to do here

- Do not treat link prediction as a node-classification task.
- Do not feed score tensors with the wrong rank into the evaluator.
- Do not depend on the original checkout for final runtime guidance.

## Related references

- [`../../references/api-overview.md`](../../references/api-overview.md)
- [`../../references/dataset-catalog.md`](../../references/dataset-catalog.md)
- [`../../references/troubleshooting.md`](../../references/troubleshooting.md)

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md941 B
  • references/troubleshooting.md829 B
  • references/workflows.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.