Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
telsaleh authored Apr 18, 2024
1 parent 5297ef9 commit ee867d3
Show file tree
Hide file tree
Showing 8 changed files with 10,610 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Turn off MultiViews
Options -MultiViews

# Directive to ensure *.rdf files served as appropriate content type,
# if not present in main apache config
AddType application/rdf+xml .rdf
AddType application/rdf+xml .owl
AddType text/turtle .ttl
AddType application/n-triples .n3
AddType application/ld+json .jsonld
# Rewrite engine setup
RewriteEngine On
#Change the path to the folder here
RewriteBase /myDocumentation

# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested
# Placed before HTML to support serving JSON-LD from a browser (e.g., JSON Playground)
RewriteCond %{HTTP_ACCEPT} application/ld\+json
RewriteRule ^$ ontology.jsonld [R=303,L]

# Rewrite rule to serve HTML content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^$ index-en.html [R=303,L]

# Rewrite rule to serve RDF/XML content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^$ ontology.owl [R=303,L]

# Rewrite rule to serve N-Triples content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} application/n-triples
RewriteRule ^$ ontology.nt [R=303,L]

# Rewrite rule to serve TTL content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} text/turtle [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/turtle
RewriteRule ^$ ontology.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} .+
RewriteRule ^$ 406.html [R=406,L]
# Default response
# ---------------------------
# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default
RewriteRule ^$ ontology.owl [R=303,L]
10 changes: 10 additions & 0 deletions 406.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>406 Not Acceptable</title>
</head>
<body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource could not be found on this server.</p>
Available variants:<ul><li><a href="index-en.html">html</a></li><li><a href="ontology.jsonld">JSON-LD</a></li><li><a href="ontology.owl">RDF/XML</a></li><li><a href="ontology.nt">N-Triples</a></li><li><a href="ontology.ttl">TTL</a></li></ul>

</body></html>
109 changes: 109 additions & 0 deletions index-en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<!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":"Wed Apr 17 11:07:54 BST 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>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>
Loading

0 comments on commit ee867d3

Please sign in to comment.