The provenance report for a DataProduct.

The provenance report can be generated as JSON, JSON-LD, XML or PROV-N. Optionally JPEG and SVG versions of the provenance may be available.

Query parameters:

attributes (optional): A boolean, when True (default) show additional attributes of the objects on the image

aspect_ratio (optional): A float used to define the ratio for the JPEG and SVG images. The default is 0.71, which is equivalent to A4 landscape.

dpi (optional): A float used to define the dpi for the JPEG and SVG images

depth (optional): An integer used to determine how many code runs to include, the default is 1

GET /api/prov-report/1/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "prefix": {
        "reg": "https://data.fairdatapipeline.org/",
        "fair": "https://data.fairdatapipeline.org/vocab/#",
        "dcat": "http://www.w3.org/ns/dcat#",
        "dcmitype": "http://purl.org/dc/dcmitype/",
        "dcterms": "http://purl.org/dc/terms/",
        "foaf": "http://xmlns.com/foaf/spec/#",
        "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    },
    "entity": {
        "reg:api/data_product/1": {
            "rdf:type": {
                "$": "dcat:Dataset",
                "type": "prov:QUALIFIED_NAME"
            },
            "dcterms:modified": {
                "$": "2024-02-09T15:36:29.496785+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/6294a5951677e6b8438cabf55234b7974adeaee3",
            "dcterms:description": "Static parameters of the model",
            "fair:namespace": "PSU",
            "dcterms:title": "SEIRS_model/parameters",
            "dcat:hasVersion": "1.0.0",
            "dcterms:format": "Comma-Separated Values File"
        },
        "reg:api/external_object/1": {
            "rdf:type": {
                "$": "dcat:Dataset",
                "type": "prov:QUALIFIED_NAME"
            },
            "dcterms:title": "Static parameters of the model",
            "dcterms:issued": {
                "$": "2021-09-20T12:00:00+00:00",
                "type": "xsd:dateTime"
            },
            "dcat:hasVersion": "1.0.0",
            "dcterms:identifier": "https://doi.org/10.1038/s41592-020-0856-2"
        }
    },
    "agent": {
        "reg:api/author/1": {
            "rdf:type": {
                "$": "prov:Person",
                "type": "prov:QUALIFIED_NAME"
            },
            "foaf:name": "Ryan J Field",
            "dcterms:identifier": "https://github.com/RyanJField"
        }
    },
    "wasAttributedTo": {
        "_:id1": {
            "prov:entity": "reg:api/data_product/1",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "prov:QUALIFIED_NAME"
            }
        }
    },
    "specializationOf": {
        "_:id2": {
            "prov:specificEntity": "reg:api/external_object/1",
            "prov:generalEntity": "reg:api/data_product/1"
        }
    }
}