isamplesorg/metadata

Number of OpenContext records without citation uri

Opened this issue · 6 comments

We pulled a number of OpenContext records with no citation uri key (ark). We use this as the ID field in Solr, so these records are not ending up in the Solr index.

{
    "uri": "http://opencontext.org/subjects/5DDE4747-9627-44A3-432C-C135DB278D53",
    "label": "Object 1",
    "Creator": [
        {
            "id": "http://opencontext.org/persons/21_DT_Person",
            "label": "Bradley Parker"
        },
        {
            "id": "http://opencontext.org/persons/3BDBEC0E-8D0F-484F-DBD9-985F3D0915F6",
            "label": "Peter Cobb"
        }
    ],
    "updated": "2017-02-11T04:09:04Z",
    "latitude": 37.830708,
    "longitude": 40.813714,
    "published": "2012-03-28T00:00:00Z",
    "Contributor": [
        {
            "id": "http://opencontext.org/persons/4499C94B-8EB5-4E30-07CC-DD3A98561FB6",
            "label": "Bradley J. Parker"
        }
    ],
    "context uri": "http://opencontext.org/subjects/41A63692-36EB-4A3C-1F54-362690B89676",
    "late bce/ce": -4200.0,
    "project uri": "http://opencontext.org/projects/3DE4CD9C-259E-4C14-9B03-8B10454BA66E",
    "citation uri": false,
    "early bce/ce": -4700.0,
    "context label": "Turkey/Kenan Tepe/Area D/Trench 5/Locus 5060/Finds Bag 5470",
    "item category": "Object",
    "project label": "Kenan Tepe"
}
isb_2=> select count(*) from thing where authority_id='OPENCONTEXT' and resolved_content->>'citation uri' like '%false%';
 count 
-------
   818

@ekansa I know we discussed this one before, but it looks like we still have about 800 records without proper citation URIs. Is this expected on your end?

looks like this is fixed (the example above has an ark see search result, I think its the the same item? If so this can be closed.

Should we close this?