| java.lang.Object org.ontoware.semversion.SemVersion
SemVersion | public class SemVersion (Code) | | author: voelkel |
BLANK_NODE_ID | final public static URI BLANK_NODE_ID(Code) | | SemVersion.SEMVERSION_NS + "#hasBlankNodeID
|
MAIN_MODEL_URI | final public static URI MAIN_MODEL_URI(Code) | | |
SEMVERSIONIMPL | final public static URI SEMVERSIONIMPL(Code) | | |
TRIPLESTORE | final public static URI TRIPLESTORE(Code) | | |
VALID | final public static String VALID(Code) | | Denote the status of a Version is 'valid'
|
clear | public void clear()(Code) | | Delete all data. CAUTION.
|
createAnonymousSession | public Session createAnonymousSession()(Code) | | a session with the user "anonymous" logged in. This user iscreated if necessary. |
createUser | public User createUser(String name, String pass)(Code) | | Admin taks: Create a new user account.
Parameters: name - Parameters: pass - the new User. |
dump | public void dump()(Code) | | For debugging purposes. Dumps the whole store to System.out.
|
getSemanticDiff_RDFS | public Diff getSemanticDiff_RDFS(Model model_A, Model model_B)(Code) | | A semantic diff is calculated like this:
A' = transitive closure of (A)
B' = transitive closure of (B)
return diff(A',B')
Parameters: model_A - Parameters: model_B - a semantic Diff |
getSyntacticDiff | public Diff getSyntacticDiff(Model model_A, Model model_B)(Code) | | Parameters: model_A - Parameters: model_B - a Diff between the two models. The diff will e.g. contain asadded triples those present in B but not in A. |
startup | public void startup(File storageDir) throws IOException(Code) | | Starts up SemVersion and reads the main model into memory. This is a
small model which knows the relations between other models.
Parameters: storageDir - throws: IOException - |
|
|