Skip to content

Commit a4a3113

Browse files
author
red-ship-it
committed
Minor change after validation of case output
1 parent d872b6c commit a4a3113

File tree

2 files changed

+219
-207
lines changed

2 files changed

+219
-207
lines changed

exifread_case/exifread_case.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ def n_cyber_object_to_node(graph):
8989
NS_RDF.type,
9090
NS_UCO_OBSERVABLE.ObservableObject
9191
))
92+
graph.add((
93+
cyber_object_facet,
94+
NS_UCO_OBSERVABLE.hasChanged,
95+
rdflib.Literal(False)
96+
))
9297
graph.add((
9398
cyber_object_facet,
9499
NS_UCO_CORE.hasFacet,
@@ -270,6 +275,11 @@ def controlled_dictionary_object_to_node(graph, controlled_dict, n_exif_facet):
270275
NS_UCO_OBSERVABLE.exifData,
271276
n_controlled_dictionary
272277
))
278+
graph.add((
279+
n_controlled_dictionary,
280+
NS_RDF.type,
281+
NS_UCO_TYPES.ControlledDictionary
282+
))
273283
for key in sorted(controlled_dict.keys()):
274284
v_value = controlled_dict[key]
275285
v_value = rdflib.Literal(v_value)

0 commit comments

Comments
 (0)