Graph+Semantics: Import/Export RDF from Neo4j. SHACL Validation, Model mapping and more.... If you like it, please ★ ⇧
General
New Features
sh:disjoint
in SHACL constraintsn10s.*.import.inline
procedures use by default the current transaction instead of creating a separate one. To disable this behavior use the following {singleTx:false}
in the procedure params.Fixes
sh:datatype
on xsd:Decimal
default to Float in cypher and fail with error message if unsupported type is selectedGeneral
New Features
SHACL Validation
rdf:type
(to be able to limit the number of labels a node has, or to restrict them to an enumerated set)sh:message
to add custom messages to shapes.sh:targetQuery " (focus)-[:married_to]->() "
in addition to the existing type based ones sh:targetClass neo:Person
.DataImporter model generator: Takes an ontology and generates a model that can be imported from the Data Importer tool (https://data-importer.neo4j.io/). Methods added: n10s.experimental.*.dimodel.*
Updated Jackson to 2.13.3
General
New Features
subjectSPO
) in methods n10s.rdf.export.spo
,n10s.rdf.export.cypher
and n10s.rdf.stream.*
containing the tripleSubject in the form of a list ["s","p","o"] in RDF-Star statements.n10s.rdf.collect.ttl
,n10s.rdf.collect.xml
,n10s.rdf.collect.ttl
,n10s.rdf.collect.json
,n10s.rdf.collect.nt
and n10s.rdf.collect.ttlstar
implementing the same behavior as n10s.rdf.collect
but returning different serialisations.General
n10s.add.node
,n10s.add.relationship.nodes
,n10s.add.relationship.uris
http://purl.org/dc/elements/1.1/
) and dct (http://purl.org/dc/terms/
) can be overridenSHACL
Bugfixes
"<http://www.wikidata.org/entity/Q111> Point(351.83 -14.47)\"^^gs:wktLiteral
).Functions added: n10s.version
,n10s.rdf.collect
Added import/export suport for the following datatypes:
Added support for OWL cardinality restrictions in n10s.onto.*
procedures
Dependencies uptaded:
n10s.onto.*