YouTip LogoYouTip

Rdf Example

# RDF Example * * * ## RDF Example Here are a few rows from a CD list: | Title | Artist | Country | Company | Price | Year | | :--- | :--- | :--- | :--- | :--- | :--- | | Empire Burlesque | Bob Dylan | USA | Columbia | 10.90 | 1985 | | Hide your heart | Bonnie Tyler | UK | CBS Records | 9.90 | 1988 | Here are a few lines from an RDF document: Bob Dylan USA Columbia 10.90 1985 Bonnie Tyler UK CBS Records 9.90 1988 . . . The first line of this RDF document is the XML declaration. Following the XML declaration is the root element of the RDF document: __. The _xmlns:rdf_ namespace specifies that elements with the prefix rdf come from the namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#". The _xmlns:cd_ namespace specifies that elements with the prefix cd come from the namespace "http://www.recshop.fake/cd#". The __ element contains a description of the resource identified by the _rdf:about_ attribute. Elements such as __, __, and __ are attributes of this resource. * * * ## RDF Online Validator [W3C's RDF Validation Service](http://www.w3.org/RDF/Validator/ "W3C RDF Validation Service") is very helpful when you're learning RDF. Here you can experiment with RDF files. The RDF online validator parses your RDF documents, checks their syntax, and generates tables and graphical views for your RDF documents. Copy and paste the following example into W3C's RDF validator: Jan Egil Refsnes After parsing the above example, the result will be something like this.
← Rdf MainRdf Rules β†’