named graphs and shapes

I am new to this group and area - so please forgive me if I make newbie mistakes

My understanding of the motivations seems to be a bullseye on some of my current tasks.

Here is one of my validations tasks.

I have a quad store with several named graphs.
For sake of tidiness, I impose a rule that each resource is defined in exactly one of these named graphs, where
"being defined" means being the subject of an rdf:type triple


I validate this with SPARQL something like

ASK {
GRAPH ?g1 {
   ?s rdf:type ?t1
}
GRAPH ?g2 {
   ?s rdf:type ?t2
}
FILTER ( ?g1 != ?g2 )
}


which must be false

I get the impression that this is in scope for the goals but not covered by the submission???

I have several other named graph constraints that have significant business value, because I used named graphs to implement multi-tenancy, and to provide limited visibility from one organization to another: making an error on these rules could be deeply problematic where private data gets shared in a dramatically incorrect fashion: thus having validation rules to check that we are not making such errors is attractive

Jeremy

Received on Saturday, 28 June 2014 18:25:23 UTC