Skip to content

Commit 4921858

Browse files
committed
Fix metadata.ttl to correctly define rdf:type with multiple classes and adjust homepage property
1 parent 3216c0f commit 4921858

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pysubyt/templates/metadata.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
{% endfor %}
1919

2020
{% for maindata in sets['main'] -%}
21-
<{{base_uri}}> rdf:type foaf:Project dcat:Catalog ;
21+
<{{base_uri}}> rdf:type foaf:Project, dcat:Catalog ;
2222
dc:title "{{maindata.long_name}}" ;
2323
foaf:name "{{maindata.name_site}}" ;
2424
dc:description "{{maindata.description}}" ;
2525
foaf:logo <{{maindata.logo}}> ;
2626
schema:mainEntityOfPage <{{base_uri}}> ;
27-
foas:homepage <{{base_uri}}> ;
27+
foaf:homepage <{{base_uri}}> ;
2828
dcat:dataset
2929
{% for profile in sets['project_profile'] -%}
3030
<{{profile.url}}>,
@@ -37,7 +37,7 @@
3737
{% else -%}
3838
<{{base_uri}}{{crate.lodurl}}>{% if not crate == sets['project_crate']|list|last %},{% endif %}
3939
{% endif -%}
40-
{% endfor -%}
40+
{% endfor -%};
4141

4242

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

0 commit comments

Comments
 (0)