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


How you define elements in RDF?
 Their are two main elements in RDF that are <RDF> and <Description> element. These element are use to identify the source.
1.<rdf:RDF> Element is an root element of RDF document which is use to identify XML document to be an RDF document.This element is also use to contain a reference of RDF namespace.
<?xml version="1.0"?>
Write here description

2.<rdf:Description> Element is used to identify a resource with attribute.
<rdf:Description> element has elements using this we can describe the resource.
<?xml version="1.0"?>
 rdf:about=" Reader">
  <cd:artist>Kate Winslet</cd:artist>

 In the above example elements, artist, country, and price are defined in namespace. This namespace is not the part of RDF means outside the RDF.RDF used only to define the framework. The elements artist, country and price should be defined by someone else like: company, organization, person etc.).
Posted By: Name:Rajesh Kr URL: How you define elements in RDF?