i'm working with Open Link Virtuoso but I'm having some problems. I have loaded my RDF file by Linked data > Quad Store Upload, and now I want load the some RDF Schema to prevent a wrong insertion. (I want to ensure that any inserted data uses only properties that I've declared.) How I can do this? I've inserted a triple into the graph with:
INSERT { myns:my_property rdf:type rdf:Property }
I want this to ensure that if a user inserts a triple, then the triple must have myns:my_property
as the property. I know that the triple was inserted, because if I run this query, I get these results:
SELECT ?s WHERE { ?s rdf:type rdf:Property }
myns:my_property
Yet, when I try a forbidden insertion, such as the following, it is allowed. There is no error, and the data is inserted.
INSERT { <my_subject> myns:other_poperty "object" }