Closed adpadilla closed 3 years ago
expected argument for flag `--dataset', but got option `--parent'
Andrews-MacBook-Pro:go-dogg3rz andrew$ dogg3rz create namedgraph --dataset ds1 ngChild
Andrews-MacBook-Pro:go-dogg3rz andrew$ dogg3rz create namedgraph
the required flag `--dataset' was not specified
Andrews-MacBook-Pro:go-dogg3rz andrew$ dogg3rz create namedgraph --datasset ds1
unknown flag `datasset'
Andrews-MacBook-Pro:go-dogg3rz andrew$ dogg3rz create namedgraph --dataset ds1
the required argument `GRAPH_NAME` was not provided
Andrews-MacBook-Pro:go-dogg3rz andrew$ dogg3rz create namedgraph --dataset ds1 --parent ng1 ngChild
NotFound: Parent Graph node found in Graph: ng1
NotFound: Parent Graph node found in Graph: ng1
Andrews-MacBook-Pro:go-dogg3rz andrew$ cat ~/.dogg3rz/data/repositories/test1/ds1/.document.jsonld |json_pp
{
"@context" : {},
"__dgrz_mtimes__" : {
"9dcf97a184f32623d11a73124ceb99a5709b083721e878a16d78f596718ba7b2" : 1615747586999132000,
"25dfd29c09617dcc9852281c030e5b3037a338a4712a42a21c907f259c6412a0" : 1615747586999132000,
"c73a232121e32688a394d2c8afbc98aadddaf9e0ee07cf58e7453fed720ef303" : 1616983398332464000
},
"@graph" : [
{
"attr" : "value2",
"attr1" : "value1",
"@id" : "_:7b4eed18-c715-45f3-8be9-8bce74202332"
},
{
"@type" : "rdfs:Class",
"@id" : "mytype1"
},
{
"@id" : "ng1",
"@graph" : []
}
]
}
Andrews-MacBook-Pro:go-dogg3rz andrew$ dogg3rz create namedgraph --dataset ds1 --parent ng1 ngChild
NotFound: Parent Graph node found in Graph: ng1
NotFound: Parent Graph node found in Graph: ng1
Andrews-MacBook-Pro:go-dogg3rz andrew$ ```
Please try this again, its working for me.
I'll try again.
tried again and it works. looking at my previous sequences of commands it seems I may have used wrong parent named graph name.
First, I created a named graph (mygraph2) using this command w/o the --parent option so it would be created within the default graph. This works. Then I attempted to create a new named graph (mysubgraph) within the new named graph(mygraph2) .
Here are the commands:
Here is the json-ld doc for dataset ds1