考虑到我们正在使用以下概念对域进行建模:Maker
这是一个汽车生产商,Model
它是一个特定的模型,它是一个hasMaker
特定的独特的Maker
。并考虑 MakerExhibition,这是一种由一个人完成的展览,可以展示Maker
多个Model
:Maker
Model, Maker, MakerExhibition
hasMaker domain Model
hasMaker range Maker
Model subClassOf hasMaker exactly 1 Maker
hasExhibitionMaker domain MakerExhibition
hasExhibitionMaker range Maker
hasExhibitionModel domain MakerExhibition
hasExhibitionModel range Model
MakerExhibition subClassOf hasExhibitionMaker exactly 1 Maker
问题:如何限制(在 Protege 中使用 DL 或 OWL 语法)Model
出现在MakerExhibition
through的任何内容hasExhibitionModel
必须相同MakerExhibition
Maker
?
例如,在一辆宝马车上,我们不能展示一辆奔驰车!MakerExhibition
Maker
Model
Maker