-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
2,014 additions
and
470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,34 @@ | ||
# SEDIMARK Marketplace Ontology | ||
About Widoco output | ||
=================== | ||
The purpose of Widoco is to reuse and integrate existing tools for documentation, plus the set of features listed below: | ||
* Separation of the sections of your html page so you can write them independently and replace only those needed. | ||
* Automatic annotation in RDF-a of the html produced. | ||
* Association of a provenance page which includes the history of your vocabulary (W3C PROV-O compliant). | ||
* Metadata extraction from the ontology plus the means to complete it on the fly when generating your ontology. | ||
* Guidelines on the main sections that your document should have and how to complete them. | ||
|
||
## About | ||
The Marketplace Information Model is an RDFS/OWL-ontology covering the fundamental concepts of SEDIMARK needed for the registration of participants and the discovery and exchange of offerings and assets. This model establishes a common framework to ensure interoperability within a SEDIMARK-based Marketplace. | ||
This model is supported by existing proposals by similar initiatives and is built upon well-known ontologies such as Data Catalog vocabulary (DCAT), Open Digital Rights Language (ODRL), Friend Of A Friend (FOAF) or the Dublin Core Terms (DCT). In particular, the model has its foundations in the proposal shared by the International Data Spaces Protocol, to try to be compatible as much compatible as possible with such an initiative. | ||
Widoco will create 3 different folders: | ||
| | ||
|-provenance (a folder including an html and RDF serialization of how the documentation page was created) | ||
|-resources (folder with the different resources) | ||
|-sections (folder with the different sections of the documentation, separated for easy editing. Just edit one and the main page will be updated) | ||
|
||
## Core Concepts | ||
Completing ontology metadata. | ||
=================== | ||
Widoco uses the ontology metadata to update a configuration file. If you complete that configuration file (ended up widoco.conf), the tool will enhance your html with additional details, such as how to cite the document, previous revisions, icons with the licence, etc. | ||
|
||
### Classes | ||
![image](https://github.com/Sedimark/ontology/assets/47256078/00d35702-b7cf-4eef-ad5b-9e2134c0ed26) | ||
Browser issues | ||
========== | ||
The result of executing Widoco is an html file. We have tested it in Mozilla, IE and Chrome, and when the page is stored in a server all the browsers work correctly. If you view the file locally, we recommend you to use Mozilla Firefox (or Internet Explorer, if you must). Google Chrome will not show the contents correctly, as it doesn't allow XMLHttpRequest without HTTP. If you want to view the page locally with Google Chrome you have two possibilities: | ||
|
||
## Properties | ||
![image](https://github.com/Sedimark/ontology/assets/47256078/cacb6d9d-1b8d-422e-a19d-fa35e5faf9bf) | ||
a) Place the file in a server and access it via its URL (for example, put it in dropbox and access through its public url). | ||
|
||
## Instantiation Example: | ||
Offering provided by CVSSP living lab for ehealth monitoring. | ||
b) Execute Chrome with the following commands : | ||
|
||
![image](https://github.com/Sedimark/ontology/assets/47256078/c44db277-2d05-4896-9522-3b344982d8af) | ||
(WIN) chrome.exe --allow-file-access-from-files, | ||
|
||
## SPARQL Query Example: | ||
(OSX) open /Applications/Google\ Chrome.app/ --args --allow-file-access-from-files | ||
|
||
```sparql | ||
prefix sedi: <https://w3id.org/sedimark/ontology#> | ||
prefix owl: <http://www.w3.org/2002/07/owl#> | ||
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
prefix xml: <http://www.w3.org/XML/1998/namespace> | ||
prefix xsd: <http://www.w3.org/2001/XMLSchema#> | ||
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
prefix dcat: <http://www.w3.org/ns/dcat#> | ||
prefix dct: <http://purl.org/dc/terms/> | ||
(UNX) /usr/bin/google-chrome --allow-file-access-from-files | ||
|
||
SELECT * WHERE { | ||
?participant a sedi:Participant . | ||
?participant sedi:hasSelf-Listing ?selflisting . | ||
?selflisting dct:hasPart ?localCat. | ||
?selflisting sedi:hasOffering ?offering . | ||
?offering sedi:hasAsset ?asset . | ||
?asset sedi:hasAssetQuality ?assetquality . | ||
?offering dcat:temporalResolution ?tempRes . | ||
} LIMIT 10 | ||
``` | ||
|
||
### Example Result: | ||
|
||
| participant | selflisting | localCat | offering | asset | assetquality | tempRes | | ||
| --------------------------------------------- | ---------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------- | --------------------------------------------------------------- | ------- | | ||
| https://sedimark.surrey.ac.uk/ecosystem/CVSSP | https://sedimark.surrey.ac.uk/ecosystem/ehealth-living-lab | https://sedimark.surrey.ac.uk/ecosystem/surrey-local-catalogue | https://sedimark.surrey.ac.uk/ecosystem/wearable-offering-001 | https://sedimark.surrey.ac.uk/ecosystem/steps-asset-001 | https://sedimark.surrey.ac.uk/ecosystem/steps-asset-001-quality | P6H | | ||
|
||
## Licence | ||
This is licensed under a Creative Commons Attribution 4.0 International License. | ||
|
||
## Acknowledgement | ||
This work is funded by the European Union under the Horizon Europe framework programme [grant no. 101070074]. | ||
This project is also partly funded by UK Research and Innovation (UKRI) under the UK government’s Horizon Europe funding guarantee [grant no. 10043699]. | ||
Do you have a problem? open an issue at https://github.com/dgarijo/Widoco |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | ||
<link rel="stylesheet" href="resources/primer.css" media="screen"/> | ||
<link rel="stylesheet" href="resources/rec.css" media="screen"/> | ||
<link rel="stylesheet" href="resources/extra.css" media="screen"/> | ||
<link rel="stylesheet" href="resources/owl.css" media="screen"/> | ||
<link rel="stylesheet" href="resources/dark.css" media="(prefers-color-scheme: dark)"/> | ||
<link rel="stylesheet" href="resources/light.css" media="(prefers-color-scheme: light)"/> | ||
<link rel="stylesheet" href="resources/slider.css" media="screen"/> | ||
<meta name="color-scheme" content="dark light"> | ||
<script type="module" src="resources/dark-mode-toggle.mjs"></script><div class="darkmode"> | ||
<dark-mode-toggle class="slider"></dark-mode-toggle> | ||
</div> | ||
<link rel="icon" type="image/png" href="resources/rdf.icon"/> <title>SEDIMARK Marketplace Ontology</title> | ||
|
||
|
||
<!-- SCHEMA.ORG METADATA --> | ||
<script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","url":"https://w3id.org/sedimark/ontology#","image":"http://vowl.visualdataweb.org/webvowl/#iri=https://w3id.org/sedimark/ontology#","name":"SEDIMARK Marketplace Ontology", "headline":"Document describing the ontology https://w3id.org/sedimark/ontology#", "dateReleased":"Tue Apr 23 11:19:46 EEST 2024", "license":"https://creativecommons.org/licenses/by/4.0/"}</script> | ||
|
||
<script src="resources/jquery.js"></script> | ||
<script src="resources/marked.min.js"></script> | ||
<script> | ||
function loadHash() { | ||
jQuery(".markdown").each(function(el){jQuery(this).after(marked.parse(jQuery(this).text())).remove()}); | ||
var hash = location.hash; | ||
if($(hash).offset()!=null){ | ||
$('html, body').animate({scrollTop: $(hash).offset().top}, 0); | ||
} | ||
loadTOC(); | ||
} | ||
function loadTOC(){ | ||
//process toc dynamically | ||
var t='<h2>Table of contents</h2><ul>';i = 1;j=0; | ||
jQuery(".list").each(function(){ | ||
if(jQuery(this).is('h2')){ | ||
if(j>0){ | ||
t+='</ul>'; | ||
j=0; | ||
} | ||
t+= '<li>'+i+'. <a href=#'+ jQuery(this).attr('id')+'>'+ jQuery(this).ignore("span").text()+'</a></li>'; | ||
i++; | ||
} | ||
if(jQuery(this).is('h3')){ | ||
if(j==0){ | ||
t+='<ul>'; | ||
} | ||
j++; | ||
t+= '<li>'+(i-1)+'.'+j+'. '+'<a href=#'+ jQuery(this).attr('id')+'>'+ jQuery(this).ignore("span").text()+'</a></li>'; | ||
} | ||
}); | ||
t+='</ul>'; | ||
$("#toc").html(t); | ||
} | ||
$.fn.ignore = function(sel){ | ||
return this.clone().find(sel||">*").remove().end(); | ||
}; $(function(){ | ||
$("#abstract").load("sections/abstract-en.html"); | ||
$("#introduction").load("sections/introduction-en.html"); | ||
$("#nstable").load("sections/ns-en.html"); | ||
$("#overview").load("sections/overview-en.html"); | ||
$("#description").load("sections/description-en.html"); | ||
$("#references").load("sections/references-en.html"); | ||
$("#crossref").load("sections/crossref-en.html", null, loadHash); | ||
}); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<div class="head"> | ||
<div style="float:right">language <a href="index-en.html"><b>en</b></a> </div> | ||
<h1>SEDIMARK Marketplace Ontology</h1> | ||
<img src="https://sedimark.eu/wp-content/uploads/2023/11/sedimark_logo_512x512.png" width="50/"> | ||
|
||
|
||
<dl> | ||
<dt>Latest version:</dt> | ||
<dd><a href="https://w3id.org/sedimark/ontology#">https://w3id.org/sedimark/ontology#</a></dd> | ||
<dt>Publisher:</dt> | ||
<dd>SEDIMARK - SEcure Decentralised Intelligent Data MARKetplace</dd> | ||
<dt>Download serialization:</dt><dd><span><a href="ontology.jsonld" target="_blank"><img src="https://img.shields.io/badge/Format-JSON_LD-blue.svg" alt="JSON-LD" /></a> </span><span><a href="ontology.owl" target="_blank"><img src="https://img.shields.io/badge/Format-RDF/XML-blue.svg" alt="RDF/XML" /></a> </span><span><a href="ontology.nt" target="_blank"><img src="https://img.shields.io/badge/Format-N_Triples-blue.svg" alt="N-Triples" /></a> </span><span><a href="ontology.ttl" target="_blank"><img src="https://img.shields.io/badge/Format-TTL-blue.svg" alt="TTL" /></a> </span></dd><dt>License:</dt><dd><a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"><img src="https://img.shields.io/badge/License-https://creativecommons.org/licenses/by/4.0/-blue.svg" alt="https://creativecommons.org/licenses/by/4.0/" /></a> | ||
</dd><dt>Visualization:</dt><dd><a href="webvowl/index.html#" target="_blank"><img src="https://img.shields.io/badge/Visualize_with-WebVowl-blue.svg" alt="Visualize with WebVowl" /></a></dd> | ||
<!-- <dt>Evaluation:</dt><dd><a href="OOPSevaluation/oopsEval.html#" target="_blank"><img src="https://img.shields.io/badge/Evaluate_with-OOPS! (OntOlogy Pitfall Scanner!)-blue.svg" alt="Evaluate with OOPS!" /></a></dd> --><dt>Cite as:</dt> | ||
<dd> SEDIMARK Marketplace Ontology.</dd> | ||
</dl> | ||
|
||
<hr/> | ||
</div> | ||
<div class="status"> | ||
<div> | ||
<span>Ontology Specification Draft</span> | ||
</div> | ||
</div> <div id="abstract"></div> | ||
<div id="toc"></div> <div id="introduction"></div> | ||
<div id="nstable"></div> | ||
<div id="overview"></div> | ||
<div id="description"></div> | ||
<div id="crossref"></div> | ||
<div id="references"></div> | ||
<div id="acknowledgments"> | ||
<h2 id="ack" class="list">Acknowledgments <span class="backlink"> back to <a href="#toc">ToC</a></span></h2> | ||
<p> | ||
The authors would like to thank <a href="http://www.essepuntato.it/">Silvio Peroni</a> for developing <a href="http://www.essepuntato.it/lode">LODE</a>, a Live OWL Documentation Environment, which is used for representing the Cross Referencing Section of this document and <a href="https://w3id.org/people/dgarijo">Daniel Garijo</a> for developing <a href="https://github.com/dgarijo/Widoco">Widoco</a>, the program used to create the template used in this documentation.</p> | ||
</div> | ||
|
||
|
||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.