relationer i databrønden via webservicen open search dbc workshop_30-jan-2013
DESCRIPTION
Slides fra workshop på DBC den 30. januar 2013 om kilder i databrøndenTRANSCRIPT
Relationer via webservicen OpenSearch
30. januar 2013Kirstine Wilfred Christensen
1
Hvad er OpenSearch webservicen?
2
Databrønden
Opensearch webservice
Biblioteksgrænseflade
OpenSearch webservice
Overordnet set to slags kald: searchRequest
– En søgning ned i brønden
getObject– Hent kendt post med pid
• Pid = submitter + id• F.eks. Biblioteksnr + faustnummer
3
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:searchRequest> <ns1:query>Hobbitten</ns1:query> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:start>1</ns1:start> <ns1:stepValue>10</ns1:stepValue> </ns1:searchRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
4
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:searchRequest> <ns1:query>Hobbitten</ns1:query> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:start>1</ns1:start> <ns1:stepValue>10</ns1:stepValue> </ns1:searchRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
5
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:searchRequest> <ns1:query>Hobbitten</ns1:query> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:start>1</ns1:start> <ns1:stepValue>10</ns1:stepValue> </ns1:searchRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
6
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:getObjectRequest> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:identifier>775100:23740478</ns1:identifier> <ns1:objectFormat>dkabm</ns1:objectFormat> <ns1:allRelations>true</ns1:allRelations> <ns1:relationData>full</ns1:relationData> </ns1:getObjectRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
7
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:getObjectRequest> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:identifier>775100:23740478</ns1:identifier> <ns1:objectFormat>dkabm</ns1:objectFormat> <ns1:allRelations>true</ns1:allRelations> <ns1:relationData>full</ns1:relationData> </ns1:getObjectRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
8
Biblioteksnummer
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:getObjectRequest> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:identifier>775100:23740478</ns1:identifier> <ns1:objectFormat>dkabm</ns1:objectFormat> <ns1:allRelations>true</ns1:allRelations> <ns1:relationData>full</ns1:relationData> </ns1:getObjectRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
9
Brøndprofil fra VIP-basen
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:getObjectRequest> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile><ns1:identifier>775100:23740478</ns1:identifier> <ns1:objectFormat>dkabm</ns1:objectFormat> <ns1:allRelations>true</ns1:allRelations> <ns1:relationData>full</ns1:relationData> </ns1:getObjectRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
10
Pid på post i brønden
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:getObjectRequest> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:identifier>775100:23740478</ns1:identifier> <ns1:objectFormat>dkabm</ns1:objectFormat> <ns1:allRelations>true</ns1:allRelations> <ns1:relationData>full</ns1:relationData> </ns1:getObjectRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
11
Format:dkabmmarcxchangedokbook
Eksempel kald til webservicen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:getObjectRequest> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:identifier>775100:23740478</ns1:identifier> <ns1:objectFormat>dkabm</ns1:objectFormat> <ns1:allRelations>true</ns1:allRelations> <ns1:relationData>full</ns1:relationData> </ns1:getObjectRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
12
OpenSearch webservice
OpenSearch webservice tilgængelig på http://opensearch.addi.dk/2.2/
Eksempel på søgning
13
Grænseflade
Grænsefladen skal håndtere visningen af posten og de relaterede posterBaseret på hvad der bliver udleveret fra webservicen
I skal i jeres grænseflade definere hvordan relationer vises og hvilke der skal vises.
Eksempel: kun relationer med online adgang
14
Liv for liv – Jussi Adler-Olsen
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:getObjectRequest> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:identifier>100200:28830920</ns1:identifier> <ns1:objectFormat>dkabm</ns1:objectFormat> <ns1:allRelations>true</ns1:allRelations> <ns1:relationData>full</ns1:relationData> </ns1:getObjectRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
15
Anmeldelse af Liv for liv fra Jyllandsposten
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://oss.dbc.dk/ns/opensearch"> <SOAP-ENV:Body> <ns1:getObjectRequest> <ns1:agency>100200</ns1:agency> <ns1:profile>test</ns1:profile> <ns1:identifier>870971:34699909</ns1:identifier> <ns1:objectFormat>dkabm</ns1:objectFormat> <ns1:allRelations>true</ns1:allRelations> <ns1:relationData>full</ns1:relationData> </ns1:getObjectRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope>
16
Bibliotekernes eksempler på relationsvisning
17
Kvaliteten af relationer
Hvilke overvejelser har vi gjort os? Smalt og præcist? Eller bredere med risiko for falske positive?
18
Kvaliteten af relationer
Litteraturtolkninger – ny kilde på vej i brønden– Analyser af enkeltværker– Flere værker på en gang– Hele forfatterskaber
– Match på hele forfatterskaber blev for bredt
19
Kvaliteten af relationer
hasCreatorDescription baseret på Den Store Danske (DSD)– Match mellem forfatter på katalogpost og
titlen på en DSD-post
– Manglende skelnen mellem forfattere med samme navn – Jacob Knudsen født 1858 eller født 1969
– Navnesammenfald imellem domæner• Kim Larsen, musiker• Kim Larsen, forfatter
20
Kvaliteten af relationer
hasCreatorDescription baseret på Den Store Danske (DSD)
Mulige løsninger:– Kun match på poster der også havde
emneordet Litteratur– Udvidet match på emneord inden for flere
domæner• ”Danske musikere og grupper”• ”Filosofi og filosoffer”• Etc.
– Vi lever med de falske positive
21
Kvaliteten af relationer
hasCreatorDescription baseret på Den Store Danske (DSD)
Tilbagemelding fra bibliotekerne: Det giver ikke værdi nok
22
Kvaliteten af relationer
Til DISKUSSION: hasSubjectDescription relationen til Den
Store
23
Kvaliteten af relationer
Andre relationer I ønsker at diskutere?
24