Search/Retrieve via URL
Appearance
From Wikipedia, the free encyclopedia
This article needs editing to comply with Wikipedia's Manual of Style. In particular, it has problems with OMG! =). Please help improve the content. (September 2015) (Learn how and when to remove this message)
Search/Retrieve via URL (SRU) is a standard search protocol for Internet search queries, utilizing Contextual Query Language (CQL), a standard query syntax for representing queries.
SRU, along with the related Search/Retrieve via Web (SRW) service, were created by as part of the ZING (Z39.50 International: Next Generation) initiative as successors to the Z39.50 protocol.
Example usage
[edit ]Sample code of a complete answer for this SRU Query-URL with URL query version=1.1&operation=searchRetrieve&query=dc.title=Darwinism and CQL query dc.title=Darwinism:
<?xml version="1.0"?> <sru:searchRetrieveResponsexmlns:sru="https://www.loc.gov/zing/srw/"xmlns:diag="https://www.loc.gov/zing/srw/diagnostic/"xmlns:xcql="https://www.loc.gov/zing/cql/xcql/"xmlns:dc="http://purl.org/dc/elements/1.1/"> <sru:version>1.1</sru:version> <sru:numberOfRecords>4</sru:numberOfRecords> <sru:records> <sru:record> <sru:recordSchema>info:srw/schema/1/dc-v1.1</sru:recordSchema> <sru:recordPacking>XML</sru:recordPacking> <sru:recordData> <sru:dc> <sru:title>Darwinism</sru:title> <sru:creator>Dennett</sru:creator> <sru:subject>TheruleoftheLocalisabasicprincipleofDarwinism-itcorrespondstotheprinciplethatthereisnoCreator,nointelligentforesight.I262</sru:subject> </sru:dc> </sru:recordData> <sru:recordNumber>1</sru:recordNumber> </sru:record> <sru:record> <sru:recordSchema>info:srw/schema/1/dc-v1.1</sru:recordSchema> <sru:recordPacking>XML</sru:recordPacking> <sru:recordData> <sru:dc> <sru:title>Darwinism</sru:title> <sru:creator>McGinn</sru:creator> <sru:subject>Designargument/WilliamPaley:organismshaveabrilliantdesign:Wehavenotdesignedthem,sowehavetoassumethataforeignintelligencedidit.Letscallthisintelligence"God".SoGodexists.II98 DarwinVsPaley:intelligentdesigndoesnotrequireaCreator.Selectionissufficient.II98 Mind/consciousness/evolution/McGinn:evolutiondoesnotexplainconsciousness!norsensations.II99 Reason:sensationandconsciousnesscannotbeexplainedthroughthemeansofDarwinianprinciplesandphysics,becauseifselectionweretoexplainhowsensationsaresupposedtobecreatedbyit,itmustbepossibletomoldthemindfrommatter.II100 (s)Consciousnessorsensationswouldhavetobevisibleforselection!(SimilarGouldVsDawkins)</sru:subject> </sru:dc> </sru:recordData> <sru:recordNumber>2</sru:recordNumber> </sru:record> <sru:record> <sru:recordSchema>info:srw/schema/1/dc-v1.1</sru:recordSchema> <sru:recordPacking>XML</sru:recordPacking> <sru:recordData> <sru:dc> <sru:title>Darwinism</sru:title> <sru:creator>Putnam</sru:creator> <sru:subject>Rorty:Darwinism/Putnam:hedoesnoitliketheimageofmanasamorecomplicatedanimal(scientisticandreductionistphysicalism). RortyVI63</sru:subject> </sru:dc> </sru:recordData> <sru:recordNumber>3</sru:recordNumber> </sru:record> <sru:record> <sru:recordSchema>info:srw/schema/1/dc-v1.1</sru:recordSchema> <sru:recordPacking>XML</sru:recordPacking> <sru:recordData> <sru:dc> <sru:title>Darwinism</sru:title> <sru:creator>Rorty</sru:creator> <sru:subject>Darwinism/Rortyprovidesausefulvocabulary."Darwinism":formeisafableabouthumanbeingsasanimalswithspecialskillsandorgans.Buttheseorgansandskillsarejustaslittleinarepresentationalrelationtotheworldastheanteaterssnout.VI69ff Darwinism/Rorty:itdemandsthatweconsiderourdoingandbeingaspartofthesamecontinuum,whichalsoincludestheexistenceofamoebae,spidersandsquirrels.Onewaytodothatistosaythatourexperienceisjustmorecomplex.VI424</sru:subject> </sru:dc> </sru:recordData> <sru:recordNumber>4</sru:recordNumber> </sru:record> </sru:records> </sru:searchRetrieveResponse>
See also
[edit ]External links
[edit ]- Search/Retrieve via URL at Library of Congress
- CQL at Library of Congress
- Sample Page from the Dictionary of Arguments
- A complete example with query and answer
Stub icon
This World Wide Web–related article is a stub. You can help Wikipedia by expanding it.