cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neoemantics import RDF* file incorrect

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

--------------------------------------------------------------------------example1.ttl
@prefix : http://www.example.org/ .
:employee38 :familyName "Smith" .
<< :employee38 :jobTitle "Assistant Designer" >> :accordingTo :employee22 .

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

3 REPLIES 3

Can I import RDF* data just like in:

and show it in Neo4j like this graph:

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.

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