XML 스키마를 사용하여 FOAF와 같은 rdf 어휘를 확장 할 수 있지만 어떻게 정의 내에서 그러한 어휘의 클래스를 사용할 수 있습니까? 기본적으로 나는 foaf에 새로운 요소를 추가하고 싶습니다 : person과 나는 그 요소를 갖는다는 것은이 객체가 foaf라는 것을 의미합니다 : Person과 아무것도 없습니다.XSD 가져 오기 foaf를 XSL 스키마에서 사용하기
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/NewXMLSchema" xmlns:foaf="http://xmlns.com/foaf/0.1/" elementFormDefault="qualified">
<xs:import foaf:namespace="http://xmlns.com/foaf/0.1/" foaf:schemaLocation="http://xmlns.com/foaf/spec/index.rdf"/>
<xs:complexType ref="foaf:Person">
<xs:sequence>
<xs:element name="owns">
<xs:complexType>
<xs:sequence>
<xs:element name="device">
<xs:complexType>
<xs:sequence>
<xs:element name="HereBeSomething"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="datapoints">
<xs:complexType>
<xs:sequence>
<xs:element name="point" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
복합 유형은 t이 FOAF 될 예정이다 : 사람,하지만 errror이를 arangement 결과 : - S4S-att- :이 라인에서 찾을
"여러 주석 요소 ''complexType '에 표시되어야합니다. - s4s-att-not-allowed :'ref '
새 RDF 정의에서 다른 RDF- 온톨로지의 유형을 어떻게 사용할 수 있습니까?