Skip to content

Commit

Permalink
bumped neo4j and rdf4j versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrasa committed Jan 8, 2021
1 parent 67566c6 commit 322b32a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/modules/ROOT/examples/documentation.csv
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
¦procedure¦n10s.rdf.delete.fetch¦n10s.rdf.delete.fetch(url :: STRING?, format :: STRING?, params = {} :: MAP?) :: (terminationStatus :: STRING?, triplesDeleted :: INTEGER?, namespaces :: MAP?, extraInfo :: STRING?)¦Deletes triples (parsed from url) from Neo4j. Works on a graph resulted of importing RDF via n10s.rdf.import
¦procedure¦n10s.rdf.delete.inline¦n10s.rdf.delete.inline(rdf :: STRING?, format :: STRING?, params = {} :: MAP?) :: (terminationStatus :: STRING?, triplesDeleted :: INTEGER?, namespaces :: MAP?, extraInfo :: STRING?)¦Deletes triples (passed as string) from Neo4j. Works on a graph resulted of importing RDF via n10s.rdf.import
¦procedure¦n10s.rdf.export.cypher¦n10s.rdf.export.cypher(cypher :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)¦Executes a cypher query returning graph elements (nodes,rels) and serialises the output as triples.
¦procedure¦n10s.rdf.export.triplePattern¦n10s.rdf.export.triplePattern(subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral = false :: BOOLEAN?, literalType = http://www.w3.org/2001/XMLSchema#string :: STRING?, literalLang = null :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)¦Returns the triples matching the spo pattern passed as parameter.
¦procedure¦n10s.rdf.export.spo¦n10s.rdf.export.spo(subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral = false :: BOOLEAN?, literalType = http://www.w3.org/2001/XMLSchema#string :: STRING?, literalLang = null :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)¦Returns the triples matching the spo pattern passed as parameter.
¦procedure¦n10s.rdf.import.fetch¦n10s.rdf.import.fetch(url :: STRING?, format :: STRING?, params = {} :: MAP?) :: (terminationStatus :: STRING?, triplesLoaded :: INTEGER?, triplesParsed :: INTEGER?, namespaces :: MAP?, extraInfo :: STRING?, callParams :: MAP?)¦Imports RDF from an url (file or http) and stores it in Neo4j as a property graph. Requires a unique constraint on :Resource(uri)
¦procedure¦n10s.rdf.import.inline¦n10s.rdf.import.inline(rdf :: STRING?, format :: STRING?, params = {} :: MAP?) :: (terminationStatus :: STRING?, triplesLoaded :: INTEGER?, triplesParsed :: INTEGER?, namespaces :: MAP?, extraInfo :: STRING?, callParams :: MAP?)¦Imports an RDF snippet passed as parameter and stores it in Neo4j as a property graph. Requires a unique constraint on :Resource(uri)
¦procedure¦n10s.rdf.preview.fetch¦n10s.rdf.preview.fetch(url :: STRING?, format :: STRING?, params = {} :: MAP?) :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?)¦Parses RDF and produces virtual Nodes and relationships for preview in the Neo4j browser. No writing to the DB.
Expand All @@ -36,6 +36,7 @@
¦procedure¦n10s.rdf.stream.inline¦n10s.rdf.stream.inline(rdf :: STRING?, format :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)¦Parses RDF passed as a string and streams each triple as a record with <S,P,O> along with datatype and language tag for Literal values. No writing to the DB.
¦procedure¦n10s.skos.import.fetch¦n10s.skos.import.fetch(url :: STRING?, format :: STRING?, params = {} :: MAP?) :: (terminationStatus :: STRING?, triplesLoaded :: INTEGER?, triplesParsed :: INTEGER?, namespaces :: MAP?, extraInfo :: STRING?, callParams :: MAP?)¦Imports classes, properties (dataType and Object), hierarchies thereof and domain and range info.
¦procedure¦n10s.skos.import.inline¦n10s.skos.import.inline(skosFragment :: STRING?, format :: STRING?, params = {} :: MAP?) :: (terminationStatus :: STRING?, triplesLoaded :: INTEGER?, triplesParsed :: INTEGER?, namespaces :: MAP?, extraInfo :: STRING?, callParams :: MAP?)¦Imports classes, properties (dataType and Object), hierarchies thereof and domain and range info.
¦procedure¦n10s.validation.shacl.dropShapes¦n10s.validation.shacl.dropShapes() :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)¦n10s.validation.dropShapes() - list SHACL shapes loaded in the Graph
¦procedure¦n10s.validation.shacl.import.fetch¦n10s.validation.shacl.import.fetch(url :: STRING?, format :: STRING?, params = {} :: MAP?) :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)¦Imports SHACL shapes from a URL and compiles a validator into neo4j
¦procedure¦n10s.validation.shacl.import.inline¦n10s.validation.shacl.import.inline(rdf :: STRING?, format :: STRING?, params = {} :: MAP?) :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)¦Imports a SHACL shapes snippet passed as parameter and compiles a validator into neo4j
¦procedure¦n10s.validation.shacl.listShapes¦n10s.validation.shacl.listShapes() :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)¦n10s.validation.listShapes() - list SHACL shapes loaded in the Graph
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/examples/n10s.rdf.export-lite.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
¦signature
¦n10s.rdf.export.cypher(cypher :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)
¦n10s.rdf.export.triplePattern(subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral = false :: BOOLEAN?, literalType = http://www.w3.org/2001/XMLSchema#string :: STRING?, literalLang = null :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)
¦n10s.rdf.export.spo(subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral = false :: BOOLEAN?, literalType = http://www.w3.org/2001/XMLSchema#string :: STRING?, literalLang = null :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)
2 changes: 1 addition & 1 deletion docs/modules/ROOT/examples/n10s.rdf.export.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
¦type¦qualified name¦signature¦description
¦procedure¦n10s.rdf.export.cypher¦n10s.rdf.export.cypher(cypher :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)¦Executes a cypher query returning graph elements (nodes,rels) and serialises the output as triples.
¦procedure¦n10s.rdf.export.triplePattern¦n10s.rdf.export.triplePattern(subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral = false :: BOOLEAN?, literalType = http://www.w3.org/2001/XMLSchema#string :: STRING?, literalLang = null :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)¦Returns the triples matching the spo pattern passed as parameter.
¦procedure¦n10s.rdf.export.spo¦n10s.rdf.export.spo(subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral = false :: BOOLEAN?, literalType = http://www.w3.org/2001/XMLSchema#string :: STRING?, literalLang = null :: STRING?, params = {} :: MAP?) :: (subject :: STRING?, predicate :: STRING?, object :: STRING?, isLiteral :: BOOLEAN?, literalType :: STRING?, literalLang :: STRING?)¦Returns the triples matching the spo pattern passed as parameter.
1 change: 1 addition & 0 deletions docs/modules/ROOT/examples/n10s.validation.shacl-lite.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
¦signature
¦n10s.validation.shacl.dropShapes() :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)
¦n10s.validation.shacl.listShapes() :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)
¦n10s.validation.shacl.validate() :: (focusNode :: ANY?, nodeType :: STRING?, shapeId :: STRING?, propertyShape :: STRING?, offendingValue :: ANY?, resultPath :: STRING?, severity :: STRING?, resultMessage :: STRING?)
¦n10s.validation.shacl.validateSet(nodeList = [] :: LIST? OF NODE?) :: (focusNode :: ANY?, nodeType :: STRING?, shapeId :: STRING?, propertyShape :: STRING?, offendingValue :: ANY?, resultPath :: STRING?, severity :: STRING?, resultMessage :: STRING?)
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/examples/n10s.validation.shacl.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
¦type¦qualified name¦signature¦description
¦procedure¦n10s.validation.shacl.dropShapes¦n10s.validation.shacl.dropShapes() :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)¦n10s.validation.dropShapes() - list SHACL shapes loaded in the Graph
¦procedure¦n10s.validation.shacl.listShapes¦n10s.validation.shacl.listShapes() :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)¦n10s.validation.listShapes() - list SHACL shapes loaded in the Graph
¦procedure¦n10s.validation.shacl.validate¦n10s.validation.shacl.validate() :: (focusNode :: ANY?, nodeType :: STRING?, shapeId :: STRING?, propertyShape :: STRING?, offendingValue :: ANY?, resultPath :: STRING?, severity :: STRING?, resultMessage :: STRING?)¦n10s.validation.shacl.validate() - runs SHACL validation on the whole graph.
¦procedure¦n10s.validation.shacl.validateSet¦n10s.validation.shacl.validateSet(nodeList = [] :: LIST? OF NODE?) :: (focusNode :: ANY?, nodeType :: STRING?, shapeId :: STRING?, propertyShape :: STRING?, offendingValue :: ANY?, resultPath :: STRING?, severity :: STRING?, resultMessage :: STRING?)¦n10s.validation.shacl.validateSet([nodeList]) - runs SHACL validation on selected nodes
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
¦signature
¦n10s.validation.shacl.dropShapes() :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
¦type¦qualified name¦signature¦description
¦procedure¦n10s.validation.shacl.dropShapes¦n10s.validation.shacl.dropShapes() :: (target :: STRING?, propertyOrRelationshipPath :: STRING?, param :: STRING?, value :: ANY?)¦n10s.validation.dropShapes() - list SHACL shapes loaded in the Graph
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.neo4j</groupId>
<artifactId>neosemantics</artifactId>
<version>4.1.0.1</version>
<version>4.2.0.0</version>
<packaging>jar</packaging>
<name>neosemantics</name>
<description>n10s is a plugin that enables the use of RDF in Neo4j</description>
Expand All @@ -30,8 +30,8 @@
</developers>

<properties>
<neo4j.version>4.1.0</neo4j.version>
<sesame.version>3.4.0</sesame.version>
<neo4j.version>4.2.0</neo4j.version>
<sesame.version>3.5.0</sesame.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down

0 comments on commit 322b32a

Please sign in to comment.