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/4/
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/4": {
            "rdf:type": {
                "$": "dcat:Dataset",
                "type": "prov:QUALIFIED_NAME"
            },
            "dcterms:modified": {
                "$": "2024-02-09T15:38:29.345234+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/eea65411916d24f0e34e578a172a7e66efcac145",
            "dcterms:description": "SEIRS output plot",
            "fair:namespace": "ryanjfield",
            "dcterms:title": "SEIRS_model/results/figure/python",
            "dcat:hasVersion": "0.0.1",
            "dcterms:format": "png"
        },
        "reg:api/object/4": {
            "dcterms:modified": {
                "$": "2024-02-09T15:38:07.997629+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/ddcbb77a75b941b56417802bce20f2d9a7f32b26",
            "dcterms:description": "Analysis / processing script location"
        },
        "reg:api/object/3": {
            "dcterms:modified": {
                "$": "2024-02-09T15:36:48.687340+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/10dcfada1135420f3e4dd97b9b8ab4b45fd9ccc6",
            "dcterms:description": "Working config.yaml location in datastore",
            "dcterms:format": "YAML Document"
        },
        "reg:api/object/5": {
            "rdf:type": {
                "$": "dcmitype:Software",
                "type": "prov:QUALIFIED_NAME"
            },
            "dcterms:modified": {
                "$": "2024-02-09T15:38:12.071018+00:00",
                "type": "xsd:dateTime"
            },
            "prov:atLocation": "https://data.fairdatapipeline.org/data/f35c1cd83fbe1a458d71da1aae90ed2e8db2b031",
            "dcterms:description": "Working script location in datastore",
            "dcterms:format": "Bash Shell Script"
        },
        "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/4",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "prov:QUALIFIED_NAME"
            }
        },
        "_:id4": {
            "prov:entity": "reg:api/object/4",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "prov:QUALIFIED_NAME"
            }
        },
        "_:id6": {
            "prov:entity": "reg:api/object/3",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "prov:QUALIFIED_NAME"
            }
        },
        "_:id8": {
            "prov:entity": "reg:api/object/5",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "prov:QUALIFIED_NAME"
            }
        },
        "_:id11": {
            "prov:entity": "reg:api/data_product/1",
            "prov:agent": "reg:api/author/1",
            "prov:role": {
                "$": "dcterms:creator",
                "type": "prov:QUALIFIED_NAME"
            }
        }
    },
    "activity": {
        "reg:api/code_run/1": {
            "prov:startTime": "2024-02-09T15:35:42.655339+00:00",
            "rdf:type": {
                "$": "fair:Run",
                "type": "prov:QUALIFIED_NAME"
            },
            "dcterms:description": "SEIRS Model python"
        }
    },
    "wasGeneratedBy": {
        "_:id2": {
            "prov:entity": "reg:api/data_product/4",
            "prov:activity": "reg:api/code_run/1"
        }
    },
    "wasStartedBy": {
        "_:id3": {
            "prov:activity": "reg:api/code_run/1",
            "prov:trigger": "reg:api/author/1",
            "prov:time": "2024-02-09T15:35:42.655339+00:00",
            "prov:role": {
                "$": "fair:code_runner",
                "type": "prov:QUALIFIED_NAME"
            }
        }
    },
    "used": {
        "_:id5": {
            "prov:activity": "reg:api/code_run/1",
            "prov:entity": "reg:api/object/4",
            "prov:role": {
                "$": "fair:software",
                "type": "prov:QUALIFIED_NAME"
            }
        },
        "_:id7": {
            "prov:activity": "reg:api/code_run/1",
            "prov:entity": "reg:api/object/3",
            "prov:role": {
                "$": "fair:model_configuration",
                "type": "prov:QUALIFIED_NAME"
            }
        },
        "_:id9": {
            "prov:activity": "reg:api/code_run/1",
            "prov:entity": "reg:api/object/5",
            "prov:role": {
                "$": "fair:submission_script",
                "type": "prov:QUALIFIED_NAME"
            }
        },
        "_:id12": {
            "prov:activity": "reg:api/code_run/1",
            "prov:entity": "reg:api/data_product/1",
            "prov:role": {
                "$": "fair:input_data",
                "type": "prov:QUALIFIED_NAME"
            }
        }
    },
    "specializationOf": {
        "_:id10": {
            "prov:specificEntity": "reg:api/external_object/1",
            "prov:generalEntity": "reg:api/data_product/1"
        }
    },
    "wasDerivedFrom": {
        "_:id13": {
            "prov:generatedEntity": "reg:api/data_product/4",
            "prov:usedEntity": "reg:api/data_product/1"
        }
    }
}