Skip to content

Commit 3c37dff

Browse files
author
AWS
committed
Amazon Neptune Graph Update: Amazon Neptune Analytics provides a new option for customers to load data into a graph using the RDF (Resource Description Framework) NTRIPLES format. When loading NTRIPLES files, use the value convertToIri for the blankNodeHandling parameter.
1 parent 0530eac commit 3c37dff

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Neptune Graph",
4+
"contributor": "",
5+
"description": "Amazon Neptune Analytics provides a new option for customers to load data into a graph using the RDF (Resource Description Framework) NTRIPLES format. When loading NTRIPLES files, use the value `convertToIri` for the `blankNodeHandling` parameter."
6+
}

services/neptunegraph/src/main/resources/codegen-resources/service-2.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,10 @@
635635
"min":1,
636636
"pattern":"arn:.+"
637637
},
638+
"BlankNodeHandling":{
639+
"type":"string",
640+
"enum":["convertToIri"]
641+
},
638642
"Boolean":{
639643
"type":"boolean",
640644
"box":true
@@ -962,6 +966,10 @@
962966
"shape":"Format",
963967
"documentation":"<p>Specifies the format of S3 data to be imported. Valid values are <code>CSV</code>, which identifies the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-gremlin.html\">Gremlin CSV format</a> or <code>OPENCYPHER</code>, which identies the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html\">openCypher load format</a>.</p>"
964968
},
969+
"blankNodeHandling":{
970+
"shape":"BlankNodeHandling",
971+
"documentation":"<p>The method to handle blank nodes in the dataset. Currently, only <code>convertToIri</code> is supported, meaning blank nodes are converted to unique IRIs at load time. Must be provided when format is <code>ntriples</code>. For more information, see <a href=\"https://docs.aws.amazon.com/neptune-analytics/latest/userguide/using-rdf-data.html#rdf-handling\">Handling RDF values</a>.</p>"
972+
},
965973
"roleArn":{
966974
"shape":"RoleArn",
967975
"documentation":"<p>The ARN of the IAM role that will allow access to the data that is to be imported.</p>"
@@ -991,7 +999,7 @@
991999
},
9921000
"format":{
9931001
"shape":"Format",
994-
"documentation":"<p>Specifies the format of S3 data to be imported. Valid values are <code>CSV</code>, which identifies the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-gremlin.html\">Gremlin CSV format</a> or <code>OPENCYPHER</code>, which identies the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html\">openCypher load format</a>.</p>"
1002+
"documentation":"<p>Specifies the format of S3 data to be imported. Valid values are <code>CSV</code>, which identifies the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-gremlin.html\">Gremlin CSV format</a>, <code>OPENCYPHER</code>, which identifies the <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html\">openCypher load format</a>, or <code>ntriples</code>, which identifies the <a href=\"https://docs.aws.amazon.com/neptune-analytics/latest/userguide/using-rdf-data.html\">RDF n-triples</a> format.</p>"
9951003
},
9961004
"roleArn":{
9971005
"shape":"RoleArn",
@@ -1344,7 +1352,8 @@
13441352
"type":"string",
13451353
"enum":[
13461354
"CSV",
1347-
"OPEN_CYPHER"
1355+
"OPEN_CYPHER",
1356+
"NTRIPLES"
13481357
]
13491358
},
13501359
"GetGraphInput":{
@@ -2701,6 +2710,10 @@
27012710
"shape":"Format",
27022711
"documentation":"<p>Specifies the format of Amazon S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identies the openCypher load format.</p>"
27032712
},
2713+
"blankNodeHandling":{
2714+
"shape":"BlankNodeHandling",
2715+
"documentation":"<p>The method to handle blank nodes in the dataset. Currently, only <code>convertToIri</code> is supported, meaning blank nodes are converted to unique IRIs at load time. Must be provided when format is <code>ntriples</code>. For more information, see <a href=\"https://docs.aws.amazon.com/neptune-analytics/latest/userguide/using-rdf-data.html#rdf-handling\">Handling RDF values</a>.</p>"
2716+
},
27042717
"graphIdentifier":{
27052718
"shape":"GraphIdentifier",
27062719
"documentation":"<p>The unique identifier of the Neptune Analytics graph.</p>",

0 commit comments

Comments
 (0)