Skip to content

Commit

Permalink
GH-221: fix contact name on metawal
Browse files Browse the repository at this point in the history
  • Loading branch information
barthanssens committed Dec 5, 2024
1 parent ad1060f commit dc9f53d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# extra queries to be executed and data to be loaded
metawal/sparql-fix-service.qry
metawal/sparql-fix-source.qry
metawal/sparql-fix-contactname.qry
metawal/data-publ-contact.ttl
metawal/sparql-default-contact.qry
metawal/sparql-default-publisher.qry
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Fix contact name

PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>

DELETE
{ ?contact vcard:organisation-name ?name }
INSERT
{ ?contact vcard:fn ?name }
WHERE
{ ?contact a vcard:Organization .
?contact vcard:org ?org .
?org vcard:organisation-name ?name
}

0 comments on commit dc9f53d

Please sign in to comment.