9
4

I'm looking snippet or list with the most common XML namespace prefixes, and their corresponding base URL:s (like for rdf, rdfs, xsd, owl, foaf and the like), for easy copy and paste into an RDF/XML document.

As an example, the rdf namespace, which is defined in the basic rdf:RDF XML tag like so (not sure if this is the base url of the latest standard though):

<rdf:RDF
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>

Anybody knows of a good such list? Otherwise maybe we can collect such a list here? Guess it would make life easier for many newcomers to the Semantic web / RDF/XML world.

asked 07 Dec '09, 14:57

Samuel%20Lampa's gravatar image

Samuel Lampa
698311
accept rate: 33%

edited 07 Dec '09, 15:11


I'm not aware of any lists as such but what you want is probably prefix.cc, it's a service created by Richard Cyganiak from DERI and it's basically a lookup service for prefixes. Enter a prefix and it'll give you one/more Namespace URIs typically associated with that prefix.

As far as I remember it also allows you to export prefixes in various formats such as RDF/XML snippets.

permanent link

answered 07 Dec '09, 15:29

Rob%20Vesse's gravatar image

Rob Vesse ♦
13.9k1715
accept rate: 29%

edited 04 Jan '11, 19:45

Thanks, it does indeed sound like what I'm looking for. Hope the site is up ruuning soon.

(07 Dec '09, 15:42) Samuel Lampa Samuel%20Lampa's gravatar image

Richard says it should hopefully be back up tomorrow

(07 Dec '09, 21:37) Rob Vesse ♦ Rob%20Vesse's gravatar image

In case it's not obvious, prefix.cc has a list of all the popular prefixes available (change the file extension to get the list in different syntaxes including .json, .sparql, and .txt).

(30 Jul '10, 19:05) kasei kasei's gravatar image

This is the set of namespaces that I use most often, which might be of use:

xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:owl="http://www.w3.org/2002/07/owl#" 
xmlns:dc="http://purl.org/dc/terms/"
xmlns:foaf="http://xmlns.com/foaf/0.1/" 
xmlns:vcard="http://www.w3.org/2006/vcard/ns#"
xmlns:dbp="http://dbpedia.org/dbprop/"
xmlns:geo="http://www.geonames.org/ontology#"
xmlns:gr="http://purl.org/goodrelations/v1#" 
xmlns:commerce="http://search.yahoo.com/searchmonkey/commerce/"
xmlns:media="http://search.yahoo.com/searchmonkey/media/" 
xmlns:cb="http://cb.semsol.org/ns#" >
permanent link

answered 08 Dec '09, 09:15

billroberts's gravatar image

billroberts
81639
accept rate: 47%

edited 13 Dec '09, 16:42

Thanks, that's a great snippet!

(08 Dec '09, 12:50) Samuel Lampa Samuel%20Lampa's gravatar image

I've just corrected a typo in the owl namespace. Sorry about that.

(13 Dec '09, 16:49) billroberts billroberts's gravatar image

Ping the Semantic Web has stats about Namespaces and Types.

permanent link

answered 10 Jan '10, 04:17

fish0398's gravatar image

fish0398
18816
accept rate: 0%

Thanks, these make nice snippets in TextMate. Mix with N3/Turtle syntax highlighting and now you're cooking.

http://www.openvest.com/trac//wiki/n3SyntaxHighlighting

permanent link

answered 30 Jul '10, 17:15

burkestar's gravatar image

burkestar
1
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×879
×623
×34
×29

question asked: 07 Dec '09, 14:57

question was seen: 7,529 times

last updated: 30 Oct '12, 23:12