Skip to content

Commit

Permalink
Fixed loading intro in properties files, problem with funders, serial…
Browse files Browse the repository at this point in the history
…izations
  • Loading branch information
dgarijo committed Aug 26, 2023
1 parent f1fa7b4 commit 4de7e4e
Show file tree
Hide file tree
Showing 41 changed files with 44,080 additions and 214 deletions.
176 changes: 176 additions & 0 deletions doc/benchmark/example_test.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
@prefix : <https://w3id.org/example#> .
@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 widoco: <https://w3id.org/widoco/vocab#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@base <https://w3id.org/example> .

<https://w3id.org/example> rdf:type owl:Ontology ;
owl:versionIRI <https://w3id.org/example/1.0.1> ;
<http://purl.org/dc/elements/1.1/abstract> "An example vocabulary designed to illustrate how to publish vocabularies on the Web following the FAIR principles"@en ;
<http://purl.org/dc/elements/1.1/description> "This is an example ontology to illustrate some of the annotations that should be included"@en ;
<http://purl.org/dc/elements/1.1/title> "The example ontology"@en ;
<http://purl.org/dc/terms/created> "February 5th, 2020"@en ;
<http://purl.org/dc/terms/creator> "Maria Poveda-Villalon"@en ;
<http://purl.org/dc/terms/license> <http://creativecommons.org/licenses/by/2.0/> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix> "exo"@en ;
<http://purl.org/vocab/vann/preferredNamespaceUri> "https://w3id.org/example" ;
<http://schema.org/citation> "Cite this vocabulary as: Garijo, D. and Poveda-Villalon, M. The example ontology 1.0.1."@en ;
rdfs:comment "An example vocabulary designed to illustrate how to publish vocabularies on the Web following the FAIR principles. This vocabulary describes three simple classes with 3 properties and a data property."@en ;
owl:backwardCompatibleWith <https://w3id.org/example/1.0.0> ;
owl:priorVersion <https://w3id.org/example/1.0.0> ;
<http://purl.org/dc/terms/source> <https://w3id.org/source1>, <https://w3id.org/source2> ;
rdfs:seeAlso "https://URL1.com" ;
<http://xmlns.com/foaf/0.1/fundedBy> "https://ORG.com";
<http://schema.org/funding> <https://example.org/GRANT1>;
widoco:introduction "A paragraph with the introduction section of the documentation about your resource"@en ;
widoco:rdfxmlSerialization "https://example.org/serialization/ontology.xml"^^xsd:anyURI ;
owl:versionInfo "1.0.1"@en .

#################################################################
# Annotation properties
#################################################################

### http://purl.org/dc/elements/1.1/abstract
<http://purl.org/dc/elements/1.1/abstract> rdf:type owl:AnnotationProperty .


### http://purl.org/dc/elements/1.1/created
<http://purl.org/dc/elements/1.1/created> rdf:type owl:AnnotationProperty .


### http://purl.org/dc/elements/1.1/description
<http://purl.org/dc/elements/1.1/description> rdf:type owl:AnnotationProperty .


### http://purl.org/dc/elements/1.1/publisher
<http://purl.org/dc/elements/1.1/publisher> rdf:type owl:AnnotationProperty .


### http://purl.org/dc/elements/1.1/title
<http://purl.org/dc/elements/1.1/title> rdf:type owl:AnnotationProperty .


### http://purl.org/dc/terms/created
<http://purl.org/dc/terms/created> rdf:type owl:AnnotationProperty .


### http://purl.org/dc/terms/creator
<http://purl.org/dc/terms/creator> rdf:type owl:AnnotationProperty .


### http://purl.org/dc/terms/license
<http://purl.org/dc/terms/license> rdf:type owl:AnnotationProperty .


### http://purl.org/vocab/vann/example
<http://purl.org/vocab/vann/example> rdf:type owl:AnnotationProperty .


### http://purl.org/vocab/vann/preferredNamespacePrefix
<http://purl.org/vocab/vann/preferredNamespacePrefix> rdf:type owl:AnnotationProperty .


### http://purl.org/vocab/vann/preferredNamespaceUri
<http://purl.org/vocab/vann/preferredNamespaceUri> rdf:type owl:AnnotationProperty .


### http://schema.org/author
<http://schema.org/author> rdf:type owl:AnnotationProperty .


### http://schema.org/citation
<http://schema.org/citation> rdf:type owl:AnnotationProperty .


### http://www.linkedmodel.org/schema/vaem#rationale
<http://www.linkedmodel.org/schema/vaem#rationale> rdf:type owl:AnnotationProperty .


#################################################################
# Datatypes
#################################################################

### http://www.w3.org/2001/XMLSchema#date
xsd:date rdf:type rdfs:Datatype .


#################################################################
# Object Properties
#################################################################

### https://w3id.org/example#hasMember
:hasMember rdf:type owl:ObjectProperty ;
rdfs:domain :Organization ;
rdfs:range :Researcher ;
rdfs:comment "This example property indicates that an Organization has a Researcher as member"@en ;
skos:editorialNote "banana in pajama"@en ;
rdfs:label "has member"@en .


### https://w3id.org/example#hasMentor
:hasMentor rdf:type owl:ObjectProperty ;
rdfs:domain :Student ;
rdfs:range :Researcher ;
rdfs:comment "This property links the students to the researcher who mentored them"@en ;
rdfs:label "has mentor"@en .


### https://w3id.org/example#partOf
:partOf rdf:type owl:ObjectProperty ;
rdfs:domain :Researcher ;
rdfs:range :Organization ;
rdfs:comment "This property links instances from Researcher to Organization"@en ;
rdfs:label "part of"@en .


#################################################################
# Data properties
#################################################################

### https://w3id.org/example#foundedIn
:foundedIn rdf:type owl:DatatypeProperty ;
rdfs:domain :Organization ;
rdfs:range xsd:date ;
skos:editorialNote "banana in pajama data prop"@en ;
rdfs:comment "Date when an organization was founded"@en ;
rdfs:label "founded in"@en .


#################################################################
# Classes
#################################################################

### http://xmlns.com/foaf/0.1/Organization
<http://xmlns.com/foaf/0.1/Organization> rdf:type owl:Class ;
owl:equivalentClass :Organization .


### https://w3id.org/example#Organization
:Organization rdf:type owl:Class ;
<http://purl.org/vocab/vann/example> "University of Southern California"@en ;
rdfs:comment "An organized body of people with a particular purpose, especially a business, society, association, etc."@en ;
skos:editorialNote "SKOS note"@en ;
owl:equivalentClass <http://xmlns.com/foaf/0.1/Organization>;
skos:prefLabel "organization";
rdfs:label "Organization"@en, "org"@fr .


### https://w3id.org/example#Researcher
:Researcher rdf:type owl:Class ;
<http://purl.org/vocab/vann/example> "An example using the Researcher class, e.g., Bob is a professor at the University of Southern California."@en ;
<http://www.linkedmodel.org/schema/vaem#rationale> "The reason why this concept was added to the ontology. This could reflect some agreement or use cases that may need to be reflected here. For example: The concept Researcher was added to the ontology to represent those authors of scientific publications that belong to a public institution."@en ;
rdfs:comment "A definition of your class. For example, A researcher is a person who publishes scientific papers, writes research proposals and mentors students"@en ;
rdfs:label "Researcher"@en .


### https://w3id.org/example#Student
:Student rdf:type owl:Class ;
rdfs:comment "Student is a class introduced in the version 1.0.1 of the ontology. "@en ;
rdfs:label "Student"@en .


### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi
10 changes: 10 additions & 0 deletions doc/vocabulary/1.0.0/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>
107 changes: 107 additions & 0 deletions doc/vocabulary/1.0.0/index-en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!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="icon" type="image/png" href="resources/rdf.icon"/> <title>WIDOCO extra annotations ontology</title>


<!-- SCHEMA.ORG METADATA -->
<script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","url":"https://w3id.org/widoco/vocab#","image":"http://vowl.visualdataweb.org/webvowl/#iri=https://w3id.org/widoco/vocab#","name":"WIDOCO extra annotations ontology", "headline":"Document describing the ontology https://w3id.org/widoco/vocab#", "dateReleased":"August 26th, 2023", "version":"1.0.0", "license":"http://creativecommons.org/licenses/by/2.0/", "author":[{"@type":"Person","name":"Daniel Garijo","url":"https://orcid.org/0000-0003-0454-7145"}]}</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");
$("#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>WIDOCO extra annotations ontology</h1>
<h2>Release: August 26th, 2023</h2>


<dl>
<dt>This version:</dt>
<dd><a href="https://w3id.org/widoco/vocab/1.0.0">https://w3id.org/widoco/vocab/1.0.0</a></dd>
<dt>Latest version:</dt>
<dd><a href="https://w3id.org/widoco/vocab#">https://w3id.org/widoco/vocab#</a></dd>
<dt>Revision:</dt>
<dd>1.0.0</dd>
<dt>Authors:</dt>
<dd><a href="https://orcid.org/0000-0003-0454-7145">Daniel Garijo</a>, (<a href="https://www.upm.es">Universidad Politécnica de Madrid</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="http://creativecommons.org/licenses/by/2.0/" target="_blank"><img src="https://img.shields.io/badge/License-http://creativecommons.org/licenses/by/2.0/-blue.svg" alt="http://creativecommons.org/licenses/by/2.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>Daniel Garijo. WIDOCO extra annotations ontology. Revision: 1.0.0. Retrieved from: https://w3id.org/widoco/vocab/1.0.0</dd>
</dl>

<hr/>
</div>
<div class="status">
<div>
<span>WIDOCO Specification Draft</span>
</div>
</div> <div id="abstract"></div>
<div id="toc"></div> <div id="introduction"></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 4de7e4e

Please sign in to comment.