Swoogle namespace searches

February 15th, 2005

We’ve added a new feature to Swoogle’s web interface that allows one to search for RDF documents that use a particular namespace. To use this, include a search term of the form ns:<NS> where <NS> is either a URI for the namespace or an abbreviation for one of the most common namespaces.

This example query searches for all RDF documents that use the cobra namespace (ns:http://daml.umbc.edu/ontologies/cobra/0.4/). A second example (i.e. pet person ns:foaf) finds RDF documents using the FOAF namespace and containing the lexemes ‘pet’ and ‘person’. (The ‘lexemes’ are word-like components in the local name part of URIs. Swoogle maintains indexes between URIs and documents and between URIs and lexemes. Lexemes are recognized by a kind of morphological analysis in which, for example, favoritePetFood is decomposed into {favorite, pet, food}).

Thanks to Ryusuke Masuoka for prompting us to add this namespace search feature. The namespace abbreviations that we currently recognize are:

rdf http://www.w3.org/1999/02/22-rdf-syntax-ns
dc http://purl.org/dc/elements/1.1
rss1 http://purl.org/rss/1.0
mvcb http://webns.net/mvcb
rdfs http://www.w3.org/2000/01/rdf-schema
foaf http://xmlns.com/foaf/0.1
dcterms http://purl.org/dc/terms
dctype http://purl.org/dc/dcmitype
owl http://www.w3.org/2002/07/owl
daml http://www.daml.org/2001/03/daml+oil

It’s easy to add more — so let us know if you have favorites you recommend adding.

Swoogle’s database contains much more metadata about the documents it’s discovered than it exposes in its simple web interface. We are always interested in improving the interface and have found it pretty easy to add features. We are anxious to hear from users or potential users who want to do searches they don’t find possible or easy. If that’s you, please let us know by posting a comment to one of the Swoogle forums or send email to swoogle-developer@cs.umbc.edu.