Skip to content

Instantly share code, notes, and snippets.

@egonw
Created May 25, 2009 14:22
Show Gist options
  • Select an option

  • Save egonw/117559 to your computer and use it in GitHub Desktop.

Select an option

Save egonw/117559 to your computer and use it in GitHub Desktop.
// analyze the MetWare SKOS
js.clear();
var armet = rdf.createStore();
rdf.importURL(armet, "http://www.w3.org/TR/rdf-schema/rdfs-namespace");
rdf.importURL(armet, "http://www.w3.org/2002/07/owl");
rdf.importURL(armet, "http://www.w3.org/2004/02/skos/core");
rdf.importFile(armet, "/OWL/MetWare/armet.skos", "RDF/XML");
rdf.importFile(armet, "/OWL/MetWare/metware.skos", "RDF/XML");
js.say(armet);
pellet.validate(armet)
js.say("")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment