Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How you define collection in RDF?
 We use collecton to describe the groups that store only specifed members.We describe the collection using attribute rdf:parseType="Collection".
Example:
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
xmlns:cd="http://r4r.in/cd#"> 
<rdf:Description
rdf:about="http://r4r.in/cd/Beatles">
<cd:artist rdf:parseType="Collection">
<rdf:Description rdf:about="http://r4r.in/cd/Beatles/George"/>
<rdf:Description rdf:about="http://r4r.in/cd/Beatles/John"/>
<rdf:Description rdf:about="http://r4r.in/cd/Beatles/Paul"/>
<rdf:Description rdf:about="http://r4r.in/cd/Beatles/Ringo"/>
</cd:artist>
</rdf:Description>
</rdf:RDF>


Posted By: Name:Rajesh Kr URL: How you define collection in RDF?