function taxonomy_xml_taxonomy_servers in Taxonomy import/export via XML 6.2
Same name and namespace in other branches
- 6 taxonomy_xml.module \taxonomy_xml_taxonomy_servers()
Return a list of known lookup and search services, and some instructions on how they may be invoked.
Implementation pf HOOK_taxonomy_servers
File
- ./
lookup_services.inc, line 20 - A list of known lookup services and a brief description of their syntax
Code
function taxonomy_xml_taxonomy_servers() {
$services = array(
'freebase' => array(
'provider' => 'Freebase by Metaweb Technologies, ',
'name' => 'Freebase lookup',
'servicetype' => 'lookup',
'description' => 'Freebase lookup service can return RDF data about all sorts of topics. It requires an id, often prefixed with a concept type, eg <code>event.disaster</code>',
'about' => 'http://www.freebase.com/',
'identifier' => 'identifier',
'protocol' => 'URI',
'pattern' => 'http://rdf.freebase.com/ns/!identifier',
'format' => 'rdf',
),
'twdg' => array(
'provider' => 'Biodiversity Information Standards (TDWG)',
'name' => 'LSID Web Resolver',
'servicetype' => 'lookup',
'description' => 'This currently requires you to know an LSID in advance - there are no machine-readable LSID search services that I can find yet',
'identifier' => 'identifier',
'protocol' => 'URI',
'pattern' => 'http://lsid.tdwg.org/!identifier',
'format' => 'rdf',
),
'gcl' => array(
'provider' => 'UK GovTalk ',
'name' => 'GCL (Government Category List)',
'servicetype' => 'lookup',
'description' => 'an encoding scheme for the Subject element of the current version of the e-Government Metadata Standard (e-GMS).',
'about' => 'http://isegserv.itd.rl.ac.uk/skos/gcl/',
'identifier' => 'identifier',
'protocol' => 'URI',
'pattern' => 'http://isegserv.itd.rl.ac.uk/skos/gcl/gcl2.1.rdf',
'format' => 'rdf',
),
'WCA-terms' => array(
'provider' => 'W3C ',
'name' => 'Web Characterization Terminology & Definitions Sheet',
'servicetype' => 'lookup',
'description' => 'Glossary of web technology terms used by the W3C. (WCA-terms)',
'about' => 'http://www.w3.org/QA/2003/01/Glossary',
#'identifier' => 'identifier',
'protocol' => 'URI',
'pattern' => 'http://www.w3.org/2003/03/glossary-project/data/glossaries/WCA-terms.rdf',
'format' => 'rdf',
),
'LOC-lookup' => array(
'provider' => 'Library of Congress',
'name' => 'Library of Congress Subject Headings',
'servicetype' => 'lookup',
'description' => "\n LCSH in this service includes all Library of Congress Subject Headings, free-floating subdivisions (topical and form), Genre/Form headings, Children's (AC) headings, and validation strings* for which authority records have been created. The content includes a few name headings (personal and corporate), such as William Shakespeare, Jesus Christ, and Harvard University; and geographic headings that are added to LCSH as they are needed to establish subdivisions, provide a pattern for subdivision practice, or provide reference structure for other terms. This content is expanded beyond 'the big red books' (the paper issue of LCSH) with inclusion of validation strings.\n ",
'about' => 'http://id.loc.gov/authorities/about.html',
'identifier' => 'identifier',
'protocol' => 'URI',
'pattern' => 'http://id.loc.gov/authorities/!identifier',
'format' => 'rdf',
),
'LOC-music' => array(
'provider' => 'Library of Congress',
'name' => 'Library of Congress Subject Headings - Popular music - SAMPLE',
'servicetype' => 'lookup',
'description' => "\n Example LoC subject headings under the topic 'Popular Music'.\n ",
'about' => 'http://id.loc.gov/authorities/about.html',
'protocol' => 'URI',
'pattern' => 'http://id.loc.gov/authorities/sh85088865',
'format' => 'rdf',
),
'sonz' => array(
'provider' => 'New Zealand Government Locator Service (NZGLS)',
'name' => 'Services Of New Zealand (SONZ)',
'description' => 'A list of topics and classifications used to describe subjects of interest to government and governemnt agencies. Subjects include terms relating to administration, national affairs, education, infrastructure, law, economics and industry.',
'about' => 'http://www.e.govt.nz/standards/nzgls/thesauri',
'servicetype' => 'lookup',
'protocol' => 'URI',
'pattern' => 'http://www.e.govt.nz/standards/nzgls/thesauri/sonz150.txt/download',
'format' => 'csv',
),
'fonz' => array(
'provider' => 'New Zealand Government Locator Service (NZGLS)',
'name' => 'Functions Of New Zealand (FONZ)',
'description' => 'A list of topics and classifications used to describe government departments and administrative tasks. Subjects include terms relating to taxation, healthcare, immigration, defense and law.',
'about' => 'http://www.e.govt.nz/standards/nzgls/thesauri',
'servicetype' => 'lookup',
'protocol' => 'URI',
'pattern' => 'http://www.e.govt.nz/standards/nzgls/thesauri/fonz2.30.txt/download',
'format' => 'csv',
),
'AVM' => array(
'provider' => 'Virtual Astronomy Multimedia Project (VAMP) ',
'name' => 'Astronomy Visualization Metadata Standard (AVM) RDF+SKOS',
'description' => 'A structured glossary for use for tagging celestial bodies and related items. Terms like Pulsar planet, Satellite, Dwarf Star, Dark Matter.',
'about' => 'http://www.virtualastronomy.org/avm_metadata.php',
'servicetype' => 'lookup',
'protocol' => 'URI',
'pattern' => 'http://www.ivoa.net/rdf/Vocabularies/vocabularies-20091007/AVM/AVM.rdf',
'format' => 'rdf',
),
'ADL FTT' => array(
'provider' => 'Alexandria Digital Library (ADL)',
'name' => 'ADL Feature Type Thesaurus RDF+Custom',
'description' => 'The Feature Type Thesaurus contains a hierarchical scheme of terms for typing gazetteer entries; that is, for typing named geographic places. It is intended for general use for many types of gazetteers and as a shared vocabulary for interoperability among gazetteers. Terms like Bays, Rivers, Region, Parks, Landmarks, Roadways.',
'about' => 'http://www.alexandria.ucsb.edu/gazetteer/FeatureTypes/FTT_metadata.htm',
'servicetype' => 'lookup',
'protocol' => 'URI',
'pattern' => 'http://www.alexandria.ucsb.edu/gazetteer/FeatureTypes/ADL-all.rdf',
'format' => 'rdf',
),
'PRISM Genres' => array(
'provider' => 'Publishing Requirements for Industry Standard Metadata (PRISM)',
'name' => 'PRISM Genre Vocabulary - Nonstandard RDF',
'description' => 'The PRISM Genre element describes the genre, or the intellectual content of the resource.. Terms like Journal, Advertisement, Autobiography.',
'about' => 'http://www.prismstandard.org/vocabularies/2.0/',
'servicetype' => 'lookup',
'protocol' => 'URI',
'pattern' => 'http://www.prismstandard.org/vocabularies/2.0/genre.xml',
'format' => 'rdf',
),
);
return $services;
}