Commit 7accf74a authored by ALVISET's avatar ALVISET
Browse files

Added softwares URIs

parent bda471a5
......@@ -359,6 +359,7 @@ if __name__ == "__main__":
print("DAC: {}".format(dac))
a = 1
dmqc_ops = {}
softwares = {}
for afloat in floats_folders:
if args.float != None:
......@@ -529,7 +530,10 @@ if __name__ == "__main__":
for datastate in group["datastate"]:
argo_graph.add_triple(group["uri"], ARGO.dataState, (NERC, "R06/current/", datastate))
for software in group["softwares"]:
argo_graph.add_triple(group["uri"], PROV.software, Literal(software))
if software not in softwares.keys():
softwares[software] = ARGO[software]
argo_graph.add_triple(ARGO[software], RDF.type, DCTERMS.Software)
argo_graph.add_triple(group["uri"], ARGO.software, softwares[software])
for param in group["paramsqc"].keys():
duo = "{};{}".format(param,group["paramsqc"][param])
if duo not in adjusted_Params.keys():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment