{
	"prefix": {
		"prov": "http://www.w3.org/ns/prov#",
		"rdt": "https://github.com/End-to-end-provenance/ExtendedProvJson/blob/master/JSON-format.md"
	},

	"agent" : {
		"rdt:a1": {
			"rdt:tool.name": "rdtLite",
			"rdt:tool.version": "1.2.1",
			"rdt:json.version": "2.3",
			"rdt:args.names": [
				"overwrite",
				"details",
				"snapshot.size",
				"save.debug"
			],
			"rdt:args.values": [
				"TRUE",
				"TRUE",
				"0",
				"FALSE"
			],
			"rdt:args.types": [
				"logical",
				"logical",
				"numeric",
				"logical"
			]
		}
	},

	"activity" : {
		"rdt:p1": {
			"rdt:name": "view.R",
			"rdt:type": "Start",
			"rdt:elapsedTime": "1.39",
			"rdt:scriptNum": 1,
			"rdt:startLine": "NA",
			"rdt:startCol": "NA",
			"rdt:endLine": "NA",
			"rdt:endCol": "NA"
		},
		"rdt:p2": {
			"rdt:name": "library(rdtLite)",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.19",
			"rdt:scriptNum": 1,
			"rdt:startLine": 1,
			"rdt:startCol": 1,
			"rdt:endLine": 1,
			"rdt:endCol": 16
		},
		"rdt:p3": {
			"rdt:name": "m <- matrix(1:100, 10)",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.14",
			"rdt:scriptNum": 1,
			"rdt:startLine": 3,
			"rdt:startCol": 1,
			"rdt:endLine": 3,
			"rdt:endCol": 22
		},
		"rdt:p4": {
			"rdt:name": "s <- \"this is a string\"",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.11",
			"rdt:scriptNum": 1,
			"rdt:startLine": 4,
			"rdt:startCol": 1,
			"rdt:endLine": 4,
			"rdt:endCol": 23
		},
		"rdt:p5": {
			"rdt:name": "source_plot.R",
			"rdt:type": "Start",
			"rdt:elapsedTime": "0.03",
			"rdt:scriptNum": 1,
			"rdt:startLine": "NA",
			"rdt:startCol": "NA",
			"rdt:endLine": "NA",
			"rdt:endCol": "NA"
		},
		"rdt:p6": {
			"rdt:name": "pdf(\"plot.pdf\")",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.16",
			"rdt:scriptNum": 2,
			"rdt:startLine": 1,
			"rdt:startCol": 1,
			"rdt:endLine": 1,
			"rdt:endCol": 15
		},
		"rdt:p7": {
			"rdt:name": "plot(c(1:10), c(11:20))",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.11",
			"rdt:scriptNum": 2,
			"rdt:startLine": 2,
			"rdt:startCol": 1,
			"rdt:endLine": 2,
			"rdt:endCol": 23
		},
		"rdt:p8": {
			"rdt:name": "title(\"plot to pdf\")",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.09",
			"rdt:scriptNum": 2,
			"rdt:startLine": 3,
			"rdt:startCol": 1,
			"rdt:endLine": 3,
			"rdt:endCol": 20
		},
		"rdt:p9": {
			"rdt:name": "dev.off()",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.11",
			"rdt:scriptNum": 2,
			"rdt:startLine": 4,
			"rdt:startCol": 1,
			"rdt:endLine": 4,
			"rdt:endCol": 9
		},
		"rdt:p10": {
			"rdt:name": "source_plot.R",
			"rdt:type": "Finish",
			"rdt:elapsedTime": "0.03",
			"rdt:scriptNum": 1,
			"rdt:startLine": "NA",
			"rdt:startCol": "NA",
			"rdt:endLine": "NA",
			"rdt:endCol": "NA"
		},
		"rdt:p11": {
			"rdt:name": "view.R",
			"rdt:type": "Finish",
			"rdt:elapsedTime": "0.07",
			"rdt:scriptNum": 1,
			"rdt:startLine": "NA",
			"rdt:startCol": "NA",
			"rdt:endLine": "NA",
			"rdt:endCol": "NA"
		}
	},

	"entity" : {
		"rdt:d1": {
			"rdt:name": "m",
			"rdt:value": " [1,]\t1   11   21   31   41   51   61   71   81\t91",
			"rdt:valType": "{\"container\":\"matrix\", \"dimension\":[10,10], \"type\":[\"integer\"]}",
			"rdt:type": "Data",
			"rdt:scope": "R_GlobalEnv",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d2": {
			"rdt:name": "s",
			"rdt:value": "\"this is a string\"",
			"rdt:valType": "{\"container\":\"vector\", \"dimension\":[1], \"type\":[\"character\"]}",
			"rdt:type": "Data",
			"rdt:scope": "R_GlobalEnv",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d3": {
			"rdt:name": "dev.2",
			"rdt:value": "",
			"rdt:valType": "Device",
			"rdt:type": "Device",
			"rdt:scope": "undefined",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d4": {
			"rdt:name": "dev.2",
			"rdt:value": "",
			"rdt:valType": "Device",
			"rdt:type": "Device",
			"rdt:scope": "undefined",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d5": {
			"rdt:name": "dev.2",
			"rdt:value": "",
			"rdt:valType": "Device",
			"rdt:type": "Device",
			"rdt:scope": "undefined",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d6": {
			"rdt:name": "plot.pdf",
			"rdt:value": "data/6-plot.pdf",
			"rdt:valType": "{\"container\":\"vector\", \"dimension\":[1], \"type\":[\"character\"]}",
			"rdt:type": "File",
			"rdt:scope": "undefined",
			"rdt:fromEnv": false,
			"rdt:hash": "900811e184315562f407b177ea6d32c9",
			"rdt:timestamp": "2020-05-31T10.07.38EDT",
			"rdt:location": "C:/Users/fong22e/Documents/HarvardForest/provDebugR_cran/inst/plot.pdf"
		},

		"rdt:environment": {
			"rdt:name": "environment",
			"rdt:architecture": "x86_64",
			"rdt:operatingSystem": "mingw32",
			"rdt:language": "R",
			"rdt:langVersion": "R version 3.6.3 (2020-02-29)",
			"rdt:script": "C:/Users/fong22e/Documents/HarvardForest/provDebugR_cran/inst/testscripts/view.R",
			"rdt:scriptTimeStamp": "2020-05-30T18.19.08EDT",
			"rdt:totalElapsedTime": "2.43",
			"rdt:sourcedScripts": "C:/Users/fong22e/Documents/HarvardForest/provDebugR_cran/inst/testscripts/source_plot.R",
			"rdt:sourcedScriptTimeStamps": "2020-05-30T18.14.47EDT",
			"rdt:workingDirectory": "C:/Users/fong22e/Documents/HarvardForest/provDebugR_cran/inst",
			"rdt:provDirectory": "C:\\Users\\fong22e\\Documents\\HarvardForest\\provDebugR_cran\\inst\\testdata/prov_view",
			"rdt:provTimestamp": "2020-05-31T10.07.35EDT",
			"rdt:hashAlgorithm": "md5"
		},

		"rdt:l1": {
			"name": "base",
			"version": "3.6.3",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l2": {
			"name": "datasets",
			"version": "3.6.3",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l3": {
			"name": "ggplot2",
			"version": "3.2.1",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l4": {
			"name": "graphics",
			"version": "3.6.3",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l5": {
			"name": "grDevices",
			"version": "3.6.3",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l6": {
			"name": "methods",
			"version": "3.6.3",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l7": {
			"name": "rdtLite",
			"version": "1.2.1",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l8": {
			"name": "stats",
			"version": "3.6.3",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l9": {
			"name": "utils",
			"version": "3.6.3",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},

		"rdt:f1": {
			"name": "pdf"
		},
		"rdt:f2": {
			"name": "plot"
		},
		"rdt:f3": {
			"name": "title"
		},
		"rdt:f4": {
			"name": "dev.off"
		}
	},

	"wasInformedBy" : {
		"rdt:pp1": {
			"prov:informant": "rdt:p1",
			"prov:informed": "rdt:p2"
		},
		"rdt:pp2": {
			"prov:informant": "rdt:p2",
			"prov:informed": "rdt:p3"
		},
		"rdt:pp3": {
			"prov:informant": "rdt:p3",
			"prov:informed": "rdt:p4"
		},
		"rdt:pp4": {
			"prov:informant": "rdt:p4",
			"prov:informed": "rdt:p5"
		},
		"rdt:pp5": {
			"prov:informant": "rdt:p5",
			"prov:informed": "rdt:p6"
		},
		"rdt:pp6": {
			"prov:informant": "rdt:p6",
			"prov:informed": "rdt:p7"
		},
		"rdt:pp7": {
			"prov:informant": "rdt:p7",
			"prov:informed": "rdt:p8"
		},
		"rdt:pp8": {
			"prov:informant": "rdt:p8",
			"prov:informed": "rdt:p9"
		},
		"rdt:pp9": {
			"prov:informant": "rdt:p9",
			"prov:informed": "rdt:p10"
		},
		"rdt:pp10": {
			"prov:informant": "rdt:p10",
			"prov:informed": "rdt:p11"
		}
	},

	"wasGeneratedBy" : {
		"rdt:pd1": {
			"prov:activity": "rdt:p3",
			"prov:entity": "rdt:d1"
		},
		"rdt:pd2": {
			"prov:activity": "rdt:p4",
			"prov:entity": "rdt:d2"
		},
		"rdt:pd3": {
			"prov:activity": "rdt:p6",
			"prov:entity": "rdt:d3"
		},
		"rdt:pd4": {
			"prov:activity": "rdt:p7",
			"prov:entity": "rdt:d4"
		},
		"rdt:pd5": {
			"prov:activity": "rdt:p8",
			"prov:entity": "rdt:d5"
		},
		"rdt:pd6": {
			"prov:activity": "rdt:p9",
			"prov:entity": "rdt:d6"
		}
	},

	"used" : {
		"rdt:dp1": {
			"prov:entity": "rdt:d3",
			"prov:activity": "rdt:p7"
		},
		"rdt:dp2": {
			"prov:entity": "rdt:d4",
			"prov:activity": "rdt:p8"
		},
		"rdt:dp3": {
			"prov:entity": "rdt:d5",
			"prov:activity": "rdt:p9"
		},

		"rdt:fp1": {
			"prov:entity": "rdt:f1",
			"prov:activity": "rdt:p6"
		},
		"rdt:fp2": {
			"prov:entity": "rdt:f2",
			"prov:activity": "rdt:p7"
		},
		"rdt:fp3": {
			"prov:entity": "rdt:f3",
			"prov:activity": "rdt:p8"
		},
		"rdt:fp4": {
			"prov:entity": "rdt:f4",
			"prov:activity": "rdt:p9"
		}
	},

	"hadMember" : {
		"rdt:m1": {
			"prov:collection": "rdt:l4",
			"prov:entity": "rdt:f2"
		},
		"rdt:m2": {
			"prov:collection": "rdt:l4",
			"prov:entity": "rdt:f3"
		},
		"rdt:m3": {
			"prov:collection": "rdt:l5",
			"prov:entity": "rdt:f1"
		},
		"rdt:m4": {
			"prov:collection": "rdt:l5",
			"prov:entity": "rdt:f4"
		}
	}
}
