Mercurial > hg > mir-rdf-datasets
diff adc2004/adc2004.py @ 2:86aed1f351e3 tip
uriref for adc2004 audio file ids
author | alo <nothing@tehis.net> |
---|---|
date | Wed, 05 Apr 2017 17:51:18 +0100 |
parents | ef28c91b6bc4 |
children |
line wrap: on
line diff
--- a/adc2004/adc2004.py Wed Apr 05 17:18:45 2017 +0100 +++ b/adc2004/adc2004.py Wed Apr 05 17:51:18 2017 +0100 @@ -36,7 +36,7 @@ def convert(self, data, audio_data): self.signal = BNode() - self.file = BNode(audio_data['path'].split("/")[-1]) + self.file = URIRef(audio_data['path'].split("/")[-1]) self.timeline = BNode() self.interval = BNode() duration = audio_data['n_frames'] / audio_data['f_rate']