ontologies = { 'acl' : ('ACL Schema', 'http://www.w3.org/2001/02/acls/ns#'), 'airport' : ('Airport Ontology', 'http://www.daml.org/2001/10/html/airport-ont#'), 'aktportal' : ('AKT Reference Ontology (Portal Ontology)', 'http://www.aktors.org/ontology/portal#'), 'aktsupport' : ('AKT Reference Ontology (Support Ontology)', 'http://www.aktors.org/ontology/support#'), 'annotea' : ('Annotea', 'http://www.w3.org/2000/10/annotation-ns#'), 'auction' : ('Auction Ontology', 'http://taga.umbc.edu/ontologies/auction#'), 'beer' : ('Beer Ontology', 'http://www.purl.org/net/ontology/beer#'), 'bibtex' : ('bibTeX in OWL', 'http://purl.org/net/nknouf/ns/bibtex#'), 'bio' : ('BIO', 'http://purl.org/vocab/bio/0.1/'), 'blogger' : ('Blogger Code', 'http://purl.org/net/bloggercode/'), 'ccpp' : ('CC/PP', 'http://www.w3.org/2002/11/08-ccpp-schema#'), 'cerif' : ('CERIF (Common European Research Information Format)', 'http://www.eurocris.org/cerif/domainontology/cerif.daml#'), 'charette' : ('Charette Relationship Set', 'http://www.charette.com/crs/0.1#'), 'conference' : ('Conference Ontology', 'http://www.mindswap.org/~golbeck/web/www04photo.owl#'), 'cc' : ('Creative Commons', 'http://web.resource.org/cc/'), 'damloil' : ('DAML+OIL', 'http://www.daml.org/2001/03/daml+oil#'), 'dpdesc' : ('Digital Picture Description', 'http://kanzaki.com/ns/dpd#'), 'drrole' : ('Digital Resource Role', 'http://www.natlib.govt.nz/dr/role#'), 'drterms' : ('Digital Resource Terms', 'http://www.natlib.govt.nz/dr/terms#'), 'doaml' : ('DOAML', 'http://ns.balbinus.net/doaml#'), 'doap' : ('DOAP', 'http://usefulinc.com/ns/doap#'), 'doclist' : ('Document List', 'http://www.junkwork.net/xml/DocumentList#'), 'dolcelite' : ('DOLCE-Lite', 'http://ontology.ip.rm.cnr.it/ontologies/DOLCE-Lite#'), 'dcterms' : ('Dublin Core Element Refinements and Encoding Schemes', 'http://purl.org/dc/terms/'), 'dc' : ('Dublin Core Element Set v1.1', 'http://purl.org/dc/elements/1.1/'), 'dcmitype' : ('Dublin Core Type Vocabulary', 'http://purl.org/dc/dcmitype/'), 'emir' : ('EMiR', 'http://xmlns.filsa.org/emir/0.2/#'), 'eor' : ('EOR Vocabulary v1.0', 'http://dublincore.org/2000/03/13/eor#'), 'exif' : ('Exif Data Description Vocabulary', 'http://www.w3.org/2003/12/exif/ns#'), 'fipaowl' : ('FIPA OWL', 'http://taga.umbc.edu/ontologies/fipaowl#'), 'fipscountrycodes' : ('FIPS Country Codes Ontology', 'http://www.daml.org/2001/09/countries/fips-10-4-ont#'), 'foaf' : ('FOAF', 'http://xmlns.com/foaf/0.1/'), 'foafcorp' : ('FOAFCorp', 'http://xmlns.com/foaf/corp#'), 'food' : ('Food Ontology', 'http://www.w3.org/TR/2003/CR-owl-guide-20030818/food#'), 'gadget' : ('Gadget', 'http://www.wasab.dk/morten/2004/10/gadget#'), 'a2a' : ('GEM A2A Standard', 'http://purl.org/gem/A2AStandard/'), 'gesqv' : ('GEM Element Set Qualifier Vocabulary v2.0', 'http://purl.org/gem/qualifiers/'), 'ges' : ('GEM Element Set v2.0', 'http://purl.org/gem/elements/'), 'ggs' : ('GEM Generic Standard', 'http://purl.org/gem/GenericStandard/'), 'gmtv' : ('GEM Monolingual Thesauri Vocabulary', 'http://purl.org/gem/NISO-Z3919/'), 'gemtype' : ('GEMT1 Type Vocabulary', 'http://purl.oclc.org/gem/gemtype/'), 'geo' : ('Geo', 'http://www.w3.org/2003/01/geo/wgs84_pos#'), 'gcs' : ('geoCoordinateSystems', 'http://www.mindswap.org/2003/owl/geo/geoCoordinateSystems20040307.owl#'), 'geof' : ('geoFeatures', 'http://www.mindswap.org/2003/owl/geo/geoFeatures20040307.owl#'), 'gim' : ('Geographic Information Metadata', 'http://loki.cae.drexel.edu/~wbs/ontology/2003/10/iso-metadata#'), 'georel' : ('geoRelations', 'http://www.mindswap.org/2003/owl/geo/geoRelations20040307.owl#'), 'gss' : ('Graph Style Sheets (GSS)', 'http://www.w3.org/2001/11/IsaViz/graphstylesheets#'), 'ibis' : ('IBIS', 'http://purl.org/ibis#'), 'ilike' : ('ILike', 'http://rdf.netalleynetworks.com/ilike/20040830#'), 'irv' : ('Image Region Vocabulary', 'http://www.w3.org/2004/02/image-regions#'), 'images' : ('Images Ontology', 'http://www.mindswap.org/~glapizco/technical.owl#'), 'ipro' : ('Intellectual Property Rights Ontology', 'http://dmag.upf.es/ontologies/2003/12/ipronto.owl#'), 'iso3166' : ('ISO 3166 Country Codes Ontology', 'http://www.daml.org/2001/09/countries/iso-3166-ont#'), 'itinerary' : ('Itinerary Ontology', 'http://www.daml.org/2001/06/itinerary/itinerary-ont#'), 'kissology' : ('Kissology', 'http://www.gnowsis.org/ont/kissology#'), 'label' : ('label', 'http://purl.org/net/vocab/2004/03/label#'), 'menow' : ('MeNow', 'http://schema.menow.org/#'), 'milo' : ('Mid-Level Ontology (MILO)', 'http://reliant.teknowledge.com/DAML/Mid-level-ontology.owl#'), 'movie' : ('Movie Schema', 'http://139.91.183.30:9090/RDF/VRP/Examples/moviedatabase.rdf#'), 'music' : ('Music Vocabulary', 'http://www.kanzaki.com/ns/music#'), 'musicbrainz' : ('MusicBrainz Metadata Vocabulary', 'http://musicbrainz.org/mm/mm-2.1#'), 'nyse' : ('NYSE Ontology', 'http://www.daml.org/2001/10/html/nyse-ont#'), 'ossv' : ('Open Source Software Vocabulary', 'http://purl.org/net/xamde/ns/os#'), 'orel' : ('OREL 0.5', 'http://xobjects.seu.edu.cn/resource/drm/orel/orel0_5.owl#'), 'owl' : ('OWL', 'http://www.w3.org/2002/07/owl#'), 'owlsground' : ('OWL-S Grounding', 'http://www.daml.org/services/owl-s/1.1/Grounding.owl#'), 'owlsproc' : ('OWL-S Process', 'http://www.daml.org/services/owl-s/1.1/Process.owl#'), 'owlsprof' : ('OWL-S Profile', 'http://www.daml.org/services/owl-s/1.1/Profile.owl#'), 'owlsserv' : ('OWL-S Service', 'http://www.daml.org/services/owl-s/1.1/Service.owl#'), 'papager' : ('Paper Ontology', 'http://lby.net9.org/ontology'), 'pets' : ('Pet Profile Ontology', 'http://purl.org/stuff/pets/'), 'phototech' : ('Photo RDF (Technical)', 'http://www.w3.org/2000/PhotoRDF/technical-1-0#'), 'photo' : ('Photography Vocabulary', 'http://purl.org/net/vocab/2003/11/photo#'), 'p3' : ('Platform for Privacy Preferences', 'http://www.w3.org/2002/01/p3prdfv1#'), 'presentations' : ('Presentations', 'http://www.w3.org/2004/08/Presentations.owl#'), 'prj' : ('PRJ Project Vocabulary', 'http://purl.org/stuff/project#'), 'psychometric' : ('Psychometric Profile Vocabulary', 'http://purl.org/vocab/psychometric-profile/'), 'pub' : ('Pub Ontology', 'http://www.csd.abdn.ac.uk/research/AgentCities/ontologies/pubs#'), 'quaffing' : ('Quaffing', 'http://purl.org/net/schemas/quaffing/'), 'qrsv' : ('Query Result Set Vocabulary', 'http://jena.hpl.hp.com/2003/03/result-set#'), 'rdfcal' : ('RDF Calendar', 'http://www.w3.org/2002/12/cal/ical#'), 'rdsf' : ('RDF Schema Vocabulary', 'http://www.w3.org/2000/01/rdf-schema#'), 'rdf' : ('RDF Vocabulary', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'), 'rdfgeom' : ('RDFGeom', 'http://fabl.net/vocabularies/geometry/1.1/'), 'rdfgeom2n' : ('RDFGeom2d', 'http://fabl.net/vocabularies/geometry2d/1.1/'), 'rdfq' : ('RDFQ Vocabulary', 'http://sw.nokia.com/RDFQ-1/'), 'readinglist' : ('Reading List Schema', 'http://purl.org/net/schemas/book/'), 'relationship' : ('Relationship', 'http://purl.org/vocab/relationship/'), 'resume' : ('Resume', 'http://kaste.lv/~captsolo/semweb/resume/cv.rdfs'), 'review' : ('Reviews on the Web', 'http://amk.ca/xml/review/1.0#'), 'res' : ('Roodolf Export Schema', 'http://nutria.cs.tu-berlin.de/roodolf/rdfs'), 'ror' : ('ROR (Resources of a Resource)', 'http://rorweb.com/0.1/'), 'rss' : ('RSS 1.0', 'http://purl.org/rss/1.0/'), 'rssenc' : ('RSS 2.0 Enclosures', 'http://purl.oclc.org/net/rss_2.0/enc#'), 'rssrev' : ('RSS 2.0 Review Module', 'http://purl.org/stuff/rev#'), 'sabo' : ('SABO', 'http://www.bioimage.org/SABO#'), 'sds' : ('Schema Directory Schema', 'http://www.schemaweb.info/schemas/meta/rdf/'), 'swarch' : ('Semantic Web Architecture Vocabulary 1.0', 'http://sw.nokia.com/SWArch-1/'), 'swrco' : ('Semantic Web Research Community Ontology', 'http://www.semanticweb.org/ontologies/swrc-onto-2001-12-11.daml#'), 'semweb' : ('SemWeb Vocab Status Ontology', 'http://www.w3.org/2003/06/sw-vocab-status/ns#'), 'skoscore' : ('SKOS Core', 'http://www.w3.org/2004/02/skos/core#'), 'skosext' : ('SKOS Extensions', 'http://www.w3.org/2004/02/skos/extensions#'), 'skosmapping' : ('SKOS Mapping', 'http://www.w3.org/2004/02/skos/mapping#'), # 'softproj' : ('Software Project', 'http://keg.cs.tsinghua.edu.cn/ontology/software#'), 'sto' : ('Software Tools Ontology', 'http://www.daml.org/tools/tools-ont#'), 'spacenamespace' : ('spacenamespace', 'http://frot.org/space/0.1/'), 'srw' : ('Speaks, Reads and Writes', 'http://purl.org/net/inkel/rdf/schemas/lang/1.1#'), 'sumo' : ('Suggested Upper Merged Ontology (SUMO)', 'http://reliant.teknowledge.com/DAML/SUMO.owl#'), 'swappim' : ('SWAP Personal Information Markup', 'http://www.w3.org/2000/10/swap/pim/contact#'), 'swapsniff' : ('SWAP Sniff Schema', 'http://www.w3.org/2000/10/swap/util/sniffSchema#'), 'swed' : ('SWED Ontology', 'http://www.swed.org.uk/2004/02/swed#'), 'swrl' : ('SWRL', 'http://www.w3.org/2003/11/swrl#'), 'tat' : ('Terrorist Attack Types', 'http://reliant.teknowledge.com/DAML/terroristAttackTypes.daml#'), 'ags' : ('The Agricultural Metadata Element Set v.1.1', 'http://www.fao.org/agris/agmes/schemas/1.1/ags#'), 'tdl' : ('Thread Description Language', 'http://www.eyrie.org/~zednenem/2002/web-threads/'), 'topicmaps' : ('Topic Maps', 'http://psi.ontopia.net/rdf/#'), 'travel' : ('Travel Ontology', 'http://taga.umbc.edu/ontologies/travel#'), 'travel2' : ('Travel Ontology', 'http://keg.cs.tsinghua.edu.cn/ontology/travel#'), 'trust' : ('trust', 'http://www.perceive.net/schemas/20020725/trust#'), 'trustnets' : ('Trust Networks on the Semantic Web', 'http://www.mindswap.org/~golbeck/web/trust.daml#'), 'trustont' : ('Trust Ontology', 'http://trust.mindswap.org/ont/trust.owl#'), 'unspsc' : ('UNSPSC', 'http://www.ksl.stanford.edu/projects/DAML/UNSPSC.daml#'), 'uranai' : ('Uranai', 'http://kota.s12.xrea.com/vocab/'), 'uriqa' : ('URI Query Agent Vocabulary 1.0', 'http://sw.nokia.com/URIQA-1/'), 'usnoaad' : ('USNOAAD Vocabulary', 'http://purl.org/net/vocab/2004/04/usnoaad#'), 'vann' : ('VANN', 'http://purl.org/vocab/vann/'), 'vcard' : ('vCard', 'http://www.w3.org/2001/vcard-rdf/3.0#'), 'nowsisvcard' : ('vCard Gnowsis Edition', 'http://www.gnowsis.org/ont/vcard#'), 'veg' : ('Vegetarian Ontology', 'http://www.mindswap.org/2003/vegetarian.owl#'), 'visit' : ('visit', 'http://purl.org/net/vocab/2004/07/visit#'), 'voc' : ('Vocabulary for Vocabulary Definitions 1.0', 'http://sw.nokia.com/VOC-1/'), 'w6v' : ('W6 Vocabulary', 'http://purl.org/ibis/w6#'), 'wmd' : ('Weapons of Mass Destruction', 'http://reliant.teknowledge.com/DAML/WMD.owl#'), 'wav' : ('Web Architecture Vocabulary 1.0', 'http://sw.nokia.com/WebArch-1/'), 'wsae' : ('Web Services Architecture Extensions', 'http://www.w3.org/2004/02/wsa/Extensions.owl#'), 'wsamm' : ('Web Services Architecture Message Model', 'http://www.w3.org/2004/02/wsa/MessageModel.owl#'), 'wsapm' : ('Web Services Architecture Policy Model', 'http://www.w3.org/2004/02/wsa/PolicyModel.owl#'), 'wsarm' : ('Web Services Architecture Resource Model', 'http://www.w3.org/2004/02/wsa/ResourceModel.owl'), 'wsasm' : ('Web Services Architecture Service Model', 'http://www.w3.org/2004/02/wsa/ServiceModel.owl#'), 'wsperson' : ('WebScripter Person', 'http://www.isi.edu/webscripter/person.o.daml#'), 'whois' : ('Who\'s Who Description Vocabulary', 'http://www.kanzaki.com/ns/whois#'), 'wine' : ('Wine Ontology', 'http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#'), 'wneta3' : ('Wordnet Agent-3', 'http://xmlns.com/wordnet/1.6/'), 'wnetdoc' : ('Wordnet Document', 'http://xmlns.com/wordnet/1.6/'), 'wnetorg' : ('Wordnet Organization', 'http://xmlns.com/wordnet/1.6/'), 'wnetperson' : ('Wordnet Person', 'http://xmlns.com/wordnet/1.6/'), 'wnetproj' : ('Wordnet Project', 'http://xmlns.com/wordnet/1.6/'), 'wot' : ('WOT 0.1', 'http://xmlns.com/wot/0.1/'), 'zipcode' : ('Zipcode Ontology', 'http://www.daml.org/2001/10/html/zipcode-ont#'), } if __name__ == '__main__': import urllib for ont in ontologies.keys(): f = open(ont + '.rdf', 'w') u = ontologies[ont][1] print "fetching %s" % u try: r = urllib.urlopen(u).read() except IOError: print "Unable to fetch resource %s" % u f.write(r) f.close()