You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have using your code for inserting classes in graphdb via nodejs. It enapso-graphdb-client worked fine, thanks
I want to insert data now in classes, for example an individual with name and age datatype properties.
Can you please show ?
//insert a triple
graphDBEndpoint
.update( insert data { graph <${GRAPHDB_CONTEXT_TEST}> { entest:Individual1 rdf:type owl:NamedIndividual} }
)
.then((result) => {
console.log("inserted a individual :\n" + JSON.stringify(result, null, 2));
})
.catch((err) => {
console.log(err);
});
this code will not work
The text was updated successfully, but these errors were encountered:
Now I would like to know is it possible to insert many triples at the same insert block like 'insert data { graph { triple1 , triple2, triple3} }'
For an example
:collab1 rdf:type :CBI_Collaborator ,
owl:NamedIndividual ;
:name "alexandre" ;
:interest2 "business intelligence" ;
:level "Data Scientist";
OR we should do insert separately each of the triple ?
thanks alot for your help
I have using your code for inserting classes in graphdb via nodejs. It enapso-graphdb-client worked fine, thanks
I want to insert data now in classes, for example an individual with name and age datatype properties.
Can you please show ?
//insert a triple
graphDBEndpoint
.update(
insert data { graph <${GRAPHDB_CONTEXT_TEST}> { entest:Individual1 rdf:type owl:NamedIndividual} }
)
.then((result) => {
console.log("inserted a individual :\n" + JSON.stringify(result, null, 2));
})
.catch((err) => {
console.log(err);
});
this code will not work
The text was updated successfully, but these errors were encountered: