Skip to content

Commit

Permalink
switched validation library to https://github.com/rdf-ext/shacl-engine
Browse files Browse the repository at this point in the history
  • Loading branch information
s-tittel committed Aug 6, 2024
1 parent 9f7ef3b commit 4a0787e
Show file tree
Hide file tree
Showing 5 changed files with 3,574 additions and 492 deletions.
8 changes: 4 additions & 4 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>&lt;shacl-form&gt; demo</title>
<link rel="stylesheet" href="./style.css">
<!-- "@ulb-darmstadt/shacl-form": "https://cdn.jsdelivr.net/npm/@ulb-darmstadt/[email protected].2/dist/" -->
<!-- "@ulb-darmstadt/shacl-form": "https://cdn.jsdelivr.net/npm/@ulb-darmstadt/[email protected].3/dist/" -->
<!-- "@ulb-darmstadt/shacl-form": "./" -->
<script type="importmap">
{
"imports": {
"@ulb-darmstadt/shacl-form/": "https://cdn.jsdelivr.net/npm/@ulb-darmstadt/[email protected].2/dist/"
"@ulb-darmstadt/shacl-form/": "https://cdn.jsdelivr.net/npm/@ulb-darmstadt/[email protected].3/dist/"
}
}
</script>
Expand Down Expand Up @@ -216,8 +216,8 @@ <h1>&lt;shacl-form&gt; demo</h1>
`
}
})
const shapesTTL = await fetch("complex-example.ttl").then(resp => resp.text())
const dataTTL = await fetch("complex-example-data.ttl").then(resp => resp.text())
const shapesTTL = await fetch("complex-example-thing.ttl").then(resp => resp.text())
const dataTTL = await fetch("complex-example-thing-data.ttl").then(resp => resp.text())
shapes.innerText = shapesTTL
data.innerText = dataTTL
form.dataset['shapes'] = shapesTTL
Expand Down
Loading

0 comments on commit 4a0787e

Please sign in to comment.