?? ontology_descriptor.xml
字號:
<?xml version="1.0" encoding="ISO-8859-1"?>
<db:DBOntology db:name="http://test.com/ontology" xmlns:db="http://kaon2.semanticweb.org/db#">
<db:Database db:connectionString="jdbc:mysql://localhost/test" db:userName="root" db:password="root" db:driverClassName="com.mysql.jdbc.Driver"/>
<db:SQLExpression db:name="append100" db:className="ex09.Example09$Append100"/>
<db:OWLClass db:name="http://test.com/ontology#Person">
<db:Table db:tableName="persons">
<db:IndividualInteger db:fieldName="personID" db:uriPrefix="http://test.com/ontology#p" db:primaryKey="true"/>
</db:Table>
</db:OWLClass>
<db:ObjectProperty db:name="http://test.com/ontology#personHasParent">
<db:Table db:tableName="parents">
<db:IndividualInteger db:fieldName="personID" db:uriPrefix="http://test.com/ontology#p"/>
<db:IndividualInteger db:fieldName="parentID" db:uriPrefix="http://test.com/ontology#p"/>
</db:Table>
</db:ObjectProperty>
<db:DatatypeProperty db:name="http://test.com/ontology#personHasName">
<db:Table db:tableName="persons">
<db:IndividualInteger db:fieldName="personID" db:uriPrefix="http://test.com/ontology#p" db:primaryKey="true"/>
<db:String db:fieldName="name"/>
</db:Table>
</db:DatatypeProperty>
<db:DatatypeProperty db:name="http://test.com/ontology#personHasStreet">
<db:Table db:tableName="persons">
<db:IndividualInteger db:fieldName="personID" db:uriPrefix="http://test.com/ontology#p" db:primaryKey="true"/>
<db:String db:fieldName="street"/>
</db:Table>
</db:DatatypeProperty>
<db:DatatypeProperty db:name="http://test.com/ontology#personHasZIP">
<db:Table db:tableName="persons">
<db:IndividualInteger db:fieldName="personID" db:uriPrefix="http://test.com/ontology#p" db:primaryKey="true"/>
<db:Integer db:fieldName="zip"/>
</db:Table>
</db:DatatypeProperty>
<db:HerbrandUniverse>
<db:Table db:tableName="hu">
<db:IndividualInteger db:fieldName="objectID" db:uriPrefix="http://test.com/ontology#p"/>
</db:Table>
</db:HerbrandUniverse>
<db:AnnotationProperty db:name="http://www.w3.org/2000/01/rdf-schema#label">
<db:Table db:tableName="labels">
<db:IndividualInteger db:fieldName="personID" db:uriPrefix="http://test.com/ontology#p" db:primaryKey="true"/>
<db:String db:fieldName="label"/>
</db:Table>
</db:AnnotationProperty>
</db:DBOntology>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -