Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-31-2021 07:56 AM
10-31-2021 08:18 AM
Hello
Please install neosemantics plugin for your current installation. If it is already there then you have misplaced CSV data file somewhere on your local system.
Thanks
S Sudhir G
10-31-2021 01:02 PM
Hi Sudhir,
I have installed it already.
11-01-2021 01:26 AM
hi there.
to proper import rdf i suggest the following:
In my project i use the above commands in the following manner:
CREATE CONSTRAINT n10s_unique_uri IF NOT EXISTS ON (r:Resource) ASSERT r.uri IS UNIQUE;
CALL n10s.graphconfig.init({
handleVocabUris: 'IGNORE',
handleMultival: 'ARRAY',
subPropertyOfRel: "is_a_subproperty",
subClassOfRel: "is_a",
handleRDFTypes: 'LABELS_AND_NODES'
});
CALL n10s.nsprefixes.addFromText('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="ontology.owl"
xmlns="ontology.owl#">');
CALL n10s.rdf.import.fetch("file:///c://Users/laviben/PycharmProjects/overwatch/data/input/DataBaseData/Ontology.owl", "RDF/XML");
another important tip:
make sure your neo4j version is compatible with the neosemantics package.
that can be verified on the release area in the following link:
Releases · neo4j-labs/neosemantics · GitHub
All the sessions of the conference are now available online