| CHANGE IMPACT SERVICE | |||||
| METHOD NAME | DESCRIPTION/PRECONDITIONS/EFFECTS | METHOD SIGNATURE | EXCEPTIONS THROWN | ||
|---|---|---|---|---|---|
| CHANGE IMPACT | Description: Estimates the outcomes of an update request upon an initial RDF KB, by calculating the minimally necessary side-effects of the original update request which, once applied upon the original RDF KB, guarantee the validity of the resulting RDF KB. The triples contained in the RDF KB are determined by the parameters nameOrGraphspaceURIs and mode. In particular, if mode is OFF, then the RDF KB contains all triples appearing in the collection of the input namespaces and named graphs (nameOrGraphspaceURIs), as well as all triples in all namespaces or named graphs upon which the input namespaces and named graphs (nameOrGraphspaceURIs) depend on. Therefore, the RDF KB in this case is the union of all the triples that appear in all the namespaces or named graphs that are direct or indirect dependants of the given ones. On the other hand, if mode is ON, then the RDF KB contains, additionally, all the triples appearing in the namespaces or named graphs that depend on the input ones. Therefore, the RDF KB in this case is the union of all the triples that appear in all the namespaces or named graphs that are directly or indirectly depending on (or are dependants of) the given ones. Preconditions:
After the successful execution of the operation, the output will be a pair of strings, which represent the triples that should be added to and deleted from the original namespaces and named graphs (i.e., includes both the effects of the original update request and its side-effects). The nameOrGraphspaceURIs and the mode parameters indicate the namespaces and named graphs upon which the update request will be applied. In particular, the update request will be applied upon the namespaces and named graphs in the nameOrGraphspaceURIs parameter, plus those that they depend on, if mode is OFF, whereas it will be applied upon the full dependency closure of the namespaces and named graphs in the nameOrGraphspaceURIs parameter, if mode is ON. These triples are ready for set-theoretic addition/removal upon the initial sets of triples and its dependents (if mode is OFF) or upon the “full dependency closure” of these initial sets of triples (if mode is ON). The delta parameter indicates the update to be executed. |
public gr.forth.ics.rdfsuite.services.Delta
changeImpact( gr.forth.ics.rdfsuite.services.Delta delta, java.lang.String[] nameOrGraphspaceURIs, gr.forth.ics.rdfsuite.services.ChangeImpactAnalyzer.NamespaceClosure mode, gr.forth.ics.rdfsuite.services.DbSettings dbSettings) |
The following exceptions are thrown by the service:
(with A,B,P,R fully qualified URIs) and for each such triple neither the subject nor the object can be disambiguated, i.e., the service cannot determine the element type that the subject (or object) refers to. This condition holds in order for the Change Impact mechanism to be able to decide on the actual operation that is attempted (i.e., to disambiguate the triple); to do that, it must know what type of element the subject and the object refer to. This is not clear by each of the above triples alone; for example, in the triple “A rdf:subClassOf B” the names A, B could refer to classes or metaclasses. In order for Change Impact to work, it must be known in advance whether A (or B) is a class or a metaclass. In order for this disambiguation to take place, either the subject or the object of the triple must be contained in another, non-ambiguous triple which can be either in the delta, or in the initial KB (that nameGraphSpaceURI collection forms) or be part of the standard RDF/S namespaces. The same is true for the triple:
(with A,P fully qualified URIs) but, in this case, only the subject (P) might be ambiguous.
|
||