- From: Jakob Voss <jakob.voss@gbv.de>
- Date: Wed, 26 Jul 2006 13:17:02 +0200
- To: public-esw-thes@w3.org
Hi Nabonita! You wrote: > Can anyone tell me that which is the root node in the following SKOS/RDF > code: > > <?xml version="1.0" encoding="utf-8"?> > <rdf:RDF > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:skos="http://www.w3.org/2004/02/skos/core#" > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > xmlns:dc="http://purl.org/dc/elements/1.1/" > xmlns:dcterms="http://purl.org/dc/terms/" > xmlns:foaf="http://xmlns.com/foaf/0.1/"> Obviously it is the element "RDF" in the "rdf"-Namespace. This applies for all RDF data in XML. The root element is not important because RDF data consists of triples not of a tree. > <skos:ConceptScheme rdf:about="http://www.fao.org/aos/agrovoc"> > <dc:title>AGROVOC</dc:title> > <dc:description>FAO Multilingual Thesaurus.</dc:description> > <dc:creator> > <foaf:Organization><foaf:name>FAO</foaf:name></foaf:Organization> > </dc:creator> > <dc:rights>Free to all for non commercial use.</dc:rights> > <dcterms:issued>Tue May 23 07:57:15 CEST 2006</dcterms:issued> > <dcterms:modified>2006-05-12 17:43:21</dcterms:modified> > </skos:ConceptScheme> The first triples are: http://www.fao.org/aos/agrovoc http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/2004/02/skos/core#ConceptScheme Saying: http://www.fao.org/aos/agrovoc is a ConceptScheme http://www.fao.org/aos/agrovoc http://purl.org/dc/elements/1.1/title "AGROVOC" Saying: dc:title of http://www.fao.org/aos/agrovoc is "AGROVOC" ..and so on (dc:creator is a bit tricky because there are anonymous nodes). You can analyze SKOS-Data at the XML-Level (for instance with XSLT) or at the RDF-Level (triples). Greetings, Jakob
Received on Wednesday, 26 July 2006 11:17:04 UTC