Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ray Denenberg Ralph LeVan Interoperability Standards & Searching Multiple Repositories Workshop 20 March 25, 2006; Washington.

Similar presentations


Presentation on theme: "Ray Denenberg Ralph LeVan Interoperability Standards & Searching Multiple Repositories Workshop 20 March 25, 2006; Washington."— Presentation transcript:

1 Ray Denenberg Ralph LeVan Interoperability Standards & Searching Multiple Repositories Workshop 20 March 25, 2006; Washington

2 SRW (Brief) History

3 late 90’s ….. Initiatives to make Z39.50…. Simpler More comprehensible More easily implemented Web compatible …..while retaining the rich semantics developed over many years

4 Fast Forward......

5 SRW/U SRW Search and Retrieve Web Service SRU Search and Retrieve via URL SRW/U Search and Retrieve for the Web

6 Z39.50 TCP Classic Z39.50

7 SRW: over SOAP/HTTP Z39.50 TCP Classic Z39.50 SRW TCP “Search and Retrieve web Service” SOAP HTTP

8 SRU: over HTTP Z39.50 TCP Classic Z39.50 SRU TCP “Search and Retrieve via URL” HTTP

9 dinosaurs 1 10 mods/ SRW -in a SOAP Envelope

10 …..Same request via SRU: http://acme.com/sru? query= query= dinosaurs &maximumRecords=10 &startRecord=1 &recordSchema=mods

11 ZING

12 ZING “Z39.50 (international) Next Generation”

13 ZING

14 ZING srwsru

15 ZING srwsru cql

16 ZING srwsru cql “Common Query Language”

17 ZING srwsru cql “Common Query Language” --> “Contextual Query Language”

18 ZING srwsru cql ZOOM ez3950 zeeRex Record Update

19 ZING srwsruzeeRex Z39.50 Explain: explained and re-engineered in XML

20 ZING srwsruzeeRex Z39.50

21 ZING srwsruzeeRex

22 ZING srwsruZOOM Z39.50 Object Oriented Model

23 ZING srwsruZOOM Z39.50

24 ZING srwsruZOOM

25 ZING srwsru

26 SRW/U retains these Z39.50 concepts………. result sets abstract access points abstract record schemas application level diagnostics “Explain”

27 ….. But differs from Z39.50 in these respects: Web-based Connectionless XML CQL

28 ….. But differs from Z39.50 in these respects: Web-based Connectionless XML: Protocol (no ASN.1) + records (no “record syntax”) CQL user-friendly query

29 Z39.50 SRW/U Connections/Sessions/State Multiple services bound together in a single protocol Distinct Search and Present services Databases Record Syntaxes RPN ASN.1/BER Connectionless, stateless Different Z39.50 services are different web services Search/Present bound in a single web service Servers Just one: XML String query language XML

30 request via SRU: http://acme.com/sru? query= query= dinosaurs &maximumRecords=10 &startRecord=1 &recordSchema= mods

31 Record Schemas dc mods onix marcxml ead www.loc.gov/sru/record-schemas.html

32 request via SRU: http://acme.com/sru? query= query= dinosaurs &maximumRecords=10 &startRecord=1 &recordSchema=mods

33 request via SRU: http://acme.com/sruhttp://acme.com/sru? http://acme.com/sruversion=1.1 & operation=searchRetrieve &query= &query= dinosaurs &maximumRecords=10 &startRecord=1 &recordSchema=mods

34 http://z3950.loc.gov:7090/voyager http://z3950.loc.gov:7090/voyager? version=1.1& operation=explain http://z3950.loc.gov:7090/voyager? version=1.1& operation=explain http://z3950.loc.gov:7090/voyager? version=1.1& operation=searchRetrieve&query=dinosaur http://z3950.loc.gov:7090/voyager? version=1.1& operation=searchRetrieve&query=dinosaurexplain: Search for “dinosaur”:

35 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve&query=dinosaur &maximumRecords=1 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve&query=dinosaur &maximumRecords=1&recordSchema=dc Search for “dinosaur”, return 1 record, marcxml: Search for “dinosaur”, return 1 record, dc:

36 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve&query=dinosaur& startRecord=2&maximumRecords=1& recordSchema=dc return second record: http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve&query=dinosaur& startRecord=3&maximumRecords=2& recordSchema=dc Records three and four:

37 info:srw/schema/1/dc-v1.1 info:srw/schema/1/dc-v1.1 xml xml 3 info:srw/schema/1/dc-v1.1 info:srw/schema/1/dc-v1.1............ 4

38 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve&query=dinosaur &maximumRecords=1&recordSchema=mods MODS record:

39 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve&query=title=dinosaur &maximumRecords=10&recordSchema=mods Fielded Query: ‘title=dinosaur’

40 CQL

41 Sample CQL Queries Cat cat and dog title = cat dc.title = cat

42 Sample CQL Queries Cat (simple) cat and dog title = cat dc.title = cat

43 Sample CQL Queries Cat (simple) cat and dog (boolean) title = cat dc.title = cat

44 Sample CQL Queries Cat (simple) cat and dog (boolean) title = cat (index) dc.title = cat

45 Sample CQL Queries Cat (simple) cat and dog (boolean) title = cat (index) dc.title = cat (index qualified)

46 Boolean cat and dog cat or dog Cat not dog cat not dog and fish or frog

47

48 ((cat not dog) and fish) or frog (cat not dog) and (fish or frog)

49 Fielded/index Search title = cat

50 Fielded/index Search title = cat dc.title = cat bib.title = cat Bath.keyTitle Bath.

51 title = cat Search Clause

52 Search Clause

53 title = cat indexrelation search term

54 title = cat subject = dog and search clauses linked by a boolean

55 Relations Title = "the complete dinosaur" title all "complete dinosaur“ title any "dinosaur bird reptile" title exact "the complete dinosaur"

56 Relations Title = "the complete dinosaur" title all "complete dinosaur“ title any "dinosaur bird reptile" title exact "the complete dinosaur"

57 = Title = "the complete dinosaur“

58 = Title = "the complete dinosaur“ matches “a day in the life of the complete dinosaur“ and “the complete dinosaur goes to Paris“

59 = Title = "the complete dinosaur“ matches “a day in the life of the complete dinosaur“ and “the complete dinosaur goes to Paris“ but not “the complete and unabridged dinosaur"

60 All Title all "complete dinosaur“ matches “the complete and unabridged dinosaur"

61 Title all "dinosaur bird reptile“ does not match “the complete dinosaur"

62 Any Title any "dinosaur bird reptile“ does match “the complete dinosaur"

63 Exact title exact "the complete dinosaur" matches "the complete dinosaur"

64 Exact title exact "the complete dinosaur" matches "the complete dinosaur" (but does not match: “ a day in the life of the complete dinosaur" )

65 The anchor character ^

66 Recall ……. Title = "the complete dinosaur“ matches “a day in the life of the complete dinosaur“

67 Anchoring title=" ^ the complete dinosaur“ would not match “a day in the life of the complete dinosaur” would match “the complete dinosaur goes to paris”

68 Right Anchoring title="the complete dinosaur ^ " would not match “the complete dinosaur goes to Paris”

69 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve&query=title=dinosaur &maximumRecords=10&recordSchema=mods Fielded Query (title) Recall......

70 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve&query=dc.title=dinosaur &maximumRecords=10&recordSchema=mods Same as: http://z3950.loc.gov:7090/voyager? version=1.1& operation=explain http://z3950.loc.gov:7090/voyager? version=1.1& operation=explain

71 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve& query=bath.name=dinosaur &maximumRecords=10&recordSchema=mods Qualified Index: bath.name=dinosaur

72 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve& query=bath.name all “dinosaur%20barney” query=bath.name all “dinosaur%20barney” &maximumRecords=10&recordSchema=mods bath.name all “dinosaur barney”

73 http://z3950.loc.gov:7090/voyager?version=1.1 &operation=searchRetrieve& query=bath.name exact dinosaur query=bath.name exact dinosaur &maximumRecords=10&recordSchema=mods bath.name exact dinosaur

74 www.loc.gov/z3950/agency/zing/ www.loc.gov/z3950/agency/zing/srw/ www.loc.gov/standards/sru/

75 SRU CQL Explain Operation Scan Operation SRW

76 “SRW/U”  “SRU” SRW  “SRU over SOAP” and in addition “SRU via Post”


Download ppt "Ray Denenberg Ralph LeVan Interoperability Standards & Searching Multiple Repositories Workshop 20 March 25, 2006; Washington."

Similar presentations


Ads by Google