Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-21-2021 05:34 AM
Dear All:
I tried to import an RDF* file as described on :
Importing RDF Data - Neosemantics
The contents of this file are shown in Example 1 of the W3C RDF* spec:
RDF-star and SPARQL-star
I uploaded example1.ttl to https://gofile.io/ , and import it to neo4j:
CALL n10s.rdf.import.fetch("https://store9.gofile.io/download/EsAV7Z/83cc2087e7cbda23f30552605e68edbe/example1.ttl","Turtle*");
But it turns out that only the Smith node and the NS0: http://www.example.org/ were imported, no edge data is imported.
Is my operation incorrect, or the RDF* data like in example1 really cannot be imported into neo4j?
Thanks.
Joylix
05-21-2021 08:09 AM
Can I import RDF* data just like in:
and show it in Neo4j like this graph:
05-21-2021 10:45 AM
Hi @joylix , Neo4j does not support hypergraph relationships: You cannot have a relationship having a relationship as its source.
This blog post describes the level of support for RDF* you get in Neo4j.
Basically you can import RDF* statements that describe attributes in relationships, or in other words, the inner triple is an object property and the outer triple is a data type property.
I hope this helps.
Cheers,
JB.
05-21-2021 05:16 PM
Hi, Jesus, Many thanks for your swift response.
This solved my long-standing confusion.
In addition, which database currently supports hypergraph relationship?
Kind Regards.
Joylix
All the sessions of the conference are now available online