Since we are on the topic of models and graphs, I have some questions about this. Reading in the docs online last night, I read that a Model is a graph, but not the class Graph. I was trying to understand the distinction between these and the cardinality and containment of the following items: Models, Sub models, (named ) graphs, datasets.
A related question is when one indicates that one model contains another. It was suggested at one time that if you need to distinguish between the specified versus inferred triples of an ontology or set of RDF statements, that you should first store an ontology without any inferencing, presumably in a model by itself (call it A). Then you could create a new model (call it B) that does have inferencing, make the original non-inferenced model be a submodel, then store the new model, which would have the inferences. A few questions about this. 1. Would this result in only a single copy of each triple? i.e. would the non-inferenced data only be stored once for model A? 2. Is the relationship between model A and B stored somewhere (please answer relative to SDB)? 3. Is this a common usage pattern? 4. SPARQL lets you query a named graph. Is a model considered a name graph? Do you just use the name of the model in the SPARQL graph statement? David Jordan
