yaz/commit
FIX
author | Michiel Hildebrand |
---|---|
Tue Dec 20 14:35:32 2011 +0100 | |
committer | Michiel Hildebrand |
Tue Dec 20 14:35:32 2011 +0100 | |
commit | 1fb5d13edf069676df37803c351aef30a4db6a3e |
tree | 187f1c38c402f8dee1510d7a5da6687b7c8d58ae |
parent | 5176d18f27db11cda169949b13a8fe4ce9051b96 |
Diff style: patch stat
diff --git a/api/ugm_ingest.pl b/api/ugm_ingest.pl index 8810755..516de51 100644 --- a/api/ugm_ingest.pl +++ b/api/ugm_ingest.pl @@ -20,6 +20,8 @@ :- debug(ugm_ingest). :- debug(stream_download). +:- rdf_meta + rdf_cond_assert(r,r,o,+). %% local_video_file(+StreamURL, -File) % @@ -37,7 +39,8 @@ local_video_file(URL, File) :- http_api_ugm_ingest(Request) :- http_parameters(Request, [ videoURL(VideoURL, - [description('URL of the video')]), + [uri, + description('URL of the video')]), videoId(VideoId, [optional(true), description('Identifier of the video')]), @@ -105,9 +108,6 @@ import_video(URL, Id, Stream, Title, Desc, Duration0, Slug) :- rdf_cond_assert(URL, pprime:slug, literal(Slug), URL), rdf_cond_assert(URL, pprime:ingestedAt, literal(Now), URL). -:- rdf_meta - rdf_cond_assert(r,r,o,+). - rdf_cond_assert(S,P,O,G) :- ground(O), !,