Session 8 of Going Meta, broadcast on September 6, 2022, is a practical survey of the most frequently encountered RDF integration scenarios when working with Neo4j. Jesus walks through importing RDF embedded in HTML pages, enriching an existing property graph with data pulled from the DBpedia SPARQL endpoint, and previewing RDF payloads before committing them — covering the full lifecycle from raw data ingestion to linked-data enrichment.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jbarrasa/goingmeta/llms.txt
Use this file to discover all available pages before exploring further.
What You Will Learn
- How to extract and preview JSON-LD embedded in live web pages using
apoc.load.htmlandn10s.rdf.preview.inline - How to configure Neo4j for RDF import with
n10s.graphconfig.init - How to query a remote SPARQL endpoint (DBpedia) and consume the CSV result set in Cypher
- How to iterate over nodes and parameterize SPARQL queries with graph data
- How to combine
n10s.rdf.import.fetchwith APOC URL encoding to batch-enrich nodes from linked data
Tags:
Cypher · JSON-LD · SPARQL — Broadcast September 6, 2022Pattern 1 — Import RDF Embedded in HTML
Many modern web pages embed structured data as JSON-LD in<script> tags. APOC’s HTML loader can extract it, and n10s can immediately parse and preview the RDF graph.
Using
n10s.rdf.preview.inline (instead of import) lets you inspect the nodes and relationships that would be created before committing — a safe first step for any new data source.Pattern 2 — Enrich Nodes from a SPARQL Endpoint
Configure the RDF importer
Set the graph configuration so vocabulary URIs are mapped to simple names:
Inspect the DBpedia SPARQL query
This SPARQL query fetches the birth date and place for a named actor from DBpedia:
Pattern 3 — Previewing RDF Before Import
Before writing any data,n10s.rdf.preview.inline or n10s.rdf.preview.fetch returns the nodes and relationships that would be created, so you can verify the shape of the incoming graph without touching the database. This pattern applies equally to Turtle, JSON-LD, N-Triples, and RDF/XML serializations.
Resources
Watch the Recording
Full live-stream on YouTube — Session 8, September 6 2022
Source Code on GitHub
Cypher scripts and RDF integration examples