Tarje Sælen Lavik

Section for digital systems and services

University of Bergen Library

Special collection and BIBSYS linked data

What is Marcus?

The Specialcollection av the University of Bergen Library semantic plattform.

  • Linked data
  • Data from lots of sources
  • CC0 
<http://data.ub.uib.no/instance/photograph/ubb-kk-n-518-041>
        a       <http://data.ub.uib.no/ontology/Photograph> ;
        <http://data.ub.uib.no/ontology/cataloguer>
                <http://data.ub.uib.no/Cataloguer_4> ;
        <http://data.ub.uib.no/ontology/hasRepresentation>
                <http://data.ub.uib.no/instance/aggregation/ubb-kk-n-518-041> ;
        <http://data.ub.uib.no/ontology/hasThumbnail>
                "http://data.ub.uib.no/files/bs/ubb/ubb-kk/ubb-kk-n/ubb-kk-n-518/ubb-kk-n-518-041/jpg/ubb-kk-n-518-041_th.jpg"^^<http://www.w3.org/2001/XMLSchema#anyuri> ;
        <http://data.ub.uib.no/ontology/showWeb>
                true ;
        <http://purl.org/NET/c4dm/event.owl#producedIn>
                <http://data.ub.uib.no/instance/event/63d92c7d-74c9-4087-9969-af053f3fe1ee> ;
        <http://purl.org/dc/terms/available>
                "2014-08-19"^^<http://www.w3.org/2001/XMLSchema#date> ;
        <http://purl.org/dc/terms/created>
                "1922"^^<http://www.w3.org/2001/XMLSchema#gYear> ;
        <http://purl.org/dc/terms/identifier>
                "ubb-kk-n-518-041"^^<http://www.w3.org/2001/XMLSchema#string> ;
        <http://purl.org/dc/terms/isPartOf>
                <http://data.ub.uib.no/instance/collection/ubb-kk-n> ;
        <http://purl.org/dc/terms/spatial>
                <http://data.ub.uib.no/instance/spatialthing/959d4dca-8d38-46f4-8962-1d0c7c94688a> , <http://data.ub.uib.no/instance/spatialthing/cf717543-2ee5-48c6-9b83-016a16aedddc> ;
        <http://purl.org/dc/terms/subject>
                <http://data.ub.uib.no/topic/7b2d2fa6-73f5-4075-b394-20e64aa5fb54> , <http://data.ub.uib.no/topic/5a098fbd-c3dd-431d-a77e-5fc533081335> , <http://data.ub.uib.no/topic/bf4f6df5-05f7-4f0e-93ea-f1f1917a675a> , <http://data.ub.uib.no/topic/8a98f33f-8d85-461c-ad33-c248106bba07> , <http://data.ub.uib.no/topic/7d2b9388-8eba-4a4a-b72b-ab15c5c820e8> , <http://data.ub.uib.no/topic/f4086d26-fdcd-4d35-bbef-dc862ada345e> , <http://data.ub.uib.no/topic/f0c29c87-d2d5-4362-92b3-a6aa275d801d> ;
        <http://purl.org/dc/terms/title>
                "10de. nationale landsturnstevne i Bergen, juni 1922"^^<http://www.w3.org/2001/XMLSchema#string> ;
        <http://xmlns.com/foaf/0.1/maker>
                <http://data.ub.uib.no/instance/company/0d52fbb1-4cdd-4fae-8e5f-cc680f6764fe> .

Hvordan sy sammen data

"Signaturen"

ubb-romertall-oktav-xiii-a-1
022511512
image/svg+xml
ubb-romertall-oktav-xiii-a-1

URI

<http://data.ub.uib.no/instance/book/ubb-romertall-oktav-xiii-a-1>
<https://livedata.bibsys.no/biblio/022511512>
<http://data.ub.uib.no/instance/aggregation/ubb-romertall-oktav-xiii-a-1>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ubbont: <http://data.ub.uib.no/ontology/>

CONSTRUCT 
  { <http://data.ub.uib.no/instance/book/ubb-romertall-oktav-xiii-a-1> ?p ?o .
    <http://data.ub.uib.no/instance/book/ubb-romertall-oktav-xiii-a-1> owl:sameAs ?biblio .}
WHERE
  { GRAPH ?G
      { <http://data.ub.uib.no/instance/book/ubb-romertall-oktav-xiii-a-1> ?p ?o
        OPTIONAL  
          { <http://data.ub.uib.no/instance/book/ubb-romertall-oktav-xiii-a-1> ubbont:bibsysID ?bibsysId
            SERVICE <http://pallas.bibsys.no:9999/blazegraph/namespace/metadata/sparql> { 
              ?biblio dc:identifier ?bibsysId . }
          }
      }
  }

Binde alt sammen

@prefix dct:   <http://purl.org/dc/terms/> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix ubbont: <http://data.ub.uib.no/ontology/> .
@prefix bibo:  <http://purl.org/ontology/bibo/> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .

<http://data.ub.uib.no/instance/book/ubb-romertall-oktav-xiii-a-1>
        a                         bibo:Book ;
        ubbont:bibsysID           "022511512" ;
        ubbont:cataloguer         <http://data.ub.uib.no/Cataloguer_3> ;
        ubbont:hasRepresentation  <http://data.ub.uib.no/instance/aggregation/ubb-romertall-oktav-xiii-a-1> ;
        ubbont:hasThumbnail       "http://data.ub.uib.no/files/manlib/ubb/ubb-romertall/ubb-romertall-oktav/ubb-romertall-oktav-xiii/ubb-romertall-oktav-xiii-a/ubb-romertall-oktav-xiii-a-1/jpg/ubb-romertall-oktav-xiii-a-1_p0001_th.jpg"^^<http://www.w3.org/2001/XMLSchema#anyuri> ;
        dct:available             "2016-03-09"^^<http://www.w3.org/2001/XMLSchema#date> ;
        dct:identifier            "ubb-romertall-oktav-xiii-a-1" ;
        dct:isPartOf              <http://data.ub.uib.no/instance/collection/ubb-romertall> ;
        dct:title                 "Fremstilling af Slaget ved Waterloo, samt af de mærkværdigste Begivenheder som tildroge sig i Frankrig, fra den Tid af, da Napoleon forlod Øen Elba indtil hans Forviisning til St.Helena var fuldbyrdet" ;
        bibo:pages                354 ;
        owl:sameAs                <http://livedata.bibsys.no/biblio/022511512> .

Text

Fordeler

  • SPARQL er en standard "API"
  • Bruker HTTP
  • Mulig å hente ut akkurat det du trenger
  • På det formatet du foretrekker
  • Ikke nødvendig å være enig om datamodell på forhånd

Besøk marcus.uib.no

Takk for meg!

Spørsmål eller kommentarer?

 

tarje.lavik@uib.no

#tarjelavik

 

slides.com/tarjelavik/semweb2016-marcus

TIF File by mantisshrimpdesign from the Noun Project

Folder by Jevgeni Striganov from the Noun Project

JPG File by Chameleon Design from the Noun Project

XML File by mantisshrimpdesign from the Noun Project

Marcus semweb 2016 - IGELU

By Tarje Lavik

Marcus semweb 2016 - IGELU

BIBSYS konferansen 16. mars 2016

  • 469