Skip to content

Commit

Permalink
Fix metadata.ttl to correctly define rdf:type with multiple classes a…
Browse files Browse the repository at this point in the history
…nd adjust homepage property
  • Loading branch information
cedricdcc committed Nov 20, 2024
1 parent 3216c0f commit 4921858
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pysubyt/templates/metadata.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
{% endfor %}

{% for maindata in sets['main'] -%}
<{{base_uri}}> rdf:type foaf:Project dcat:Catalog ;
<{{base_uri}}> rdf:type foaf:Project, dcat:Catalog ;
dc:title "{{maindata.long_name}}" ;
foaf:name "{{maindata.name_site}}" ;
dc:description "{{maindata.description}}" ;
foaf:logo <{{maindata.logo}}> ;
schema:mainEntityOfPage <{{base_uri}}> ;
foas:homepage <{{base_uri}}> ;
foaf:homepage <{{base_uri}}> ;
dcat:dataset
{% for profile in sets['project_profile'] -%}
<{{profile.url}}>,
Expand All @@ -37,7 +37,7 @@
{% else -%}
<{{base_uri}}{{crate.lodurl}}>{% if not crate == sets['project_crate']|list|last %},{% endif %}
{% endif -%}
{% endfor -%}
{% endfor -%};


# {% for publication in sets['publications']%}
Expand Down

0 comments on commit 4921858

Please sign in to comment.