{
	"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.1.1",
			"rdt:json.version": "2.3",
			"rdt:args.names": [
				"overwrite",
				"details",
				"snapshot.size",
				"save.debug"
			],
			"rdt:args.values": [
				"TRUE",
				"TRUE",
				"10",
				"FALSE"
			],
			"rdt:args.types": [
				"logical",
				"logical",
				"numeric",
				"logical"
			]
		}
	},

	"activity" : {
		"rdt:p1": {
			"rdt:name": "prov2.R",
			"rdt:type": "Start",
			"rdt:elapsedTime": "0.8",
			"rdt:scriptNum": "NA",
			"rdt:startLine": "NA",
			"rdt:startCol": "NA",
			"rdt:endLine": "NA",
			"rdt:endCol": "NA"
		},
		"rdt:p2": {
			"rdt:name": "fun <- function(a,b){\n  return(a+b)\n}",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.12",
			"rdt:scriptNum": 1,
			"rdt:startLine": 3,
			"rdt:startCol": 1,
			"rdt:endLine": 5,
			"rdt:endCol": 1
		},
		"rdt:p3": {
			"rdt:name": "x <- 6",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.11",
			"rdt:scriptNum": 1,
			"rdt:startLine": 7,
			"rdt:startCol": 1,
			"rdt:endLine": 7,
			"rdt:endCol": 6
		},
		"rdt:p4": {
			"rdt:name": "y <- 10",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.08",
			"rdt:scriptNum": 1,
			"rdt:startLine": 8,
			"rdt:startCol": 1,
			"rdt:endLine": 8,
			"rdt:endCol": 7
		},
		"rdt:p5": {
			"rdt:name": "z <- fun(x,y)",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.08",
			"rdt:scriptNum": 1,
			"rdt:startLine": 9,
			"rdt:startCol": 1,
			"rdt:endLine": 9,
			"rdt:endCol": 13
		},
		"rdt:p6": {
			"rdt:name": "source(\"source1.r\")",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.15",
			"rdt:scriptNum": 1,
			"rdt:startLine": 12,
			"rdt:startCol": 1,
			"rdt:endLine": 12,
			"rdt:endCol": 19
		},
		"rdt:p7": {
			"rdt:name": "v <- fun(w,z)",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.08",
			"rdt:scriptNum": 1,
			"rdt:startLine": 15,
			"rdt:startCol": 1,
			"rdt:endLine": 15,
			"rdt:endCol": 13
		},
		"rdt:p8": {
			"rdt:name": "source(\"source3.r\")",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.1",
			"rdt:scriptNum": 1,
			"rdt:startLine": 18,
			"rdt:startCol": 1,
			"rdt:endLine": 18,
			"rdt:endCol": 19
		},
		"rdt:p9": {
			"rdt:name": "source(\"source4.r\")",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.07",
			"rdt:scriptNum": 1,
			"rdt:startLine": 21,
			"rdt:startCol": 1,
			"rdt:endLine": 21,
			"rdt:endCol": 19
		},
		"rdt:p10": {
			"rdt:name": "m <- 10",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.08",
			"rdt:scriptNum": 1,
			"rdt:startLine": 28,
			"rdt:startCol": 1,
			"rdt:endLine": 28,
			"rdt:endCol": 7
		},
		"rdt:p11": {
			"rdt:name": "f(m)",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.08",
			"rdt:scriptNum": 1,
			"rdt:startLine": 29,
			"rdt:startCol": 1,
			"rdt:endLine": 29,
			"rdt:endCol": 4
		},
		"rdt:p12": {
			"rdt:name": "f(x)",
			"rdt:type": "Operation",
			"rdt:elapsedTime": "0.06",
			"rdt:scriptNum": 1,
			"rdt:startLine": 30,
			"rdt:startCol": 1,
			"rdt:endLine": 30,
			"rdt:endCol": 4
		},
		"rdt:p13": {
			"rdt:name": "prov2.R",
			"rdt:type": "Finish",
			"rdt:elapsedTime": "0.03",
			"rdt:scriptNum": "NA",
			"rdt:startLine": "NA",
			"rdt:startCol": "NA",
			"rdt:endLine": "NA",
			"rdt:endCol": "NA"
		}
	},

	"entity" : {
		"rdt:d1": {
			"rdt:name": "fun",
			"rdt:value": "data/1-fun.R",
			"rdt:valType": "function",
			"rdt:type": "Snapshot",
			"rdt:scope": "R_GlobalEnv",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "2019-08-22T20.20.57EDT",
			"rdt:location": ""
		},
		"rdt:d2": {
			"rdt:name": "x",
			"rdt:value": "6",
			"rdt:valType": "{\"container\":\"vector\", \"dimension\":[1], \"type\":[\"numeric\"]}",
			"rdt:type": "Data",
			"rdt:scope": "R_GlobalEnv",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d3": {
			"rdt:name": "y",
			"rdt:value": "10",
			"rdt:valType": "{\"container\":\"vector\", \"dimension\":[1], \"type\":[\"numeric\"]}",
			"rdt:type": "Data",
			"rdt:scope": "R_GlobalEnv",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d4": {
			"rdt:name": "z",
			"rdt:value": "16",
			"rdt:valType": "{\"container\":\"vector\", \"dimension\":[1], \"type\":[\"numeric\"]}",
			"rdt:type": "Data",
			"rdt:scope": "R_GlobalEnv",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d5": {
			"rdt:name": "v",
			"rdt:value": "32",
			"rdt:valType": "{\"container\":\"vector\", \"dimension\":[1], \"type\":[\"numeric\"]}",
			"rdt:type": "Data",
			"rdt:scope": "R_GlobalEnv",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},
		"rdt:d6": {
			"rdt:name": "m",
			"rdt:value": "10",
			"rdt:valType": "{\"container\":\"vector\", \"dimension\":[1], \"type\":[\"numeric\"]}",
			"rdt:type": "Data",
			"rdt:scope": "R_GlobalEnv",
			"rdt:fromEnv": false,
			"rdt:hash": "",
			"rdt:timestamp": "",
			"rdt:location": ""
		},

		"rdt:environment": {
			"rdt:name": "environment",
			"rdt:architecture": "x86_64",
			"rdt:operatingSystem": "mingw32",
			"rdt:language": "R",
			"rdt:langVersion": "R version 3.6.1 (2019-07-05)",
			"rdt:script": "C:/Users/fong22e/Documents/HarvardForest/provParseR_runArgs/inst/testscripts/prov2.R",
			"rdt:scriptTimeStamp": "2019-08-22T13.49.06EDT",
			"rdt:totalElapsedTime": "1.84",
			"rdt:sourcedScripts": [
				"C:/Users/fong22e/Documents/HarvardForest/provParseR_runArgs/inst/testscripts/source1.r",
				"C:/Users/fong22e/Documents/HarvardForest/provParseR_runArgs/inst/testscripts/source2.r",
				"C:/Users/fong22e/Documents/HarvardForest/provParseR_runArgs/inst/testscripts/source3.r",
				"C:/Users/fong22e/Documents/HarvardForest/provParseR_runArgs/inst/testscripts/source4.r"
			],
			"rdt:sourcedScriptTimeStamps": [
				"2019-08-22T13.49.06EDT",
				"2019-08-22T13.49.06EDT",
				"2019-08-22T13.49.06EDT",
				"2019-08-22T13.49.06EDT"
			],
			"rdt:workingDirectory": "C:/Users/fong22e/Documents/HarvardForest/provParseR_runArgs/inst/testscripts",
			"rdt:provDirectory": "C:/Users/fong22e/Documents/HarvardForest/provParseR_runArgs/inst/testscripts/prov_prov2",
			"rdt:provTimestamp": "2019-08-22T20.20.56EDT",
			"rdt:hashAlgorithm": "md5"
		},

		"rdt:l1": {
			"name": "base",
			"version": "3.6.1",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l2": {
			"name": "datasets",
			"version": "3.6.1",
			"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.1",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l5": {
			"name": "grDevices",
			"version": "3.6.1",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l6": {
			"name": "methods",
			"version": "3.6.1",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l7": {
			"name": "stats",
			"version": "3.6.1",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		},
		"rdt:l8": {
			"name": "utils",
			"version": "3.6.1",
			"prov:type": {
				"$": "prov:Collection",
				"type": "xsd:QName"
			}
		}
	},

	"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"
		},
		"rdt:pp11": {
			"prov:informant": "rdt:p11",
			"prov:informed": "rdt:p12"
		},
		"rdt:pp12": {
			"prov:informant": "rdt:p12",
			"prov:informed": "rdt:p13"
		}
	},

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

	"used" : {
		"rdt:dp1": {
			"prov:entity": "rdt:d1",
			"prov:activity": "rdt:p5"
		},
		"rdt:dp2": {
			"prov:entity": "rdt:d2",
			"prov:activity": "rdt:p5"
		},
		"rdt:dp3": {
			"prov:entity": "rdt:d3",
			"prov:activity": "rdt:p5"
		},
		"rdt:dp4": {
			"prov:entity": "rdt:d1",
			"prov:activity": "rdt:p7"
		},
		"rdt:dp5": {
			"prov:entity": "rdt:d4",
			"prov:activity": "rdt:p7"
		},
		"rdt:dp6": {
			"prov:entity": "rdt:d6",
			"prov:activity": "rdt:p11"
		},
		"rdt:dp7": {
			"prov:entity": "rdt:d2",
			"prov:activity": "rdt:p12"
		}
	}
}
