From 492185886faaa743d690b4b4dd8453d1a1612f5c Mon Sep 17 00:00:00 2001 From: cedricdcc <30471340+cedricdcc@users.noreply.github.com> Date: Wed, 20 Nov 2024 15:55:19 +0100 Subject: [PATCH] Fix metadata.ttl to correctly define rdf:type with multiple classes and adjust homepage property --- pysubyt/templates/metadata.ttl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pysubyt/templates/metadata.ttl b/pysubyt/templates/metadata.ttl index 1eccdee..bb26dbb 100644 --- a/pysubyt/templates/metadata.ttl +++ b/pysubyt/templates/metadata.ttl @@ -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}}>, @@ -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']%}