locloud - d3.4: vocabulary services

Download LoCloud - D3.4: Vocabulary services

Post on 11-Jun-2015

198 views

Category:

Technology

2 download

Embed Size (px)

DESCRIPTION

This is one of 7 reports provided in work package 3: Micro services for small and medium institutions. Authors: Odo Benda, Astrid Höller and Gerda Koch AIT Angewandte Informationstechnik Forschungsgesellschaft mbH

TRANSCRIPT

  • 1. Local content in a Europeana cloudD3.4: Vocabulary servicesAuthors:Odo Benda, Astrid Hller and Gerda KochAIT Angewandte Informationstechnik Forschungsgesellschaft mbHLoCloud is funded by the European CommissionsICT Policy Support ProgrammeVersion: 1.0

2. RevisionHistoryRevisionDateAuthorOrganisationDescriptionV0.12014-06-23A.HllerAITDraftofdocumentV0.22014-07-04O.BendaAITRevisionDraftV0.22014-07-07A.HllerAITRevisionDraftV0.22014-08-20G.KochAITRevisionAPIReferenceV0.32014-08-25A.HllerAITTable1,UNESCOThesaurusexamplesV0.32014-08-26A.HllerAITAPIsV0.32014-08-27A.HllerAITFAQsectionV0.32014-08-28O.BendaAITInstallation,APIsV0.32014-08-28W.KochAITReviewV0.42014-08-28G.KochAITEditingwholedocumentV1.02014-09-02O.Benda,A.Hller,G.KochAITVersion1WView the LoCloud project deliverablesChangeLogJuly2014:LoCloudexperimentalvocabularyapplicationeva,Version1August2014:LoCloudexperimentalvocabularyapplicationeva,Version2Statementoforiginality:Thisdeliverablecontainsoriginalunpublishedworkexceptwhereclearlyindicatedotherwise.Acknowledgementofpreviouslypublishedmaterialandoftheworkofothershasbeenmadethroughappropriatecitation,quotationorboth.LoCloudD3.4VocabularyServices2 3. ContentsExecutivesummary.......................................................................................................................41.Introduction............................................................................................................................5Overviewofthemicroservice..................................................................................................................5Overviewofthedevelopmentmethodology...........................................................................................72.Gettingstarted.....................................................................................................................12Termsofuse.........................................................................................................................................12Authentication......................................................................................................................................12BaseURL...............................................................................................................................................12UsingtheLoCloudVocabularyManagementSystembasedonTemaTres..............................................123.APIReference.......................................................................................................................134.Howtoinstallthemicroservice............................................................................................375.HowthemicroserviceisinstalledinLoCloud........................................................................386.Troubleshooting/FAQ..........................................................................................................397.References............................................................................................................................428.Glossary................................................................................................................................439.Conclusions...........................................................................................................................45Annex1-UsingtheLoCloudexperimentalvocabularyapplicationbasedonTemaTres................46Creatinganewvocabulary........................................................................................................................................50Administration..........................................................................................................................................................53Vocabularyconfiguration.....................................................................................................................................53Users.....................................................................................................................................................................54Export...................................................................................................................................................................55Maintenancedatabase.........................................................................................................................................56Deletedatamassively......................................................................................................................................60TermManagement...................................................................................................................................................61Notes.........................................................................................................................................................................68Reports......................................................................................................................................................................70Vocabularyreference................................................................................................................................................71Importingamultilingualvocabulary.........................................................................................................................78Abbreviatons........................................................................................................................................81LoCloudD3.4VocabularyServices3 4. ExecutivesummaryTheaimoftheworkwithinTask3.4istodevelopanexperimentalapplicationforenablinglocalculturalinstitutionstocollaborateinthedevelopmentofmultilingualvocabulariesforlocalhistoryandarchaeologyandallowtheretrievaloftermstobeintegratedduringsemanticenrichmentintheLoCloudaggregationprocess.Furthermore,thisapplicationshouldbemadeavailableforthelocalusersasacloud-basedservice.Culturalheritagedomainvocabulariescanvarytoahugeextendfromcountrytocountry.Termsexistinginonelanguagemightnotbeknowninanotherlanguage,orthehierarchiesofthevocabulariesinthevariouslanguagescouldvary.Hence,themainissuesformultilingualvoabulariesare: Structuralproblems:Theconceptualsystemscandifferinthevariouslanguages Equivalenceproblems:o Thelexicalizationofconceptscandifferindifferentlanguages(eg.bonefishbone(en);KnochenGrten(de))1o Thetranslationofathesaurusfromonelanguagetoanotherdoesnotmakeitathesaurusfortheotherlanguage(intraandinter-languageequivalenceproblems,termsmightdifferinmeaningetc.)Agoodwaytotackletheseproblemsistochooseafederatedmodelforthesauruscreation.Withthefederatedmodelitispossibletohaveindepentvocabulariesforthevariouslanguagesinthesamedomain.Thealignmentofthevariousvocabulariesinthedifferentlanguagesisdoneviaconceptidentifiers.Thelinkingofvocabularyconceptsmakesitpossiblefortheend-usertosearchinalllinkedindexingvocabulariesusinganyoneofthelinkedthesauriorsubjectheadinglists.Thus,theLoCloudexperimentalvocabularyapplicationisbasedonthefederatedmodelandawell-establishedplatform,TemaTres2,hasbeenchosenasbaselinefordevelopment.ThetoolhasbeenintegratedintheLoCloudtestlabwhereitcanbeaccessedviahttp://test113.ait.co.at/tematres/unesco/index.phporviathetestplatformofthemicroservicesathttp://lc004.ait.co.at:8080/portal/site/wp3.Itsupportstheimportofvocabulariesandtheonlinecollaborationinthecreationandupdatingofvocabularies.ForthesepurposestheTemaTressoftwarehadtobeextended.ArewrittenSKOSimporterwasaddedandtwonewwebservicecallsweredevelopedtoallowimportingdataintoaremotethesaurus.ThisdocumentdescribestheexperimentalvocabularyapplicationVersion2(eva2)thathasbeensetuptoAugust2014.ThetestphaseofthemicroservicesisastagedtestingprocesstoNovember2014.Futuretestresultsorrecommendationsmayleadtotheupdatingofthetool.1http://www.dsoergel.com/cv/B67.pdf20thAugust,20142http://www.vocabularyserver.com/31thAugust,2014LoCloudD3.4VocabularyServices4 5. 1. IntroductionOverview of the microserviceThevocabularyservicesareused:a)inthevariousenrichmentworkflowsautomaticallythroughthegenericenrichmentserviceandb)throughtheAggregatorUI.Regardingthefirstcase,thegenericenrichmentserviceofLoCloudallowstoorchestratevariousRESTmicro-servicesintocomplexenrichmentworkflows.Theusercancreateaworkflowbyselectingandcombiningthemicro-serviceshewants.Morespecificallyforthevocabularyservicetheuserisabletoselecttermstoattachtoaharvestedpackage.Regardingthelatter,theuserispresentedwiththevariousthesauriandiscapableofsearchingandnavigatingthroughtheconcepts.Inordertominimizetheeffortforthedevelopmentoftheexperimentalvocabularyapplicationvariousvocabularytoolsthatarecurrentlyavailableandopensourcehavebeenevaluated.ResearchshowedthattheimplementationandadaptationoftheTemaTrestool,anopensourcevocabularyserverandwebapplicationtomanageandexploitvocabularies,thesauri,taxonomiesandformalrepresentationsofknowledgewouldbeaveryappropriatestartingpointforthedevelopment,http://www.vocabularyserver.com/.ThereforeitwasdecidedtouseTemaTresasstartingapplicationforshapinganexperimentalcollaborativevocabularytoolforLoCloudpurposes.TemaTressupportsthehandlingofvocabulariesinaccordancewithstandardthesaurusnorms.Itallowsforimport/exportofdataassimpletextfilesorinSKOS3format.TemaTresisawebapplicationformanagingformalrepresentationsofknowledge,thesauri,taxonomiesandmultilingualvocabularies.4Itsmainfeaturesare: SPARQLendpoint(SPARQLProtocolandRDFQueryLanguage) Meta-terms:definefacets,collectionsorarraysofterms Supportformultilingualthesaurus Exposevocabularieswithpowerfulwebservices Searchtermssuggestion(didyoumean...?) Displaytermsinmultipledeeplevelsinthesamescreen Searchexpansion Vocabularyharmonizationfeatures:equivalent,noequivalentandpartialtermswithothervocabularies3http://www.w3.org/2004/02/skos/20thAugust,20144http://sourceforge.net/projects/tematres/25thJune,2014LoCloudD3.4VocabularyServices5 6. Relationshipbetweenterms(BT/NT,USE/UF,RT) Nolimitstonumberofterms,alter