以文本方式查看主题 - W3CHINA.ORG讨论区 - 语义网·描述逻辑·本体·RDF·OWL (http://bbs.xml.org.cn/index.asp) -- 『 Semantic Web(语义Web)/描述逻辑/本体 』 (http://bbs.xml.org.cn/list.asp?boardid=2) ---- protege将本体convert project to format时出现写入错误,如何解决? (http://bbs.xml.org.cn/dispbbs.asp?boardid=2&rootid=&id=74516) |
-- 作者:铁米 -- 发布时间:4/26/2009 10:26:00 PM -- protege将本体convert project to format时出现写入错误,如何解决? mysql 为5.1.33 jdbc为 5.0.5 protege 3.4 Errors found performing operation. 1. Errors at copying knowledgebase jdbc:mysql://localhost/protege_db See console and log for more details. owl源代码如下在1楼
|
-- 作者:铁米 -- 发布时间:4/26/2009 10:26:00 PM -- <?xml version="1.0"?> <rdf:RDF xmlns="http://localhost/owl/test.owl#" xml:base="http://localhost/owl/test.owl" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:xsp="http://www.owl-ontologies.com/2005/08/07/xsp.owl#" xmlns:swrl="http://www.w3.org/2003/11/swrl#" xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#" xmlns:swrlb="http://www.w3.org/2003/11/swrlb#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:Ontology rdf:about=""/> <owl:DatatypeProperty rdf:ID="Address"> <rdfs:domain rdf:resource="#Zoo"/> <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Address</rdfs:comment> </owl:DatatypeProperty> <owl:Class rdf:ID="Animal"> <owl:disjointWith rdf:resource="#Plant"/> </owl:Class> <Giraffe rdf:ID="BeiGira"> <Belonging rdf:resource="#Beijing_Zoo"/> </Giraffe> <Zoo rdf:ID="Beijing_Zoo"> <Tel rdf:datatype="http://www.w3.org/2001/XMLSchema#string">010-12345678</Tel> <Address rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >Beijing Xizhimen RD</Address> </Zoo> <Lion rdf:ID="BeiLio"> <Belonging rdf:resource="#Beijing_Zoo"/> </Lion> <owl:ObjectProperty rdf:ID="Belonging"> <rdfs:domain rdf:resource="#Animal"/> <rdfs:range rdf:resource="#Zoo"/> </owl:ObjectProperty> <owl:Class rdf:ID="Branch"> <rdfs:subClassOf rdf:resource="#Plant"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#is_part_of"/> <owl:allValuesFrom rdf:resource="#Tree"/> </owl:Restriction> </rdfs:subClassOf> </owl:Class> <owl:Class rdf:ID="Carnivore"> <owl:equivalentClass> <owl:Class> <owl:intersectionOf rdf:parseType="Collection"> <owl:Class rdf:about="#Animal"/> <owl:Restriction> <owl:onProperty rdf:resource="#maineat"/> <owl:allValuesFrom rdf:resource="#Animal"/> </owl:Restriction> </owl:intersectionOf> </owl:Class> </owl:equivalentClass> </owl:Class> <owl:ObjectProperty rdf:ID="eat"> <rdfs:domain rdf:resource="#Animal"/> <owl:inverseOf rdf:resource="#eated"/> </owl:ObjectProperty> <owl:ObjectProperty rdf:ID="eated"> <owl:inverseOf rdf:resource="#eat"/> </owl:ObjectProperty> <owl:Class rdf:ID="Giraffe"> <rdfs:subClassOf rdf:resource="#Herbivore"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#eat"/> <owl:allValuesFrom rdf:resource="#Leaf"/> </owl:Restriction> </rdfs:subClassOf> </owl:Class> <owl:Class rdf:ID="Herbivore"> <rdfs:subClassOf rdf:resource="#Animal"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#eat"/> <owl:allValuesFrom rdf:resource="#Plant"/> </owl:Restriction> </rdfs:subClassOf> </owl:Class> <owl:ObjectProperty rdf:ID="inverse_of_eat_3"> <owl:inverseOf rdf:resource="#maineat"/> <rdfs:subPropertyOf rdf:resource="#eated"/> </owl:ObjectProperty> <owl:ObjectProperty rdf:ID="is_part_of"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/> </owl:ObjectProperty> <owl:Class rdf:ID="Leaf"> <rdfs:subClassOf rdf:resource="#Plant"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#is_part_of"/> <owl:allValuesFrom rdf:resource="#Branch"/> </owl:Restriction> </rdfs:subClassOf> </owl:Class> <owl:Class rdf:ID="Lion"> <rdfs:subClassOf rdf:resource="#Carnivore"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#eat"/> <owl:allValuesFrom rdf:resource="#Herbivore"/> </owl:Restriction> </rdfs:subClassOf> </owl:Class> <owl:ObjectProperty rdf:ID="maineat"> <owl:inverseOf rdf:resource="#inverse_of_eat_3"/> <rdfs:subPropertyOf rdf:resource="#eat"/> </owl:ObjectProperty> <owl:Class rdf:ID="Plant"> <owl:disjointWith rdf:resource="#Animal"/> </owl:Class> <Lion rdf:ID="ShaLio"> <Belonging rdf:resource="#Shanghai_Zoo"/> </Lion> <Giraffe rdf:ID="ShangGira"> <Belonging rdf:resource="#Shanghai_Zoo"/> </Giraffe> <Zoo rdf:ID="Shanghai_Zoo"> <Tel rdf:datatype="http://www.w3.org/2001/XMLSchema#string">021-555666</Tel> <Address rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >Beijing Huaxin RD</Address> </Zoo> <owl:DatatypeProperty rdf:ID="Tel"> <rdfs:domain rdf:resource="#Zoo"/> <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >Telephone Number</rdfs:comment> </owl:DatatypeProperty> <Lion rdf:ID="TiaLio"> <Belonging rdf:resource="#Tianjin_Zoo"/> </Lion> <Giraffe rdf:ID="TianGira"> <Belonging rdf:resource="#Tianjin_Zoo"/> </Giraffe> <Zoo rdf:ID="Tianjin_Zoo"> <Tel rdf:datatype="http://www.w3.org/2001/XMLSchema#string">022-125415</Tel> <Address rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Tianjin XXX RD</Address> </Zoo> <owl:Class rdf:ID="Tree"> <rdfs:subClassOf rdf:resource="#Plant"/> </owl:Class> <owl:Class rdf:ID="Zoo"/> </rdf:RDF> |
-- 作者:iamwym -- 发布时间:4/27/2009 1:06:00 PM -- 定义长度不够吧,超过1000字节了? |
-- 作者:铁米 -- 发布时间:4/28/2009 3:19:00 PM -- 没想明白,是按照那个《进阶篇》的教程做下来的 |
-- 作者:铁米 -- 发布时间:4/30/2009 8:45:00 PM -- 自己顶顶,改了版本还是不行,想不出怎么回事。。。 |
-- 作者:yimi_lai -- 发布时间:5/10/2012 4:11:00 PM -- 我也在按照那几个教程做的,我的protege是4.1 我想用SQL server数据库,不知道该怎么用?并且在4.1版本中,没找到convert project to format这个按钮,求指教。 |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
78.125ms |