match
0
when
$9
resourceType
$a
property
$9
property
1
when
$a =~ ^http://dbpedia\.org/.+
$a
$6
$8
2
resourceType
TODO:a
extract data in parentheses and output as ## - assigner - Agent
$a
property
$z
addProperty
$6
NOTE
Qualified with field to avoid collision when put directly on top-level resource!
$8
addProperty
NOTE
Qualified with field to avoid collision when put directly on top-level resource!
Exempel: interpret dbpedia URI as sameAs of instance
MARC
[
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "123"
        }
      ]
    }
  },
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "http://dbpedia.org/resource/August_Strindberg"
        }
      ]
    }
  }
]
Normalized MARC:
[
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "http://dbpedia.org/resource/August_Strindberg"
        }
      ]
    }
  },
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "123"
        }
      ]
    }
  }
]
JSON-LD
{
  "identifiedBy": [
    {
      "@type": "SystemNumber",
      "value": "123"
    }
  ],
  "mainEntity": {
    "sameAs": [
      {
        "@id": "http://dbpedia.org/resource/August_Strindberg"
      }
    ]
  }
}
Exempel: LibrisIIINumber
MARC
[
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "9": "123"
        }
      ]
    }
  }
]
JSON-LD
{
  "identifiedBy": [
    {
      "@type": "LibrisIIINumber",
      "value": "123"
    }
  ]
}
Exempel: -
MARC
[
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "(OCoLC)ocn959625562"
        }
      ]
    }
  },
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "(OCoLC)959625562"
        },
        {
          "z": "(OCoLC)945232529"
        }
      ]
    }
  }
]
JSON-LD
{
  "identifiedBy": [
    {
      "@type": "SystemNumber",
      "value": "(OCoLC)ocn959625562"
    },
    {
      "@type": "SystemNumber",
      "value": "(OCoLC)959625562",
      "marc:hiddenValue": [
        "(OCoLC)945232529"
      ]
    }
  ]
}
Exempel: -
MARC
[
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "z": "Uk-ES)T105446"
        },
        {
          "z": "T105447"
        },
        {
          "z": "T105448"
        },
        {
          "z": "P6545"
        }
      ]
    }
  },
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "(CStRLIN)ESTCT105447"
        }
      ]
    }
  }
]
JSON-LD
{
  "identifiedBy": [
    {
      "@type": "SystemNumber",
      "marc:hiddenValue": [
        "Uk-ES)T105446",
        "T105447",
        "T105448",
        "P6545"
      ]
    },
    {
      "@type": "SystemNumber",
      "value": "(CStRLIN)ESTCT105447"
    }
  ]
}
Exempel: -
MARC
[
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "123"
        }
      ]
    }
  },
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "http://dbpedia.org/resource/August_Strindberg"
        },
        {
          "z": "(OCoLC)945232529"
        },
        {
          "9": "999"
        }
      ]
    }
  }
]
Normalized MARC:
[
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "http://dbpedia.org/resource/August_Strindberg"
        },
        {
          "z": "(OCoLC)945232529"
        },
        {
          "9": "999"
        }
      ]
    }
  },
  {
    "035": {
      "ind1": " ",
      "ind2": " ",
      "subfields": [
        {
          "a": "123"
        }
      ]
    }
  }
]
JSON-LD
{
  "identifiedBy": [
    {
      "@type": "SystemNumber",
      "value": "123"
    },
    {
      "@type": "LibrisIIINumber",
      "value": "999",
      "marc:hiddenValue": [
        "(OCoLC)945232529"
      ],
      "marc:value": "http://dbpedia.org/resource/August_Strindberg"
    }
  ]
}