public class ModelExpansion extends Object
M against a
schema S, returning a new model which contains
M which have
properties from S to have enough type information for
AssemblerGroup dispatch.| Constructor and Description |
|---|
ModelExpansion() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addSubClassClosure(Model m)
Do (limited) subclass closure on
m. |
static Model |
withSchema(Model model,
Model schema)
Answer a new model which is the aggregation of
the statements of
model
the non-bnode subclass statements of schema
the subclass closure of those statements
the rdf:type statements implied by the rdfs:domain statements
of schema and the model
statements using that statements property
similarly for rdfs:range
the rdf:type statements implied by the subclass closure
|
public static Model withSchema(Model model, Model schema)
model
schema
schema and the model
statements using that statements property
public static void addSubClassClosure(Model m)
m.
Those classes in m that appear in subClassOf
statements are given as explicit superclasses all their indirect superclasses.
Licenced under the Apache License, Version 2.0