wordlift-kg-builder

Build and maintain Knowledge Graphs from webpages via WordLift APIs.

2|1|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/wordlift/wordlift-gemini-cli-extension --skill wordlift-kg-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wordlift-kg-builder
Source: https://github.com/wordlift/wordlift-gemini-cli-extension/tree/main/skills/wordlift-kg-builder
Command: npx skills add https://github.com/wordlift/wordlift-gemini-cli-extension --skill wordlift-kg-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests.

What problem does it solve?

Build and maintain Knowledge Graphs from webpages using WordLift APIs. Use when importing pages from sitemaps via WordLift Sitemap Import API, creating product catalogs with GS1 Digital Link identifiers (GTIN-based), generating slug-based entity IDs for organizations/people/webpages, creating JSON-LD markup programmatically, or performing daily sync workflows with batch operations and PATCH updates. Handles entity lifecycle management with proper JSON-LD structure.

Core Features & Use Cases

  • Sitemap Import API integration to bootstrap a KG from sitemap.xml or URL lists.
  • GS1 Digital Link IDs for Products (GTIN-based) and slug-based IDs for Organizations, People, WebPages, etc.
  • JSON-LD entity creation via an EntityBuilder with proper @context, @type, and IDs.
  • SHACL validation to ensure data quality before upload and to support integration with KG sync workflows.
  • Daily batch syncs and incremental PATCH updates for ongoing KG maintenance.
  • Entity lifecycle management with type upgrades and nested property enrichment after import.

Quick Start

Use the wordlift-kg-builder skill to bootstrap and maintain your Knowledge Graph from webpages by importing a sitemap, generating product and non-product entities, and running daily syncs.

Frequently Asked Questions about wordlift-kg-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Knowledge Graph from a sitemap automatically?

You can build a Knowledge Graph from a sitemap using the WordLift Sitemap Import API to bootstrap entities from sitemap.xml or URL lists. It automates extracting webpage data and generating the initial graph structure.

How do I generate GS1 Digital Link identifiers for product entities?

Generate GS1 Digital Link identifiers for product entities by creating GTIN-based IDs. This skill supports building product catalogs with proper GS1 standards for entity lifecycle management.

Can I use SHACL validation to ensure JSON-LD data quality before syncing?

Yes, you can use SHACL validation to ensure JSON-LD data quality before syncing. The skill validates entity structure and enforces data quality constraints prior to uploading to your Knowledge Graph.

What is the best way to maintain daily Knowledge Graph syncs with incremental updates?

The best way to maintain daily Knowledge Graph syncs is using batch operations and incremental PATCH updates. This enables efficient syncing of entity changes without rewriting the entire graph.

How do I create slug-based entity IDs for non-product webpages and organizations?

Create slug-based entity IDs for non-product webpages and organizations using an EntityBuilder. It generates JSON-LD markup with proper @context, @type, and IDs for entities like people and organizations.

Do I need the requests library to import sitemaps and create JSON-LD entities?

Yes, you need the requests library to import sitemaps and create JSON-LD entities. It is the required dependency for handling HTTP interactions with the WordLift APIs during graph operations.