Skip to content

Commit

Permalink
[#348] First go at fixing N3 output
Browse files Browse the repository at this point in the history
Moved the template from old Genshi to Jinja2. Didn't do any actual
changes to the structure of the file as I don't really know what's going
on.
  • Loading branch information
amercader committed Aug 20, 2014
1 parent d59713f commit ab3f06f
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -5,10 +5,10 @@
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<${ h.url_for(controller='package',action='read',id=c.pkg_dict['name'], qualified=True)}>
{{ h.url_for(controller='package',action='read',id=c.pkg_dict['name'], qualified=True) }}
a dcat:Dataset;
dct:description "${c.pkg_dict['notes']}";
dct:identifier "${c.pkg_dict['name']}";
dct:description "{{ c.pkg_dict['notes'] }}";
dct:identifier "{{ c.pkg_dict['name'] }}";
dct:relation [
rdf:value "";
:label "change_note" ],
Expand Down Expand Up @@ -39,7 +39,7 @@ a dcat:Dataset;
[
rdf:value "";
:label "update_frequency" ];
dct:title "${c.pkg_dict['title']}";
:label "${c.pkg_dict['name']}";
= <urn:uuid:${c.pkg_dict['id']}>;
foaf:homepage <http://127.0.0.1:5000/dataset/testt> .
dct:title "{{ c.pkg_dict['title'] }}";
:label "{{ c.pkg_dict['name'] }}";
= <urn:uuid:{{ c.pkg_dict['id'] }}>;
foaf:homepage <http://127.0.0.1:5000/dataset/testt> .

0 comments on commit ab3f06f

Please sign in to comment.