正在加载图片...
子中通过 rdfs subClass将 Wine Grape class定义为 Grape的 subclass。 ●P Property提供描述 Class间关系的抽象机制,它可看作 Class之上的二元关系。 而 Property之间可以通过 SubPropertyof形成层次化的关系 OWL里有两类 property. object property的值域是cass的 individual, datatype property的值域是数值类型的值(整数、字符串,日期等,由 xml schema定义)。在 OWL Fu里, object propety和 datatype property不互斥,因为数值类型的值也可以 看作是一个 individual e <ow: Datatype Property rdf: ID="yearValue"> <rdfs: domain rdf resource=#VintageYear/> <rdfs range rdf resource="&xsd; positiveInteger"/> c/owl: Datatype Property> <owl: ObjectPropertyrdf ID="made FromGrape <rdfs domain rdfresource="#Wine <rdfs range rdf: resource=#Wine Grape"/> c/owl: ObjectProperty? 第一个例子定义了一个 datatype property,它的值域是正整数。第二个例子定义 了一个 object propety,它的值域是 Wine Grape Individual描述数据的个体,是组成Cass的元素, Individual通过使用 rdf: Type 来将自己绑定到某个Cass上 例子 <owl: Thing rdf: I D="CentralCoastRegion"/> <oW: Thing rdf: about=#CentralCoastRegion"> <rdf type rdf resource=#Region> </owl: Thing> 在第一个例子中定义了一个名字为 CentralCoastRegion的 Individual,而在第二 个例子中通过 rdf:about对它添加了描述,而没有重新定义它。另外,在第二个例子 中通过 rdf: type指明 CentralCoastRegion的cass是 Region 3. OWL-S OWL-S( Web Ontology Language for Services),是用OWL语言描述的 Web service 的 Ontology。它也是一种具有显式语义的无歧义的机器可理解的标记语言( markup language),用来描述 Web service的属性和功能。OM-S的早期版本叫做 DAML-S ( DARPA Agent Markup Language for Services,基于DAML+OL)。本文主要介绍OWLS 10版。 DAML-S/OWS的版本演化 7子中通过 rdfs:subClassOf 将 WineGrape class 定义为 Grape 的 subclass。 z Property Property 提供描述 Class 间关系的抽象机制,它可看作 Class 之上的二元关系。 而 Property 之间可以通过 SubPropertyOf 形成层次化的关系。 OWL 里有两类 property。object property 的值域是 class 的 individual,datatype property 的值域是数值类型的值(整数、字符串,日期等,由 xml schema 定义)。在 OWL Full 里,object propety 和 datatype property 不互斥,因为数值类型的值也可以 看作是一个 individual。 <owl:DatatypeProperty rdf:ID="yearValue"> <rdfs:domain rdf:resource="#VintageYear"/> <rdfs:range rdf:resource="&xsd;positiveInteger"/> </owl:DatatypeProperty> <owl:ObjectPropertyrdf:ID="madeFromGrape"> <rdfs:domain rdf:resource="#Wine"/> <rdfs:range rdf:resource="#WineGrape"/> </owl:ObjectProperty> 第一个例子定义了一个 datatype property,它的值域是正整数。第二个例子定义 了一个 object propety,它的值域是 WineGrape。 z Individual Individual 描述数据的个体,是组成 Class 的元素,Individual 通过使用 rdf:Type 来将自己绑定到某个 Class 上 例子: <owl:Thing rdf:ID="CentralCoastRegion" /> <owl:Thing rdf:about="#CentralCoastRegion"> <rdf:type rdf:resource="#Region"/> </owl:Thing> 在第一个例子中定义了一个名字为 CentralCoastRegion 的 Individual,而在第二 个例子中通过 rdf:about 对它添加了描述,而没有重新定义它。另外,在第二个例子 中通过 rdf:type 指明 CentralCoastRegion 的 class 是 Region。 3. OWL-S OWL-S(Web Ontology Language for Services),是用 OWL 语言描述的 Web Service 的 Ontology。它也是一种具有显式语义的无歧义的机器可理解的标记语言(markup language),用来描述 Web Service 的属性和功能。OWL-S 的早期版本叫做 DAML-S (DARPA Agent Markup Language for Services,基于DAML+OIL)。本文主要介绍OWL-S 1.0 版。 DAML-S / OWL-S 的版本演化: 7
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有