Going Meta #8:
Common RDF integration patterns
1 Neo4j, Inc. All rights reserved 2021
Data Exchange: serialisations for each data model
• Tabular: CSV, JSON-Lines (or even JSON or XML)
• Hierarchical: JSON, XML
• Linked/RDF: RDF/XML, JSON-LD, Turtle, N-Triples…
2 Neo4j, Inc. All rights reserved 2021
Access Mode / Dynamic nature / size
• Download / Static / large
• … something in between …
• API Based / Dynamic / smaller (in general)
◦ URI de-ref
◦ SPARQL
• SELECT / CONSTRUCT / DESCRIBE
3 Neo4j, Inc. All rights reserved 2021
Format returned by each request type
URL DEREF → RDF → n10s
SPARQL DESCRIBE → RDF → n10s
SPARQL CONSTRUCT → RDF → n10s
RDF DUMP → RDF → n10s
SPARQL SELECT → TABLE → LOAD CSV,
APOC
Neo4j, Inc. All rights reserved 2021
Download / Static / Large
[Link]
[Link]
[Link]
Neo4j, Inc. All rights reserved 2021
API Based / Dynamic / smaller
[Link]
[Link]
[Link]
Neo4j, Inc. All rights reserved 2021
Somewhere in between…
[Link]
[Link]
Neo4j, Inc. All rights reserved 2021 [Link]
Neo4j, Inc. All rights reserved 2021
[Link]
Patterns
• Migration (export-import)
◦ Triple Store to Neo4j
◦ Neo4j to Neo4j
◦ Neo4j to Triple Store
Old post,
hence the old
logo 😱
[Link]
9 Neo4j, Inc. All rights reserved 2021
Patterns
• Enrichment (merge data)
◦ Materialized / persisted
◦ On demand / Virtualized
10 Neo4j, Inc. All rights reserved 2021