Frage

(Frage)

  • Wie soll die Notation einer Klassifikation in RDF angegeben werden, wenn
    1. weder ein URI für die Klassifikationsstelle
    2. noch womöglich ein URI für die Klassifikation selbst existiert?

Bestehende Ansätze

Zunächst werden hier zwei existierende Beispiele aufgezeigt, wie man die Frage beantworten kann. Beide Lösungen sind sehr ähnlich und benutzen einen Blank Node.

worldcat.org

Beispiel:

In worldcat.org wird eine Mischung aus dem schema.org-Vokabular und SKOS verwendet:

Relevantes RDF-Snippet:

<http://www.worldcat.org/oclc/8762580>
schema:about [ a skos:Concept;
            schema:name "Référence (Philosophie)"@en ],
        [ a schema:Person;
            schema:name "Goodman, Nelson‍"@en ] .

Gesamtes RDF zu der bibliographischen Ressource:

@prefix library: <http://purl.org/library/> .
@prefix madsrdf: <http://www.loc.gov/mads/rdf/v1#> .
@prefix schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

<http://www.worldcat.org/oclc/8762580> a schema:Book;
    library:holdingsCount "316"@en;
    library:oclcnum "8762580"@en;
    library:placeOfPublication [ a schema:Place;
            schema:name "Indianapolis, Ind. :"@en ];
    schema:about [ a skos:Concept;
            schema:name "Référence (Philosophie)"@en ],
        [ a schema:Person;
            schema:name "Goodman, Nelson‍"@en ],
        [ a skos:Concept;
            schema:name "Reference (Philosophy)"@en;
            madsrdf:isIdentifiedByAuthority <http://id.loc.gov/authorities/subjects/sh85112185> ],
        <http://dewey.info/class/160/e19/>,
        <http://id.worldcat.org/fast/1092367>,
        <http://viaf.org/viaf/108612138>;
    schema:author <http://viaf.org/viaf/57832271>;
    schema:copyrightYear "1983"@en;
    schema:inLanguage "en"@en;
    schema:isbn "0915145529"@en,
        "0915145537"@en,
        "9780915145522"@en,
        "9780915145539"@en;
    schema:name "With reference to reference"@en;
    schema:numberOfPages "200"@en;
    schema:publisher [ a schema:Organization;
            schema:name "Hackett Pub. Co."@en ] .

<http://dewey.info/class/160/e19/> a skos:Concept;
    skos:inScheme <http://dewey.info/scheme/e19/> .

<http://id.worldcat.org/fast/1092367> a skos:Concept;
    schema:name "Reference (Philosophy)‍"@en .

<http://viaf.org/viaf/108612138> a schema:Person;
    schema:name "Goodman, Nelson, 1906-"@en,
        "Goodman, Nelson."@en;
    madsrdf:isIdentifiedByAuthority <http://id.loc.gov/authorities/names/n50037322> .

<http://viaf.org/viaf/57832271> a schema:Person;
    schema:name "Elgin, Catherine Z., 1948-"@en;
    madsrdf:isIdentifiedByAuthority <http://id.loc.gov/authorities/names/n82109527> .

schema.org-Erweiterung für health/medical types

Die Erweiterung für health/medical types in schema.org (Dokumentation in Englisch) wird unter anderem benutzt, um den medizinischen Code (z.B. MeSH) mit Microdata-Markup anzugeben.

Microdata-Beispiel (von http://schema.org/MedicalGuideline):

<span itemprop="about" itemscope itemtype="http://schema.org/Drug">
    <span itemprop="name">Metformin</span>
    <span itemprop="code" itemscope
          itemtype="http://schema.org/MedicalCode"
          itemid="http://www.ncbi.nlm.nih.gov/mesh/D02.078.370.141.450">
      <!-- Note: use of itemid is not mandatory, but recommended when an
           external enumeration is available -->
      <meta itemprop="code" content="D02.078.370.141.450"/>
      <meta itemprop="codingSystem" content="MeSH"/>
    </span>

Mehr Beispiele gibt es unter http://schema.org/MedicalCondition und http://schema.org/MedicalScholarlyArticle.

Vorschlag 1

Angelehnt an die beiden betrachteten Beispiele, könnten wir folgende Lösung vorschlagen:

@prefix dct: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

<http://lobid.org/resource/HT002948556>
   dct:subject [
      a skos:Concept ;
      skos:prefLabel "Semantik" ] ,
      [ a skos:Concept ;
        skos:prefLabel "Referenz <Linguistik>" ] .  
      

Vorschlag 2: Nutzung des Open Annotation Data Model

Siehe http://www.openannotation.org/spec/core/, wo es heißt (Hervorhebung von Adrian)

An annotation is considered to be a set of connected resources, typically including a body and target, and conveys that the body is related to the target. The exact nature of this relationship changes according to the intention of the annotation, but most frequently conveys that the body is somehow "about" the target. Other possible relationships include that the body is an identifier for the target, provides a representation of the target, or classifies the target in some way.

Beispiel:

@prefix oa: <http://www.w3.org/ns/oa#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

<annotation>
   a oa:Annotation ;
   oa:hasTarget <bibliograpicresource> ;
   oa:hasBody <body> .

<body>
   a skos:Concept ;
   skos:prefLabel "Label" ;
   skos:notation "12345" ;
   ... .