Content

WORK IN PROGRESS Last update:  


Summary

This page presents the DSpace ontology to be integrated in VIVO

DSpace ontology

DSpace.ttl
# baseURI: http://vivoweb.org/ontology/dspace
# imports: http://vivoweb.org/ontology/core
# imports: http://www.w3.org/2004/02/skos/core
# prefix: dspace

@prefix : <http://vivoweb.org/ontology/dspace#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix ns:    <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix scires: <http://vivoweb.org/ontology/scientific-research#> .
@prefix swrlb: <http://www.w3.org/2003/11/swrlb#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ocresd: <http://purl.org/net/OCRe/study_design.owl#> .
@prefix swo:   <http://www.ebi.ac.uk/efo/swo/> .
@prefix geopolitical: <http://aims.fao.org/aos/geopolitical.owl#> .
@prefix cito:  <http://purl.org/spar/cito/> .
@prefix dspace: <http://vivoweb.org/ontology/dspace#> .
@prefix geo:   <http://aims.fao.org/aos/geopolitical.owl#> .
@prefix ocresst: <http://purl.org/net/OCRe/statistics.owl#> .
@prefix terms: <http://purl.org/dc/terms/> .
@prefix crdc-ccrd: <http://purl.org/uqam.ca/vocabulary/crdc_ccrd#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix vivo:  <http://vivoweb.org/ontology/core#> .
@prefix text:  <http://jena.apache.org/text#> .
@prefix event: <http://purl.org/NET/c4dm/event.owl#> .
@prefix vann:  <http://purl.org/vocab/vann/> .
@prefix crdc-ccrd-data: <http://purl.org/uqam.ca/vocabulary/crdc-ccrd/individual#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix c4o:   <http://purl.org/spar/c4o/> .
@prefix study_protocol: <http://purl.org/net/OCRe/study_protocol.owl#> .
@prefix fabio: <http://purl.org/spar/fabio/> .
@prefix swrl:  <http://www.w3.org/2003/11/swrl#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix crdc-data: <http://purl.org/uqam.ca/vocabulary/crdc-ccrd/individual#> .
@prefix vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> .
@prefix skos2: <http://www.w3.org/2008/05/skos#> .
@prefix vitro-public: <http://vitro.mannlib.cornell.edu/ns/vitro/public#> .
@prefix core:  <http://vivoweb.org/ontology/core#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ocresp: <http://purl.org/net/OCRe/study_protocol.owl#> .
@prefix bibo:  <http://purl.org/ontology/bibo/> .
@prefix obo:   <http://purl.obolibrary.org/obo/> .
@prefix sfnc:  <http://vivoweb.org/sparql/function#> .
@prefix statistics: <http://purl.org/net/OCRe/statistics.owl#> .


<http://vivoweb.org/ontology/dspace>
  rdf:type owl:Ontology ;
  owl:imports <http://vivoweb.org/ontology/core> ;
  owl:imports <http://www.w3.org/2004/02/skos/core> ;
  owl:versionInfo "Created by Michel Héon PhD; Université du Québec à Montréal; heon.michel@uqam.ca" ;
.
dspace:Collection
  rdf:type owl:Class ;
  rdfs:label "DSpace Collection"@en ;
  rdfs:subClassOf core:Dataset ;
  skos:prefLabel "Collection" ;
.
dspace:Community
  rdf:type owl:Class ;
  rdfs:label "DSpace Community"@en ;
  rdfs:subClassOf core:Dataset ;
  skos:prefLabel "Community" ;
.
dspace:Item
  rdf:type owl:Class ;
  rdfs:label "DSpace Item"@en ;
  rdfs:subClassOf core:Dataset ;
  skos:prefLabel "Item" ;
.
dspace:Repository
  rdf:type owl:Class ;
  rdfs:label "DSpace Repository"@en ;
  rdfs:subClassOf core:Dataset ;
  skos:prefLabel "Repository" ;
.
dspace:hasBitstream
  rdf:type owl:DatatypeProperty ;
  rdfs:domain dspace:Item ;
  rdfs:label "has bitstream" ;
  rdfs:range xsd:anyURI ;
  skos:prefLabel "has bitstream" ;
.
dspace:hasCollection
  rdf:type owl:ObjectProperty ;
  rdfs:domain dspace:Community ;
  rdfs:label "has collection" ;
  rdfs:range dspace:Collection ;
  rdfs:subPropertyOf owl:topObjectProperty ;
  owl:inverseOf dspace:isPartOfCommunity ;
  skos:prefLabel "has collection" ;
.
dspace:hasCommunity
  rdf:type owl:InverseFunctionalProperty ;
  rdf:type owl:ObjectProperty ;
  rdfs:domain dspace:Repository ;
  rdfs:label "has community" ;
  rdfs:range dspace:Community ;
  rdfs:subPropertyOf owl:topObjectProperty ;
  owl:inverseOf dspace:isPartOfRepository ;
  skos:prefLabel "has community" ;
.
dspace:hasItem
  rdf:type owl:ObjectProperty ;
  rdfs:domain dspace:Collection ;
  rdfs:label "has item" ;
  rdfs:range dspace:Item ;
  rdfs:subPropertyOf owl:topObjectProperty ;
  owl:inverseOf dspace:isPartOfCollection ;
  skos:prefLabel "has item" ;
.
dspace:isPartOfCollection
  rdf:type owl:ObjectProperty ;
  rdfs:label "is part of collection" ;
  rdfs:subPropertyOf owl:topObjectProperty ;
  skos:prefLabel "is part of collection" ;
.
dspace:isPartOfCommunity
  rdf:type owl:ObjectProperty ;
  rdfs:label "is part of community" ;
  rdfs:subPropertyOf owl:topObjectProperty ;
  skos:prefLabel "is part of community" ;
.
dspace:isPartOfRepository
  rdf:type owl:ObjectProperty ;
  rdfs:domain dspace:Community ;
  rdfs:label "is part of repository" ;
  rdfs:range dspace:Repository ;
  rdfs:subPropertyOf owl:topObjectProperty ;
  owl:inverseOf dspace:hasCommunity ;
  skos:prefLabel "is part of repository" ;
.

Transformation sample

Here is an sample transformation of a dspace-repository from its representation in JSON as defined in the dspace2vivo openapi model to its representation in TURTLE

JSON Representation

Repository in JSON
{
  "id" : "123456789_0",
  "uri" : "http://localhost:8080/server/rdf/resource/123456789/0",
  "hasCommunityId" : [ "123456789_1" ],
  "listOfStatements" : [ {
    "subjectUri" : "dspace:123456789_0",
    "predicateUri" : "dcterms:hasPart",
    "objectUri" : "http://localhost:8080/server/rdf/resource/123456789/1"
  } ],
  "listOfStatementLiterals" : [ {
    "subjectUri" : "dspace:123456789_0",
    "predicateUri" : "rdf:label",
    "objectLiteral" : "a repository for testing",
    "literalType" : "http://www.w3.org/2001/XMLSchema#string"
  } ]
}


TURTLE representation

DSpace-Repository in Turtle
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix ns:    <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix scires: <http://vivoweb.org/ontology/scientific-research#> .
@prefix swrlb: <http://www.w3.org/2003/11/swrlb#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ocresd: <http://purl.org/net/OCRe/study_design.owl#> .
@prefix swo:   <http://www.ebi.ac.uk/efo/swo/> .
@prefix geopolitical: <http://aims.fao.org/aos/geopolitical.owl#> .
@prefix cito:  <http://purl.org/spar/cito/> .
@prefix dspace: <http://vivoweb.org/ontology/dspace#> .
@prefix geo:   <http://aims.fao.org/aos/geopolitical.owl#> .
@prefix ocresst: <http://purl.org/net/OCRe/statistics.owl#> .
@prefix terms: <http://purl.org/dc/terms/> .
@prefix crdc-ccrd: <http://purl.org/uqam.ca/vocabulary/crdc_ccrd#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix vivo:  <http://vivoweb.org/ontology/core#> .
@prefix text:  <http://jena.apache.org/text#> .
@prefix event: <http://purl.org/NET/c4dm/event.owl#> .
@prefix vann:  <http://purl.org/vocab/vann/> .
@prefix crdc-ccrd-data: <http://purl.org/uqam.ca/vocabulary/crdc-ccrd/individual#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix c4o:   <http://purl.org/spar/c4o/> .
@prefix study_protocol: <http://purl.org/net/OCRe/study_protocol.owl#> .
@prefix fabio: <http://purl.org/spar/fabio/> .
@prefix swrl:  <http://www.w3.org/2003/11/swrl#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix crdc-data: <http://purl.org/uqam.ca/vocabulary/crdc-ccrd/individual#> .
@prefix vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> .
@prefix skos2: <http://www.w3.org/2008/05/skos#> .
@prefix vitro-public: <http://vitro.mannlib.cornell.edu/ns/vitro/public#> .
@prefix core:  <http://vivoweb.org/ontology/core#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ocresp: <http://purl.org/net/OCRe/study_protocol.owl#> .
@prefix bibo:  <http://purl.org/ontology/bibo/> .
@prefix obo:   <http://purl.obolibrary.org/obo/> .
@prefix sfnc:  <http://vivoweb.org/sparql/function#> .
@prefix statistics: <http://purl.org/net/OCRe/statistics.owl#> .

dspace:123456789_0  a           obo:BFO_0000001 , obo:BFO_0000031 , owl:Thing , bibo:Document , dspace:Repository , obo:IAO_0000030 , obo:BFO_0000002 ;
        rdf:label               "a repository for testing" ;
        obo:ARG_2000028         dspace:123456789_0-vcard ;
        dcterms:hasPart         <http://localhost:8080/server/rdf/resource/123456789/1> ;
        vitro:mostSpecificType  dspace:Repository .

dspace:123456789_0-vcard
        a                obo:IAO_0000030 , obo:ARG_2000379 , obo:BFO_0000001 , owl:Thing , obo:BFO_0000002 , obo:BFO_0000031 , vcard:Kind ;
        obo:ARG_2000029  dspace:123456789_0 ;
        vcard:hasURL     dspace:123456789_0-vcard-url .

dspace:123456789_0-vcard-url
        a                       owl:Thing , vcard:Explanatory , vcard:Communication , vcard:Identification , vcard:URL , vcard:Addressing ;
        vitro:mostSpecificType  vcard:URL ;
        core:rank               "1"^^xsd:nonNegativeInteger ;
        vcard:url               <http://localhost:8080/server/rdf/resource/123456789/0> .



  • No labels