Topics

Namespaces (URIs)


Agneta
 

Hi everyone

The ontology group understands that most of us are currently busy converting their raw data to rdf format based on the bonsai ontology. We have the following namespaces to refer to the vocabularies we need to refer to. Here are some example prefixes* and the URLs the refer to:

@prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#> . #(generic rdf schema to define class, subclass, etc)

@prefix bont:<http://ontology.bonsai.uno/core#>. #(Bonsai rdf schema to define  activity, flow, flow objects)

@prefix om2:<http://www.ontology-of-units-of-measure.org/resource/om-2/> . #(Schema for units of measure, used to define units, give numerical value)

@prefix time:<https://www.w3.org/TR/owl-time/>. #(Schema to define temporal extent)

@prefix act:<rdf.bonsai.uno/activitytype/exiobase3_3_17/>. #(exiobase URI to define the activity type instances)
@prefix flo:<rdf.bonsai.uno/flowobject/exiobase3_3_17/>. #(exiobase URI to define the flow object instances)
@prefix unit:<rdf.bonsai.uno/unit/exiobase3_3_17/>. #(exiobase URI to define the unit instances)
@prefix loc:<rdf.bonsai.uno/location/exiobase3_3_17/>. #(exiobase URI to define the location instances)

*prefixes used to shorten the URL, it can be defined by the user


Matteo Lissandrini (AAU)
 

The README has been updated with the name spaces (and names of graphs) defined within BONSAI




Currently the following named graphs (and namespaces) are defined

  • Bonsai rdf schema to define activity, flow, flow objects

    <http://ontology.bonsai.uno/core#>
    
  • URI for Time intervals

    <http://rdf.bonsai.uno/time/>
    
  • URI for core activity types

    <http://rdf.bonsai.uno/activitytype/core/>
     
    • Example <http://rdf.bonsai.uno/activitytype/core/Market>

  • Exiobase 3.3.17 URI to define the activity type instances

    <http://rdf.bonsai.uno/activitytype/exiobase3_3_17/>
    
  • Exiobase 3.3.17 URI to define the flow object instances

    <http://rdf.bonsai.uno/flowobject/exiobase3_3_17/>
    
  • Exiobase 3.3.17 URI to define unit of measures not defined in the OM ontology

    <http://rdf.bonsai.uno/unit/exiobase3_3_17/>
    
  • Exiobase 3.3.17 URI to define the location instances that are not defined in GeoNames or other ontologies

    <http://rdf.bonsai.uno/location/exiobase3_3_17/>
    




From: hackathon2019@bonsai.groups.io [hackathon2019@bonsai.groups.io] on behalf of Agneta via Groups.Io [agneta.20@...]
Sent: Wednesday, March 27, 2019 1:41 PM
To: hackathon2019@bonsai.groups.io
Subject: [hackathon2019] Namespaces (URIs)

Hi everyone

The ontology group understands that most of us are currently busy converting their raw data to rdf format based on the bonsai ontology. We have the following namespaces to refer to the vocabularies we need to refer to. Here are some example prefixes* and the URLs the refer to:

@prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#> . #(generic rdf schema to define class, subclass, etc)

@prefix bont:<http://ontology.bonsai.uno/core#>. #(Bonsai rdf schema to define  activity, flow, flow objects)

@prefix om2:<http://www.ontology-of-units-of-measure.org/resource/om-2/> . #(Schema for units of measure, used to define units, give numerical value)

@prefix time:<https://www.w3.org/TR/owl-time/>. #(Schema to define temporal extent)

@prefix act:<rdf.bonsai.uno/activitytype/exiobase3_3_17/>. #(exiobase URI to define the activity type instances)
@prefix flo:<rdf.bonsai.uno/flowobject/exiobase3_3_17/>. #(exiobase URI to define the flow object instances)
@prefix unit:<rdf.bonsai.uno/unit/exiobase3_3_17/>. #(exiobase URI to define the unit instances)
@prefix loc:<rdf.bonsai.uno/location/exiobase3_3_17/>. #(exiobase URI to define the location instances)

*prefixes used to shorten the URL, it can be defined by the user


 

Prefixes like `act` don't really work, as the expansion is specific to
exiobase; I have been using brdfexat (Bonsai RDF exiobase activity
type), and similar, see
https://github.com/BONSAMURAIS/bontofrom/blob/master/bontofrom/exiobase_header.py

On Wed, 27 Mar 2019 at 13:41, Agneta <@Agneta.Ghose> wrote:

Hi everyone

The ontology group understands that most of us are currently busy converting their raw data to rdf format based on the bonsai ontology. We have the following namespaces to refer to the vocabularies we need to refer to. Here are some example prefixes* and the URLs the refer to:

@prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#> . #(generic rdf schema to define class, subclass, etc)

@prefix bont:<http://ontology.bonsai.uno/core#>. #(Bonsai rdf schema to define activity, flow, flow objects)

@prefix om2:<http://www.ontology-of-units-of-measure.org/resource/om-2/> . #(Schema for units of measure, used to define units, give numerical value)

@prefix time:<https://www.w3.org/TR/owl-time/>. #(Schema to define temporal extent)

@prefix act:<rdf.bonsai.uno/activitytype/exiobase3_3_17/>. #(exiobase URI to define the activity type instances)
@prefix flo:<rdf.bonsai.uno/flowobject/exiobase3_3_17/>. #(exiobase URI to define the flow object instances)
@prefix unit:<rdf.bonsai.uno/unit/exiobase3_3_17/>. #(exiobase URI to define the unit instances)
@prefix loc:<rdf.bonsai.uno/location/exiobase3_3_17/>. #(exiobase URI to define the location instances)

*prefixes used to shorten the URL, it can be defined by the user

--
############################
Chris Mutel
Technology Assessment Group, LEA
Paul Scherrer Institut
OHSA D22
5232 Villigen PSI
Switzerland
http://chris.mutel.org
Telefon: +41 56 310 5787
############################