Skip to content

Error message misleading for text justifications from video documents #39

Description

@gabbard

In our M18 output, we had erroneous text justifications coming from video leaf documents. For example,

_:f483f1633b6124e4eb3ba87c6fd1ab38bb139 a aida:TextJustification ;
    aida:confidence _:f483f1633b6124e4eb3ba87c6fd1ab38bb104 ;
    aida:endOffsetInclusive "19"^^xsd:int ;
    aida:privateData _:ub185bL7719C34,
        _:ub185bL7723C34 ;
    aida:source "IC0019MY4" ;
    aida:sourceDocument "IC0015PZ4" ;
    aida:startOffset "14"^^xsd:int ;
    aida:system <http://www.rpi.edu> .

where IC0019MY4 is a video. However, the error message generated looks like (for a different case):

Missing keyframeid in video provenance IC0015YK5:HC000Q8Q9:(1539,0)-(1646,0) (expecting HC000Q8Q9_\d+, provided HC000Q8Q9) (/home/skr1/AIDA-M18-evaluation-data/task1/_version2_QueryTypeB_GAIA_1_corrected/SPARQL-output/IC0015YK5.ttl/AIDA_TA1_CL_2019_0031.rq.tsv line 3)

The error message is misleading in this case. A better message would be "Missing keyframe ID in provenance found in video document IC0019MY4," since (to us at least) "missing keyframeid in video provenance" implies there was a missing keyframe ID in either a KeyFrameVideoJustification or a ShotVideoJustification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions