datacequia / go-dogg3rz

Decentralized Knowledge Orchestration Tool
Apache License 2.0
8 stars 1 forks source link

implement 'insert node' command for default-graph #17

Closed adpadilla closed 3 years ago

adpadilla commented 3 years ago

This command inserts a node into an existing dataset within a dogg3rz repository. A node is an RDF class instance.

The syntax is as follows

dogg3rz insert node into [default-graph dataset NAME property-values [-p]... [-v]...}] | [named-graph GRAPH_NAME dataset NAME property-values [-p]... [-v]... ]

adpadilla commented 3 years ago

default-graph is implemented but need to implement 'create named-graph' first before allowing inserts into it.

adpadilla commented 3 years ago

for instance the following command works where there is a dataset named 'add' and DOGG3RZ_REPO env var is set to an existing repository.

dogg3rz insert node into default-graph dataset adp property-values -p 'badprop1' -v 'dkdk' -p 'badprop2' -v 'badprop1'

adpadilla commented 3 years ago

updated this issue to insert node for default-graph and closing. creating new issue for named-graph