Hello Guys,
I need few clarifications on, how to delete/remove all objects associated with a particular URI?
Below is my sample data
<#Project-b74ea22a-94bc-467f-a1f4-e6e5c6c54e05>
a sx:Project ;
prj:name "CType" ;
prj: UID 12.
<#Task-0-b74ea22a-94bc-467f-a1f4-e6e5c6c54e05>
a sx:Task ;
sx:partOfProject <#Project-b74ea22a-94bc-467f-a1f4-e6e5c6c54e05> ;
tsk:uID 0 ;
tsk: desc "task 1" .
<#Resource-0-b74ea22a-94bc-467f-a1f4-e6e5c6c54e05>
a sx: Resource ;
sx:partOfProject <#Project-b74ea22a-94bc-467f-a1f4-e6e5c6c54e05> ;
Here project has two objects associated with TASK and RESOURCE. Like wise, we have 10+ objects are attached to each Project.
Please suggest any suitable approach to delete these using SNARL Java API.
Intention here is to update the data for same project id. So we are trying to delete all the triples and trying to insert again.
Cheers!!
Zenny