没有合适的资源?快使用搜索试试~ 我知道了~
首页《语义网与知识图谱》实验二 RDF(RDFS)应用二.docx
(1)理解语义网资源描述语言; (2)掌握RDF(S)的使用。 1.Translate the culinary-allergic example ontology presented in follow into RDF/XML syntax. 2.Decide whether the following propositions can be satisfactorily modeled in RDFS and, if so, give the corresponding RDF(S) specification. Every pizza is a meal. 3.Model the following sentences in XML: Mary is a woman. 4.Model the sentences from Exercise 3 in RDF graph.
资源详情
资源评论
资源推荐

《语义网与知识图谱》实验手册
实验二 RDF(RDFS)应用二
目的:
(1) 理解语义网资源描述语言;
(2) 掌握 RDF(S)的使用。
内容:
【习题 1】 Translate the culinary-allergic example ontology presented in follow into RDF/XML
syntax.
答:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:ex="http://www.example.org/">
<rdf:Description
rdf:about="http://www.example.org/vegetableThaiCurry">
<ex:thaiDishBasedOn
rdf:resource="http://www.example.org/coconutMilk" />
</rdf:Description>
<rdf:Description rdf:about="http://www.example.org/sebastian">
<rdf:type
rdf:resource="http://www.example.org/AllergicToNuts" />
<ex:eats
rdf:resource="http://www.example.org/vegetableThaiCurry" />
</rdf:Description>
<rdf:Description
rdf:about="http://www.example.org/AllergicToNuts">
<rdfs:subClassOf
rdf:resource="http://www.example.org/Pitiable" />

















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0