yaz/commit

UPDATE use URI and label as dc:subject

authorMichiel Hildebrand
Wed Nov 9 10:39:31 2011 +0100
committerMichiel Hildebrand
Wed Nov 9 10:39:31 2011 +0100
commit978786ae4bcd40392ad7b048e6aa53f3180c1b3a
tree4fd0fc0993f58d97e5ebaf58e6bea152552ec40a
parent1c893d2b96655f640737c8d92d1f0e9bdba410d5
Diff style: patch stat
diff --git a/api/edm_export.pl b/api/edm_export.pl
index 31eb9ab..748de17 100644
--- a/api/edm_export.pl
+++ b/api/edm_export.pl
@@ -260,8 +260,9 @@ annotations_to_edm([A|As], Video, Source, Proxy, Triples) :-
 	annotations_to_edm(As, Video, Source, Proxy, Rest).
 
 shot_annotations_to_edm([], _, []).
-shot_annotations_to_edm([concept(_URI,Label,_Type)|Vs], Proxy,
-			[rdf(Proxy,dc:subject,literal(Label))
+shot_annotations_to_edm([concept(URI,Label,_Type)|Vs], Proxy,
+			[rdf(Proxy,dc:subject,literal(Label)),
+			 rdf(Proxy,dc:subject,URI)
 			 %rdf(URI,rdf:type,Type),
 			 %rdf(URI,rdfs:label,Label)
 			 |Rest