diff --git a/fda-units-service/Dockerfile b/fda-units-service/Dockerfile index 270487319c5effbd6c101887a6e4efba0ee6a663..32a7db0d0cc0ce40db6613808262d0a7af809db9 100644 --- a/fda-units-service/Dockerfile +++ b/fda-units-service/Dockerfile @@ -23,7 +23,7 @@ HEALTHCHECK --interval=10s --timeout=5s --retries=12 CMD service_ready EXPOSE $PORT_APP COPY ./us-yml/*.yml ./ -COPY ./onto/*.ttl ./onto/ +COPY ./ontologies/* ./ontologies/ COPY ./*.py ./ ENTRYPOINT [ "python", "./pywsgi.py" ] diff --git a/fda-units-service/app.py b/fda-units-service/app.py index 8541b31270ca27302d3dbb6d6ad9adeb783adcba..58cd365190edacf5745d2b690e54d5e2b5542be9 100644 --- a/fda-units-service/app.py +++ b/fda-units-service/app.py @@ -1,15 +1,18 @@ import os +import rdflib from flask import Flask, request, jsonify import logging import py_eureka_client.eureka_client as eureka_client from flasgger import Swagger from flasgger.utils import swag_from from flasgger import LazyString, LazyJSONEncoder -from list import list_units, get_uri -from list_concept import get_concept +from list import list_units, get_uri as list_get_uri from validate import validator, stringmapper from gevent.pywsgi import WSGIServer from save import insert_mdb_concepts, insert_mdb_columns_concepts +from werkzeug.utils import secure_filename +from pathlib import Path +from onto_feat import search_ontologies, setup_ontology_dir, list_ontologies, ontology_exists, get_ontology, allowed_file from logging.config import dictConfig @@ -92,7 +95,7 @@ def validate(unit): def get_uri(uname): logging.debug('endpoint get uri, uname=%s, body=%s', uname, request) try: - res = get_uri(uname) + res = list_get_uri(uname) logging.debug('get uri resulted in uri: %s', res) return jsonify(res), 200 except Exception as e: @@ -143,7 +146,7 @@ def save_column_concept(): def get_concept(cname): logging.debug('endpoint get concept, cname=%s, body=%s', cname, request) try: - res = get_concept(cname) + res = search_ontologies(cname) logging.debug('get concept resulted in concept: %s', res) return jsonify(res), 200 except Exception as e: @@ -151,6 +154,38 @@ def get_concept(cname): res = {"success": False, "message": str(e)} return jsonify(res), 500 +ONTOLOGIES_DIRECTORY = 'ontologies' + +@app.route('/api/ontologies', methods=["POST"], endpoint='upload_onto') +@swag_from('ontologie.yml') +def post_ontologies(): + if 'file' not in request.files: + return "no file", 500 + file = request.files['file'] + if file.filename == '': + return "no file selected", 500 + if file and allowed_file(file.filename): + filename = secure_filename(file.filename) + if ontology_exists(Path(filename).stem): + return "ontology name already exists", 500 + setup_ontology_dir() + file.save(os.path.join(ONTOLOGIES_DIRECTORY, filename)) + logging.debug('created ontology: %s', filename) + return "created", 200 + +@app.route('/api/ontologies', methods=["GET"], endpoint='get_ontos') +@swag_from('ontologies.yml') +def get_ontologies(): + print(list_ontologies()) + return jsonify(list_ontologies()) + +@app.route('/api/ontologies/<name>', methods=["GET"], endpoint='get_onto') +@swag_from('ontologie.yml') +def get_ontologies(name): + ontology = get_ontology(name) + if ontology is None: + return "ontology does not exist", 404 + return ontology rest_server_port = int(os.getenv("PORT_APP")) eureka_client.init(eureka_server=os.getenv('EUREKA_SERVER', 'http://localhost:9090/eureka/'), @@ -161,4 +196,4 @@ eureka_client.init(eureka_server=os.getenv('EUREKA_SERVER', 'http://localhost:90 if __name__ == '__main__': http_server = WSGIServer(('', rest_server_port), app) - http_server.serve_forever() + http_server.serve_forever() \ No newline at end of file diff --git a/fda-units-service/list.py b/fda-units-service/list.py index ce5081b5ba42c7240a9ffefbeb8becf352a9088c..eeb1c9429c6f30d4af627fbc0ad4586b01ba111a 100644 --- a/fda-units-service/list.py +++ b/fda-units-service/list.py @@ -10,14 +10,14 @@ import rdflib import re g = rdflib.Graph() g.namespace_manager.bind('om', 'http://www.ontology-of-units-of-measure.org/resource/om-2/') -g.parse('onto/om-2.ttl', format='turtle') +g.parse('ontologies/om-2.ttl', format='turtle') om = rdflib.Namespace('http://www.ontology-of-units-of-measure.org/resource/om-2/') rdf_schema = rdflib.Namespace('http://www.w3.org/2000/01/rdf-schema#') f = rdflib.Graph() f.namespace_manager.bind('qudt', 'http://qudt.org/2.1/vocab/unit') -f.parse('onto/VOCAB_QUDT-UNITS-ALL-v2.1.ttl', format='turtle') +f.parse('ontologies/VOCAB_QUDT-UNITS-ALL-v2.1.ttl', format='turtle') #qudt = rdflib.Namespace('http://qudt.org/2.1/vocab/unit') @@ -50,6 +50,6 @@ def get_uri(name): """ qres = g.query(uri_query) for row in qres: - return {"URI": row.uri} + return {"URI": str(row.uri)} else: return None \ No newline at end of file diff --git a/fda-units-service/list_concept.py b/fda-units-service/list_concept.py deleted file mode 100644 index 846f5f2883965b745496c6de0c90c11f3b39ff24..0000000000000000000000000000000000000000 --- a/fda-units-service/list_concept.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- -""" -Created on Wed Nov 9 11:25:52 2022 - -@author: Cornelia Michlits -""" - -import rdflib -import re -import sys -g = rdflib.Graph() -g.namespace_manager.bind('iaq', 'https://w3id.org/digitalconstruction/IndoorAirQuality#') -g.parse('onto/iaq.nt', format='nt') - -f = rdflib.Graph() -f.namespace_manager.bind('geom', 'http://data.ign.fr/def/geometrie') -f.parse('onto/def--geometrie.ttl', format='turtle') - -h = rdflib.Graph() -h.namespace_manager.bind('op', 'http://environment.data.gov.au/def/op') -h.parse('onto/def--op.nt', format='nt') - -def get_concept(string,limit=sys.maxsize, offset=0): - if bool(re.match('^[a-zA-Z0-9\-\\\s]+$',string)): - l_query = """ - SELECT ?s ?p ?o - WHERE{ - ?s ?p ?o . - FILTER regex(str(?s),\""""+string+"""\","i") - }LIMIT """+str(limit)+""" OFFSET """+str(offset) - qres1 = g.query(l_query) - res = list() - for row in qres1: - res.append({"S-URI": str(row.s), "P": str(row.p), "O": str(row.o)}) - qres2 = f.query(l_query) - for row in qres2: - res.append({"S-URI": str(row.s), "P": str(row.p), "O": str(row.o)}) - return res - qres3 = h.query(l_query) - for row in qres3: - res.append({"S-URI": str(row.s), "P": str(row.p), "O": str(row.o)}) - return res - else: - return None \ No newline at end of file diff --git a/fda-units-service/onto/def--geometrie.ttl b/fda-units-service/onto/def--geometrie.ttl deleted file mode 100644 index 2d7fe7c5a17eeedb26c42c30ede21c1a516be02c..0000000000000000000000000000000000000000 --- a/fda-units-service/onto/def--geometrie.ttl +++ /dev/null @@ -1,601 +0,0 @@ -@base <http://data.ign.fr/def/geometrie> . -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . -@prefix : <#> . -@prefix ns: <http://creativecommons.org/ns#> . -@prefix org: <http://www.w3.org/ns/org#> . -@prefix owl: <http://www.w3.org/2002/07/owl#> . -@prefix xml: <http://www.w3.org/XML/1998/namespace> . -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . -@prefix foaf: <http://xmlns.com/foaf/0.1/> . -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -@prefix time: <http://www.w3.org/2006/time#> . -@prefix vann: <http://purl.org/vocab/vann/> . -@prefix terms: <http://purl.org/dc/terms/> . - -ns:license - a owl:AnnotationProperty . - -<> - ns:license <http://creativecommons.org/licenses/by/2.0/>, <http://opendatacommons.org/licenses/by/>, <http://www.data.gouv.fr/Licence-Ouverte-Open-Licence> ; - terms:contributor <_:genid-nodeid-node1d3jq8du2x108>, <http://data.semanticweb.org/person/bernard-vatant>, <http://recherche.ign.fr/labos/cogit/cv.php?prenom=Bénédicte&nom=Bucher>, <http://www.eurecom.fr/~troncy/> ; - terms:creator <_:genid-nodeid-node1d3jq8du2x103>, <http://www.eurecom.fr/~atemezin/> ; - terms:description "Ontologie des primitives géométriques représentant la forme et la localisation d'entités topographiques."@fr, "Ontology of geometric primitives representing the shape and location of topographic features."@en ; - terms:issued "2013-06-11"^^xsd:date ; - terms:modified "2014-08-22"^^xsd:date, "2016-06-28"^^xsd:date, "2019-02-12"^^xsd:date ; - terms:publisher <http://fr.dbpedia.org/resource/Institut_national_de_l%27information_g%C3%A9ographique_et_foresti%C3%A8re> ; - terms:rights "Copyright 2019, IGN" ; - terms:title "Ontologie des primitives géométriques"@fr, "Ontology of geometric primitives"@en ; - vann:preferredNamespacePrefix "geom" ; - vann:preferredNamespaceUri <#> ; - a owl:Ontology ; - owl:priorVersion <geometrie/20160628.ttl> ; - owl:versionInfo "Version 1.2 - 2019-02-12" . - -:Curve - a owl:Class ; - rdfs:comment "Geometric primitive representing a curve. It is not instantiable. It's specializations are instantiated as an ordered list of points associated with an interpolation function."@en, "Primitive géométrique représentant une courbe. Elle n'est pas instanciable. Ses spécialisations sont instanciées sous la forme d'une liste ordonnée de points associée à une fonction d'interpolation."@fr ; - rdfs:label "Courbe"@fr, "Curve"@en ; - rdfs:subClassOf :Geometry, <http://www.opengis.net/ont/sf#Curve> . - -:Envelope - a owl:Class ; - rdfs:comment "Geometric primitive representing the minimal envelope of a geometry. An envelope is represented by two points: its maximum coordinate corner and its minimal coordinate corner."@en, "Primitive géométrique représentant l'enveloppe minimale d'une géométrie. Une enveloppe est représentée par deux points: son coin de coordonnées maximales et son coin de coordonnées minimales."@fr ; - rdfs:label "Envelope"@en, "Enveloppe"@fr ; - rdfs:subClassOf :Geometry ; - owl:equivalentClass [ - a owl:Class ; - owl:intersectionOf ([ - a owl:Restriction ; - owl:onClass :Point ; - owl:onProperty :lowerCorner ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger - ] - [ - a owl:Restriction ; - owl:onClass :Point ; - owl:onProperty :upperCorner ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger - ] - ) - ] . - -:Geometry - a owl:Class ; - rdfs:comment "Non-instantiable geometric primitive, root of the ontology of geometric primitives. Geometry is associated with a coordinate system and only one."@en, "Primitive géométrique non instanciable, racine de l'ontologie des primitives géométriques. Une géométrie est associée à un système de coordonnées et un seul."@fr ; - rdfs:label "Geometry"@en, "Géométrie"@fr ; - rdfs:subClassOf <http://geovocab.org/geometry#Geometry>, <http://www.opengis.net/ont/sf#Geometry> ; - owl:equivalentClass [ - a owl:Restriction ; - owl:onClass <ignf#CoordinatesSystem> ; - owl:onProperty :crs ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger - ] . - -:GeometryCollection - a owl:Class ; - rdfs:comment "Collection comprenant un ou plusieurs objets géométriques, sans structure interne. Tous les éléments d'une collection de géométries sont définis dans le même système de coordonnées."@fr, "Collection comprising one or more geometric objects, without internal structure. All elements of a collection of geometries are defined in the same coordinate system."@en ; - rdfs:label "Collection de géométries"@fr, "Geometry collection"@en ; - rdfs:subClassOf :Geometry, <http://www.opengis.net/ont/sf#GeometryCollection> . - -:Line - a owl:Class ; - rdfs:comment "Geometric primitive specializing the primitive Polyline and consisting of only two points."@en, "Primitive géométrique spécialisant la primitive Polyligne et composée de seulement deux points."@fr ; - rdfs:label "Ligne"@fr, "Line"@en ; - rdfs:subClassOf :LineString, <http://www.opengis.net/ont/sf#Line> ; - owl:equivalentClass [ - a owl:Restriction ; - owl:onProperty :points ; - owl:someValuesFrom [ - a owl:Class ; - owl:intersectionOf (:PointsList - [ - a owl:Restriction ; - owl:onProperty rdf:rest ; - owl:someValuesFrom [ - a owl:Class ; - owl:intersectionOf (:PointsList - [ - a owl:Restriction ; - owl:hasValue rdf:nil ; - owl:onProperty rdf:rest - ] - ) - ] - ] - ) - ] - ] . - -:LineString - a owl:Class ; - rdfs:comment "Geometric primitive specializing the abstract primitive curve. Its points are linked by a linear interpolation function. Each pair of successive points therefore constitutes a straight line segment."@en, "Primitive géométrique spécialisant la primitive abstraite curve. Ses points sont reliés par une fonction d'interpolation linéaire. Chaque paire de points successifs constitue donc un segment de ligne droite."@fr ; - rdfs:label "Line string"@en, "Polyligne"@fr ; - rdfs:subClassOf :Curve, <http://www.opengis.net/ont/sf#LineString>, [ - a owl:Restriction ; - owl:onClass :PointsList ; - owl:onProperty :points ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger - ] ; - owl:equivalentClass [ - a owl:Restriction ; - owl:onProperty :points ; - owl:someValuesFrom :PointsList - ] . - -:LinearRing - a owl:Class ; - rdfs:comment "Geometric primitive specializing the primitive Polyline. It is a simple, closed curve."@en, "Primitive géométrique spécialisant la primitive Polyligne. C'est une courbe simple et fermée."@fr ; - rdfs:label "Anneau"@fr, "Linear ring"@en ; - rdfs:subClassOf :LineString, <http://www.opengis.net/ont/sf#LinearRing> ; - owl:equivalentClass [ - a owl:Restriction ; - owl:onProperty :points ; - owl:someValuesFrom [ - a owl:Class ; - owl:intersectionOf (:PointsList - [ - a owl:Restriction ; - owl:onClass :Point ; - owl:onProperty :firstAndLast ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger - ] - ) - ] - ] . - -:MultiCurve - a owl:Class ; - rdfs:comment "Collection d'objets géométriques de type Courbe. Cette primitive n'est pas instanciable: elle définit des propriétés pour ses sous-classes."@fr, "Collection of geometric objects of type Curve. This primitive is not instantiable: it defines properties for its subclasses."@en ; - rdfs:label "Multi curve"@en, "Multicourbe"@fr ; - rdfs:subClassOf :GeometryCollection, <http://www.opengis.net/ont/sf#MultiCurve> . - -:MultiLineString - a owl:Class ; - rdfs:comment "Collection d'objets géométriques de type Polyligne. C'est une MultiCourbe dont tous les éléments sont des Polylignes."@fr, "Collection of geometric objects of type Polyline. It's a MultiCurve whose elements are all Polylines."@en ; - rdfs:label "Multi line string"@en, "Multipolyligne"@fr ; - rdfs:subClassOf :MultiCurve, <http://www.opengis.net/ont/sf#MultiLineString> ; - owl:equivalentClass [ - a owl:Restriction ; - owl:onProperty :lineStringMember ; - owl:someValuesFrom :LineString - ] . - -:MultiPoint - a owl:Class ; - rdfs:comment "Collection d'objets géométriques de type Point, non connectés et non ordonnés. Un multipoint est dit simple si tous ses points sont différents (i.e. ont des coordonnées différentes)."@fr, "Collection of Point geometric objects, unconnected and unordered. A multipoint is said to be simple if all its points are different (i.e. have different coordinates)."@en ; - rdfs:label "Multi point"@en, "Multipoint"@fr ; - rdfs:subClassOf :GeometryCollection, <http://www.opengis.net/ont/sf#MultiPoint> ; - owl:equivalentClass [ - a owl:Restriction ; - owl:onProperty :pointMember ; - owl:someValuesFrom :Point - ] . - -:MultiPolygon - a owl:Class ; - rdfs:comment "Collection d'objets géométriques de type Polygone. C'est une MultiSurface dont tous les éléments sont des Polygones."@fr, "Collection of geometric objects of type Polygon. It is a MultiSurface whose elements are all Polygons."@en ; - rdfs:label "Multi polygon"@en, "Multipolygone"@fr ; - rdfs:subClassOf :MultiSurface, <http://www.opengis.net/ont/sf#MultiPolygon> ; - owl:equivalentClass [ - a owl:Restriction ; - owl:onProperty :polygonMember ; - owl:someValuesFrom :Polygon - ] . - -:MultiSurface - a owl:Class ; - rdfs:comment "Collection d'objets géométriques de type Surface. Cette primitive n'est pas instanciable: elle définit des propriétés pour ses sous classes."@fr, "Collection of geometric objects of Surface type. This primitive is not instantiable: it defines properties for its subclasses."@en ; - rdfs:label "Multi surface"@en, "Multisurface"@fr ; - rdfs:subClassOf :GeometryCollection, <http://www.opengis.net/ont/sf#MultiSurface> . - -:Point - a owl:Class ; - rdfs:comment "Geometric primitive to represent a geographical position. This position is represented via X and Y coordinates expressed in a given coordinate system. If the coordinate system associated with the point allows it, the point may also have Z and M coordinates."@en, "Primitive géométrique permettant de représenter une position géographique. Cette position est représentée via des coordonnées X et Y exprimées dans un système de coordonnées donné. Si le système de coordonnées associé au point le permet, ce dernier peut également avoir des coordonnées Z et M."@fr ; - rdfs:label "Point"@en, "Point"@fr ; - rdfs:subClassOf :Geometry, <http://www.opengis.net/ont/sf#Point> ; - owl:equivalentClass [ - a owl:Class ; - owl:intersectionOf ([ - a owl:Restriction ; - owl:onDataRange xsd:double ; - owl:onProperty :coordX ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger - ] - [ - a owl:Restriction ; - owl:onDataRange xsd:double ; - owl:onProperty :coordY ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger - ] - [ - a owl:Restriction ; - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:double ; - owl:onProperty :coordM - ] - [ - a owl:Restriction ; - owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; - owl:onDataRange xsd:double ; - owl:onProperty :coordZ - ] - ) - ] . - -:PointsList - a owl:Class ; - rdfs:comment "List of points"@en, "Liste de points."@fr ; - rdfs:label "List of points"@en, "Liste de points"@fr ; - rdfs:subClassOf [ - a owl:Class ; - owl:intersectionOf (rdf:List - [ - a owl:Restriction ; - owl:allValuesFrom :Point ; - owl:onProperty rdf:first - ] - [ - a owl:Restriction ; - owl:allValuesFrom :PointsList ; - owl:onProperty rdf:rest - ] - ) - ] . - -:Polygon - a owl:Class ; - rdfs:comment "Geometric primitive specializing Surface primitive. It is a flat surface defined by an outer boundary and zero or more interior boundaries. Each inner boundary defines a hole in the polygon."@en, "Primitive géométrique spécialisant la primitive Surface. C'est une surface plane définie par une frontière extérieure et zéro ou plusieurs frontières intérieures. Chaque frontière intérieure définit un trou dans le polygone."@fr ; - rdfs:label "Polygon"@en, "Polygone"@fr ; - rdfs:subClassOf :Surface, <http://www.opengis.net/ont/sf#Polygon>, [ - a owl:Class ; - owl:intersectionOf ([ - a owl:Restriction ; - owl:onProperty :interior ; - owl:someValuesFrom :LinearRing - ] - [ - a owl:Restriction ; - owl:onClass :LinearRing ; - owl:onProperty :exterior ; - owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger - ] - ) - ] ; - owl:equivalentClass [ - a owl:Restriction ; - owl:onProperty :exterior ; - owl:someValuesFrom :LinearRing - ] . - -:Surface - a owl:Class ; - rdfs:comment "Geometric primitive locally representing a continuous image of a region of a plane. It is not instantiable. The outline of a surface is a set of closed curves corresponding to its boundaries."@en, "Primitive géométrique représentant localement une image continue d'une région d'un plan. Elle n'est pas instanciable. Le contour d'une surface est un ensemble de courbes fermées correspondant à ses frontières."@fr ; - rdfs:label "Surface"@en, "Surface"@fr ; - rdfs:subClassOf :Geometry, <http://www.opengis.net/ont/sf#Surface> . - -:boundary - a owl:ObjectProperty ; - rdfs:comment "Connect a polygon to a ring describing its boundary."@en, "Relie un polygone à un anneau décrivant sa frontière."@fr ; - rdfs:domain :Polygon ; - rdfs:label "boundary"@en, "frontière"@fr ; - rdfs:range :LinearRing . - -:centroid - a owl:ObjectProperty ; - rdfs:comment "Centroid of a geometry"@en, "Centroide d'une géométrie"@fr ; - rdfs:domain :Surface ; - rdfs:label "centroid"@en, "centroïde"@fr ; - rdfs:range :Point . - -:coordM - a owl:DatatypeProperty ; - rdfs:comment "L'interprétation des coordonnées d'un point dépend du système de coordonnées de référence associé à ce point. La coordonnées M d'un point représente une mesure."@fr, "The interpretation of the coordinates of a point depends on the reference coordinate system associated with that point. The coordinate M of a point represents a measurement."@en ; - rdfs:domain :Point ; - rdfs:label "m"@en, "m"@fr ; - rdfs:range xsd:double . - -:coordX - a owl:DatatypeProperty ; - rdfs:comment "L'interprétation des coordonnées d'un point dépend du système de coordonnées de référence associé à ce point. La propriété coordX désigne la coordonnée définie par rapport au premier axe du système de coordonnées."@fr, "The interpretation of the coordinates of a point depends on the reference coordinate system associated with that point. The coordX property is the coordinate defined relative to the first axis of the coordinate system."@en ; - rdfs:domain :Point ; - rdfs:label "x"@en, "x"@fr ; - rdfs:range xsd:double . - -:coordY - a owl:DatatypeProperty ; - rdfs:comment "L'interprétation des coordonnées d'un point dépend du système de coordonnées de référence associé à ce point. La propriété coordY désigne la coordonnée définie par rapport au deuxième axe du système de coordonnées."@fr, "The interpretation of the coordinates of a point depends on the reference coordinate system associated with that point. The coordY property is the coordinate defined relative to the second axis of the coordinate system."@en ; - rdfs:domain :Point ; - rdfs:label "y"@en, "y"@fr ; - rdfs:range xsd:double . - -:coordZ - a owl:DatatypeProperty ; - rdfs:comment "L'interprétation des coordonnées d'un point dépend du système de coordonnées de référence associé à ce point. La propriété coordZ désigne la coordonnée définie par rapport au troisième axe du système de coordonnées. La coordonnées Z d'un point représente typiquement, mais pas nécessairement, l'altitude ou la hauteur de ce point."@fr, "The interpretation of the coordinates of a point depends on the reference coordinate system associated with that point. The coordZ property is the coordinate defined relative to the third axis of the coordinate system. The Z coordinate of a point typically, but not necessarily, represents the altitude or height of that point."@en ; - rdfs:domain :Point ; - rdfs:label "z"@en, "z"@fr ; - rdfs:range xsd:double . - -:crs - a owl:ObjectProperty ; - rdfs:comment "Coordinate system associated with a geometric primitive."@en, "Système de coordonnées associé à une primitive géométrique."@fr ; - rdfs:domain :Geometry ; - rdfs:label "coordinate reference system"@en, "système de coordonnées"@fr ; - rdfs:range <ignf#CRS> . - -:envelope - a owl:ObjectProperty ; - rdfs:comment "Minimal enclosing rectangle of a geometry"@en, "Rectangle englobant minimal d'une géométrie"@fr ; - rdfs:domain :Geometry ; - rdfs:label "envelope"@en, "enveloppe"@fr ; - rdfs:range :Envelope . - -:exterior - a owl:ObjectProperty ; - rdfs:comment "Connect a polygon to a ring describing the outer contour of its surface."@en, "Relie un polygone à un anneau décrivant le contour extérieur de sa surface."@fr ; - rdfs:domain :Polygon ; - rdfs:label "exterior"@en, "extérieur"@fr ; - rdfs:range :LinearRing ; - rdfs:subPropertyOf :boundary . - -:firstAndLast - a owl:ObjectProperty ; - rdfs:comment "Désigne le point servant de point initial et de point final à une liste circulaire de points."@fr, "Refers to the point that serves as the start and end point for a circular list of points."@en ; - rdfs:domain :PointsList ; - rdfs:label "first and last"@en, "premier et dernier"@fr ; - rdfs:range :Point ; - rdfs:subPropertyOf rdf:first . - -:geometry - a owl:ObjectProperty ; - rdfs:comment "Geometric primitive associated with an object to represent its location and possibly its shape."@en, "Primitive géométrique associée à un objet pour représenter sa localisation et éventuellement sa forme."@fr ; - rdfs:label "a pour géométrie"@fr, "has geometry"@en ; - rdfs:range :Geometry . - -:interior - a owl:ObjectProperty ; - rdfs:comment "Connect a polygon to a ring describing a hole in its surface."@en, "Relie un polygone à un anneau décrivant un trou dans sa surface."@fr ; - rdfs:domain :Polygon ; - rdfs:label "interior"@en, "intérieur"@fr ; - rdfs:range :LinearRing ; - rdfs:subPropertyOf :boundary . - -:lineStringMember - a owl:ObjectProperty ; - rdfs:comment "Links a MultiLineString geometry to the linestrings that compose it."@en, "Relie une géométrie de type MultiLineString aux linestrings qui la composent."@fr ; - rdfs:domain :MultiLineString ; - rdfs:label "line string member"@en, "polyligne membre"@fr ; - rdfs:range :LineString . - -:lowerCorner - a owl:ObjectProperty ; - rdfs:comment "Coin d'une enveloppe correspondant aux valeurs de X et Y les moins élevées."@fr, "The corner of an envelope corresponding to the lowest values of X and Y."@en ; - rdfs:domain :Envelope ; - rdfs:label "coin inférieur"@fr, "lower corner"@en ; - rdfs:range :Point . - -:pointMember - a owl:ObjectProperty ; - rdfs:comment "Connect a MultiPoint geometry to the points that compose it."@en, "Relie une géométrie de type MultiPoint aux points qui la composent."@fr ; - rdfs:domain :MultiPoint ; - rdfs:label "point member"@en, "point membre"@fr ; - rdfs:range :Point . - -:points - a owl:ObjectProperty ; - rdfs:comment "La liste ordonnée des points consitutant une géométrie de type Curve."@fr, "The ordered list of points constituting a Curve geometry."@en ; - rdfs:domain :Curve ; - rdfs:label "points"@en, "points"@fr ; - rdfs:range :PointsList . - -:polygonMember - a owl:ObjectProperty ; - rdfs:comment "Connects a MultiPolygon geometry to the polygons that compose it."@en, "Relie une géométrie de type MultiPolygon aux polygones qui la composent."@fr ; - rdfs:domain :MultiPolygon ; - rdfs:label "polygon member"@en, "polygone membre"@fr ; - rdfs:range :Polygon . - -:upperCorner - a owl:ObjectProperty ; - rdfs:comment "Coin d'une enveloppe correspondant aux valeurs de X et Y les plus élevées."@fr, "Corner of an envelope corresponding to the highest values of X and Y."@en ; - rdfs:domain :Envelope ; - rdfs:label "coin supérieur"@fr, "upper corner"@en ; - rdfs:range :Point . - -<ignf#CRS> - a owl:Class . - -<ignf#CoordinatesSystem> - a owl:Class . - -<http://data.semanticweb.org/person/bernard-vatant> - a owl:NamedIndividual, foaf:Person . - -<http://geovocab.org/geometry#Geometry> - a owl:Class . - -terms:contributor - a owl:AnnotationProperty . - -terms:creator - a owl:AnnotationProperty . - -terms:description - a owl:AnnotationProperty . - -terms:issued - a owl:AnnotationProperty . - -terms:modified - a owl:AnnotationProperty . - -terms:publisher - a owl:AnnotationProperty . - -terms:rights - a owl:AnnotationProperty . - -terms:title - a owl:AnnotationProperty . - -vann:preferredNamespacePrefix - a owl:AnnotationProperty . - -vann:preferredNamespaceUri - a owl:AnnotationProperty . - -<http://recherche.ign.fr/labos/cogit/cv.php?prenom=Bénédicte&nom=Bucher> - a owl:NamedIndividual, foaf:Person . - -<http://www.eurecom.fr/~atemezin/> - a owl:NamedIndividual, foaf:Person . - -<http://www.eurecom.fr/~troncy/> - a owl:NamedIndividual, foaf:Person . - -<http://www.opengis.net/ont/sf#Curve> - a owl:Class . - -<http://www.opengis.net/ont/sf#Geometry> - a owl:Class . - -<http://www.opengis.net/ont/sf#GeometryCollection> - a owl:Class . - -<http://www.opengis.net/ont/sf#Line> - a owl:Class . - -<http://www.opengis.net/ont/sf#LineString> - a owl:Class . - -<http://www.opengis.net/ont/sf#LinearRing> - a owl:Class . - -<http://www.opengis.net/ont/sf#MultiCurve> - a owl:Class . - -<http://www.opengis.net/ont/sf#MultiLineString> - a owl:Class . - -<http://www.opengis.net/ont/sf#MultiPoint> - a owl:Class . - -<http://www.opengis.net/ont/sf#MultiPolygon> - a owl:Class . - -<http://www.opengis.net/ont/sf#MultiSurface> - a owl:Class . - -<http://www.opengis.net/ont/sf#Point> - a owl:Class . - -<http://www.opengis.net/ont/sf#Polygon> - a owl:Class . - -<http://www.opengis.net/ont/sf#Surface> - a owl:Class . - -rdf:List - a owl:Class . - -rdf:first - a owl:ObjectProperty . - -rdf:nil - a owl:NamedIndividual . - -rdf:rest - a owl:ObjectProperty . - -time:Instant - a owl:Class . - -time:Interval - a owl:Class . - -time:hasBeginning - a owl:AnnotationProperty . - -time:inXSDDateTimeStamp - a owl:AnnotationProperty . - -org:Membership - a owl:Class . - -org:Role - a owl:Class . - -org:hasMembership - a owl:AnnotationProperty . - -org:memberDuring - a owl:AnnotationProperty . - -org:organization - a owl:AnnotationProperty . - -org:role - a owl:AnnotationProperty . - -foaf:Person - a owl:Class . - -foaf:family_name - a owl:AnnotationProperty . - -foaf:firstName - a owl:AnnotationProperty . - -foaf:mbox - a owl:AnnotationProperty . - -foaf:name - a owl:AnnotationProperty . - -foaf:workInfoHomepage - a owl:AnnotationProperty . - -[] - a foaf:Person ; - org:hasMembership [ - a org:Membership ; - org:memberDuring [ - a time:Interval ; - time:hasBeginning [ - a time:Instant ; - time:inXSDDateTimeStamp "2005-09-09"^^xsd:dateTimeStamp - ] - ] ; - org:organization <http://recherche.ign.fr/>, <http://www.ign.fr/> ; - org:role [ - a org:Role ; - rdfs:label "Chargée de recherche"@fr, "Survey engineer and Scientist"@en - ] - ] ; - foaf:family_name "Abadie" ; - foaf:firstName "Nathalie" ; - foaf:mbox <mailto:nathalie-f.abadie@ign.fr> ; - foaf:name "Nathalie Abadie" ; - foaf:workInfoHomepage <http://recherche.ign.fr/labos/cogit/cv.php?prenom=Nathalie&nom=Abadie> . - -[] - a foaf:Person ; - org:hasMembership [ - a org:Membership ; - org:memberDuring [ - a time:Interval ; - time:hasBeginning [ - a time:Instant ; - time:inXSDDateTimeStamp "2014-04-01T00:00:00+08:00"^^xsd:dateTimeStamp - ] - ] ; - org:organization <http://dbpedia.org/resource/JPL>, <https://www.jpl.nasa.gov> ; - org:role [ - a org:Role ; - rdfs:label "Data Scientist" - ] - ] ; - foaf:family_name "McGibbney" ; - foaf:firstName "Lewis J" ; - foaf:mbox <mailto:lewis.j.mcgibbney@jpl.nasa.gov> ; - foaf:name "Lewis John McGibbney" . - diff --git a/fda-units-service/onto/def--op.nt b/fda-units-service/onto/def--op.nt deleted file mode 100644 index 4753d18ace631be46c82878917b06c16e13147ab..0000000000000000000000000000000000000000 --- a/fda-units-service/onto/def--op.nt +++ /dev/null @@ -1,190 +0,0 @@ -<http://environment.data.gov.au/def/op#CAS-number> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -<http://environment.data.gov.au/def/op#CAS-number> <http://www.w3.org/2000/01/rdf-schema#label> "CAS Number"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#CAS-number> <http://www.w3.org/2000/01/rdf-schema#comment> "The identifier for a substance provided by the Chemical Abstracts Service"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/vocommons/voaf#Vocabulary> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/creator> <http://people.csiro.au/Jonathan-Yu> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/license> <http://creativecommons.org/licenses/by/3.0/> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/creator> "Simon J D Cox"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/2000/01/rdf-schema#comment> "This ontology was developed to enable publication of a vocabulary of water quality properties for the Bioregional Assessments and eReefs projects.\r\n\r\nThis ontology extends the QUDT schema. \r\n\r\nSome key classes and properties are linked to SKOS, so that instances of an observable-property vocabulary are implicitly also SKOS concepts, and may be accessed through general purpose vocabulary APIs based on SKOS. "^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/creator> "Jonathan Yu"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://purl.org/vocab/vann/preferredNamespacePrefix> "op"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/publisher> "CSIRO"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/2002/07/owl#imports> <http://qudt.org/1.1/schema/quantity> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/modified> "2016-02-27"^^<http://www.w3.org/2001/XMLSchema#date> . -<http://environment.data.gov.au/def/op> <http://purl.org/vocab/vann/preferredNamespaceUri> "http://registry.it.csiro.au/ont/op#"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/description> "A general purpose ontology for observable properties. The ontology supports description of both qualitative and quantitative properties. The allowed scale or units of measure may be specified. A property may be linked to substances-or-taxa and to features or realms, if they play a role in the definition. "^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/2004/02/skos/core#editorialNote> "fixed range of op:substance to op:Substance 2016-02-27"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/title> "Observable properties"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/2004/02/skos/core#historyNote> "Improved documentation and labels 2016-02-27"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/creator> <http://people.csiro.au/Simon-Cox> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/2002/07/owl#imports> <http://purl.org/vocab/vann/> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/2002/07/owl#imports> <http://purl.org/vocommons/voaf> . -<http://environment.data.gov.au/def/op> <http://purl.org/vocommons/voaf#extends> <http://qudt.org/schema/qudt> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/created> "2013"^^<http://www.w3.org/2001/XMLSchema#gYear> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/2000/01/rdf-schema#label> "Observable-Properties ontology"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/creator> "Bruce A Simons"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op> <http://www.w3.org/2002/07/owl#imports> <http://purl.org/dc/elements/1.1/> . -<http://environment.data.gov.au/def/op> <http://purl.org/dc/terms/rights> "Copyright \u00A9 2013-2016 CSIRO"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#CAS-number> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid2 . -_:genid2 <http://www.w3.org/2001/XMLSchema#pattern> "[0-9]+\\-[0-9]+\\-[0-9]+"^^<http://www.w3.org/2001/XMLSchema#string> . -_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> . -_:genid1 <http://www.w3.org/2002/07/owl#withRestrictions> _:genid3 . -_:genid1 <http://www.w3.org/2002/07/owl#onDataType> <http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#CAS-number> <http://www.w3.org/2002/07/owl#equivalentClass> _:genid1 . -<http://environment.data.gov.au/def/op#QualityKind> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://environment.data.gov.au/def/op#QualityKind> <http://www.w3.org/2000/01/rdf-schema#label> "Quality Kind"@en . -<http://environment.data.gov.au/def/op#QualityKind> <http://www.w3.org/2000/01/rdf-schema#comment> "non-numeric PropertyKind"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#PropertyKind> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://environment.data.gov.au/def/op#QualityKind> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://environment.data.gov.au/def/op#PropertyKind> . -_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -<http://qudt.org/schema/qudt#generalization> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2004/02/skos/core#broader> . -_:genid4 <http://www.w3.org/2002/07/owl#onProperty> <http://qudt.org/schema/qudt#generalization> . -_:genid4 <http://www.w3.org/2002/07/owl#allValuesFrom> <http://environment.data.gov.au/def/op#QualityKind> . -<http://environment.data.gov.au/def/op#QualityKind> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid4 . -<http://environment.data.gov.au/def/op#QualityKind> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#PropertyKind> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://qudt.org/schema/qudt#QuantityKind> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#QualityKind> <http://www.w3.org/2002/07/owl#disjointWith> <http://qudt.org/schema/qudt#QuantityKind> . -<http://environment.data.gov.au/def/op#PropertyKind> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://environment.data.gov.au/def/op#PropertyKind> <http://www.w3.org/2000/01/rdf-schema#label> "Property kind"@en . -<http://environment.data.gov.au/def/op#PropertyKind> <http://www.w3.org/2000/01/rdf-schema#comment> "Superclass of qudt:QuantityKind\nThis class accommodates all kinds of properties, including those (qualities) that are not described by quantities (numeric values). \r\nMay carry constraints, such as substance, objectOfInterest, featureOfInterest, matrix, hostOrganism, to refine the definition of a generalization. property is associated\r\ne.g. tree-height, nitrogen-concentration, concentration-of-zinc-in-the-liver-of-a-specific-fish-taxon-only-males-larger-than-20cm"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://qudt.org/schema/qudt#EnumeratedValue> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2004/02/skos/core#Concept> . -<http://environment.data.gov.au/def/op#PropertyKind> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://qudt.org/schema/qudt#EnumeratedValue> . -_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid5 <http://www.w3.org/2002/07/owl#onProperty> <http://qudt.org/schema/qudt#generalization> . -_:genid5 <http://www.w3.org/2002/07/owl#allValuesFrom> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#PropertyKind> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid5 . -<http://environment.data.gov.au/def/op#PropertyKind> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#Substance> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://environment.data.gov.au/def/op#Substance> <http://www.w3.org/2000/01/rdf-schema#label> "Substance"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#Substance> <http://www.w3.org/2000/01/rdf-schema#comment> "type of material\r\n\r\nTypically a chemical substance, with a formal designator from CAS or ChEBI or similar, but may include less formal grouplings or union types when needed"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#SubstanceOrTaxon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://environment.data.gov.au/def/op#Substance> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://environment.data.gov.au/def/op#SubstanceOrTaxon> . -<http://environment.data.gov.au/def/op#Substance> <http://www.w3.org/2004/02/skos/core#prefLabel> "Substance"@en . -<http://environment.data.gov.au/def/op#Substance> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#SubstanceOrTaxon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://environment.data.gov.au/def/op#SubstanceOrTaxon> <http://www.w3.org/2000/01/rdf-schema#label> "Substance or Taxon"@en . -<http://environment.data.gov.au/def/op#SubstanceOrTaxon> <http://www.w3.org/2000/01/rdf-schema#comment> "Class of stuff and things, individuals of which identify a class of stuff and things that make observed properties concrete."^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#SubstanceOrTaxon> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://qudt.org/schema/qudt#EnumeratedValue> . -<http://environment.data.gov.au/def/op#SubstanceOrTaxon> <http://www.w3.org/2004/02/skos/core#prefLabel> "Substance or Taxon"@en . -<http://environment.data.gov.au/def/op#SubstanceOrTaxon> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#SubstanceOrTaxon> <http://www.w3.org/2004/02/skos/core#altLabel> "Species"@en . -<http://environment.data.gov.au/def/op#ScaledQuantityKind> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://environment.data.gov.au/def/op#ScaledQuantityKind> <http://www.w3.org/2000/01/rdf-schema#label> "Scaled Quantity Kind"@en . -<http://environment.data.gov.au/def/op#ScaledQuantityKind> <http://www.w3.org/2000/01/rdf-schema#comment> "Scaled quantity kind has one or more unit properties, which indicate valid units of measure for this quantity kind. \r\n\r\nIt is likely that this class is equivalent to qudt:QuantityKind, but has been declared independently for governance of the attached qudt:unit property"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#ScaledQuantityKind> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://qudt.org/schema/qudt#QuantityKind> . -_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid6 <http://www.w3.org/2002/07/owl#onProperty> <http://qudt.org/schema/qudt#unit> . -_:genid6 <http://www.w3.org/2002/07/owl#minCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#integer> . -<http://environment.data.gov.au/def/op#ScaledQuantityKind> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid6 . -_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid7 <http://www.w3.org/2002/07/owl#onProperty> <http://qudt.org/schema/qudt#unit> . -<http://qudt.org/schema/qudt#Unit> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/2004/02/skos/core#Concept> . -_:genid7 <http://www.w3.org/2002/07/owl#allValuesFrom> <http://qudt.org/schema/qudt#Unit> . -<http://environment.data.gov.au/def/op#ScaledQuantityKind> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid7 . -<http://environment.data.gov.au/def/op#ScaledQuantityKind> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#Taxon> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://environment.data.gov.au/def/op#Taxon> <http://www.w3.org/2000/01/rdf-schema#label> "taxon"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#Taxon> <http://www.w3.org/2000/01/rdf-schema#comment> "type of organism, any rank\r\n\r\nPreferably with a formally recognised designiation such as a latin binomial, or LSID, but may be a less formal grouping when needed."^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#Taxon> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://environment.data.gov.au/def/op#SubstanceOrTaxon> . -<http://environment.data.gov.au/def/op#Taxon> <http://www.w3.org/2004/02/skos/core#prefLabel> "taxon"@en . -<http://environment.data.gov.au/def/op#Taxon> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#objectOfInterest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#objectOfInterest> <http://www.w3.org/2000/01/rdf-schema#label> "object of interest"@en . -<http://environment.data.gov.au/def/op#objectOfInterest> <http://www.w3.org/2000/01/rdf-schema#range> <http://environment.data.gov.au/def/op#SubstanceOrTaxon> . -<http://environment.data.gov.au/def/op#objectOfInterest> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#objectOfInterest> <http://www.w3.org/2000/01/rdf-schema#comment> "In an observable property definition, this is the substance or taxon whose count, concentration, presence, or other similar property, is of interest. "^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#constraint> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#objectOfInterest> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#constraint> . -<http://environment.data.gov.au/def/op#objectOfInterest> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#objectOfInterest> <http://www.w3.org/2002/07/owl#equivalentProperty> <http://environment.data.gov.au/def/op#substance> . -<http://environment.data.gov.au/def/op#statisticalMeasure> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#statisticalMeasure> <http://www.w3.org/2000/01/rdf-schema#label> "Statistical Measure"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#constraint> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#statisticalMeasure> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#constraint> . -<http://environment.data.gov.au/def/op#statisticalMeasure> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#hostOrganism> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#hostOrganism> <http://www.w3.org/2000/01/rdf-schema#label> "host organism"@en . -<http://environment.data.gov.au/def/op#hostOrganism> <http://www.w3.org/2000/01/rdf-schema#range> <http://environment.data.gov.au/def/op#Taxon> . -<http://environment.data.gov.au/def/op#hostOrganism> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#hostOrganism> <http://www.w3.org/2000/01/rdf-schema#comment> "In an observable property definition, the host-organism indicates the host taxon, optionally constrained by sex, age, size etc, for an observable property."^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#constraint> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#hostOrganism> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#constraint> . -<http://environment.data.gov.au/def/op#hostOrganism> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#constraint> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#constraint> <http://www.w3.org/2000/01/rdf-schema#label> "constraint"@en . -<http://environment.data.gov.au/def/op#constraint> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#constraint> <http://www.w3.org/2000/01/rdf-schema#comment> "Constraint that refines the definition of an observable property definition. This may include concerns such as realm of application, substance or taxon involved, host organism, matrix, applicable units or vocabulary. "^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#constraint> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#propertyKind> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#propertyKind> <http://www.w3.org/2000/01/rdf-schema#label> "property kind"@en . -<http://environment.data.gov.au/def/op#propertyKind> <http://www.w3.org/2000/01/rdf-schema#range> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#propertyKind> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#applicableVocabulary> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#applicableVocabulary> <http://www.w3.org/2000/01/rdf-schema#label> "applicable vocabulary"@en . -<http://environment.data.gov.au/def/op#applicableVocabulary> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#QualityKind> . -<http://environment.data.gov.au/def/op#applicableVocabulary> <http://www.w3.org/2000/01/rdf-schema#comment> "In an observable property definition, the applicable vocabulary is the set of terms or concepts from which a nominal value must be drawn. \r\n\r\nCompare with QUDT2 'applicable unit'"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#applicableVocabulary> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#qualityKind> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#qualityKind> <http://www.w3.org/2000/01/rdf-schema#label> "quality kind"@en . -<http://environment.data.gov.au/def/op#qualityKind> <http://www.w3.org/2000/01/rdf-schema#range> <http://environment.data.gov.au/def/op#QualityKind> . -<http://environment.data.gov.au/def/op#qualityKind> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#propertyKind> . -<http://environment.data.gov.au/def/op#qualityKind> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://qudt.org/schema/qudt#quantityKind> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#propertyKind> . -<http://environment.data.gov.au/def/op#qualityKind> <http://www.w3.org/2002/07/owl#propertyDisjointWith> <http://qudt.org/schema/qudt#quantityKind> . -<http://environment.data.gov.au/def/op#procedure> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#procedure> <http://www.w3.org/2000/01/rdf-schema#label> "procedure"@en . -<http://environment.data.gov.au/def/op#procedure> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#procedure> <http://www.w3.org/2000/01/rdf-schema#comment> "The procedure is a description of the procedure, algorithm, protocol or sensor system used in making observation or estimate of property value"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#procedure> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#constraint> . -<http://environment.data.gov.au/def/op#procedure> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/2000/01/rdf-schema#label> "object of interest"@en . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/2000/01/rdf-schema#range> <http://environment.data.gov.au/def/op#Substance> . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/2000/01/rdf-schema#comment> "In an observable property definition, this is the substance whose concentration, presence, or similar is of interest. "^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#constraint> . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#substance> <http://www.w3.org/2002/07/owl#equivalentProperty> <http://environment.data.gov.au/def/op#objectOfInterest> . -<http://environment.data.gov.au/def/op#matrix> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#matrix> <http://www.w3.org/2000/01/rdf-schema#label> "matrix"@en . -<http://environment.data.gov.au/def/op#matrix> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#matrix> <http://www.w3.org/2000/01/rdf-schema#comment> "In an observable property definition, the matrix is the material context (container feature or medium) for an observable property."^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#matrix> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#constraint> . -<http://environment.data.gov.au/def/op#matrix> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#featureOfInterest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<http://environment.data.gov.au/def/op#featureOfInterest> <http://www.w3.org/2000/01/rdf-schema#label> "feature of interest"@en . -<http://environment.data.gov.au/def/op#featureOfInterest> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#PropertyKind> . -<http://environment.data.gov.au/def/op#featureOfInterest> <http://www.w3.org/2000/01/rdf-schema#comment> "In an observable property definition, the feature-of-interest constrains the feature realm that the property is associated with."^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#featureOfInterest> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://environment.data.gov.au/def/op#constraint> . -<http://environment.data.gov.au/def/op#featureOfInterest> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/op#cas-number> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<http://environment.data.gov.au/def/op#cas-number> <http://www.w3.org/2000/01/rdf-schema#label> "CAS Number"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/op#cas-number> <http://www.w3.org/2000/01/rdf-schema#range> <http://environment.data.gov.au/def/op#CAS-number> . -<http://environment.data.gov.au/def/op#cas-number> <http://www.w3.org/2000/01/rdf-schema#domain> <http://environment.data.gov.au/def/op#Substance> . -<http://environment.data.gov.au/def/op#cas-number> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2004/02/skos/core#notation> . -<http://environment.data.gov.au/def/op#cas-number> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://environment.data.gov.au/def/op> . -<http://qudt.org/schema/qudt#specialization> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2004/02/skos/core#narrower> . -<http://environment.data.gov.au/def/_op> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/linked-data/registry#RegisterItem> . -<http://environment.data.gov.au/def/_op> <http://purl.org/linked-data/registry#notation> "op" . -<http://environment.data.gov.au/def/_op> <http://purl.org/dc/terms/description> "A general purpose ontology for observable properties. The ontology supports description of both qualitative and quantitative properties. The allowed scale or units of measure may be specified. A property may be linked to substances-or-taxa and to features or realms, if they play a role in the definition. "^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/_op> <http://purl.org/dc/terms/dateAccepted> "2016-02-15T01:05:23.073Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> . -<http://environment.data.gov.au/def/_op> <http://purl.org/linked-data/registry#itemClass> <http://www.w3.org/2002/07/owl#Ontology> . -<http://environment.data.gov.au/def/_op> <http://purl.org/dc/terms/dateAccepted> "2016-02-16T04:16:54.215Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> . -_:genid8 <http://purl.org/linked-data/registry#sourceGraph> <http://environment.data.gov.au/def/_op:4#graph> . -_:genid8 <http://purl.org/linked-data/registry#entity> <http://environment.data.gov.au/def/op> . -<http://environment.data.gov.au/def/_op> <http://purl.org/linked-data/registry#definition> _:genid8 . -<http://environment.data.gov.au/def/_op> <http://purl.org/dc/terms/modified> "2016-02-28T06:26:54.954Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> . -<http://environment.data.gov.au/def/_op> <http://purl.org/linked-data/registry#itemClass> <http://purl.org/vocommons/voaf#Vocabulary> . -<http://environment.data.gov.au/def/_op> <http://www.w3.org/2002/07/owl#versionInfo> "4"^^<http://www.w3.org/2001/XMLSchema#integer> . -_:genid9 <http://xmlns.com/foaf/0.1/accountName> "simon.cox@csiro.au" . -_:genid9 <http://xmlns.com/foaf/0.1/name> "Simon Cox (email)" . -<http://environment.data.gov.au/def/_op> <http://purl.org/linked-data/registry#submitter> _:genid9 . -<http://environment.data.gov.au/def/_op> <http://purl.org/dc/terms/dateSubmitted> "2016-02-15T01:05:11.079Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> . -<http://environment.data.gov.au/def/_op> <http://www.w3.org/2000/01/rdf-schema#label> "Observable-Properties ontology"^^<http://www.w3.org/2001/XMLSchema#string> . -<http://environment.data.gov.au/def/_op> <http://purl.org/linked-data/registry#status> <http://purl.org/linked-data/registry#statusStable> . -<http://environment.data.gov.au/def/_op> <http://purl.org/linked-data/registry#register> <http://environment.data.gov.au/def> . diff --git a/fda-units-service/onto/iaq.nt b/fda-units-service/onto/iaq.nt deleted file mode 100644 index 82ff3e72d561752ece544a251d9c1dca44cedb0d..0000000000000000000000000000000000000000 --- a/fda-units-service/onto/iaq.nt +++ /dev/null @@ -1,561 +0,0 @@ -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://www.w3.org/2002/07/owl#imports> <http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire/ontology.ttl> . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://www.w3.org/2002/07/owl#imports> <https://w3id.org/bot#> . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://www.w3.org/2002/07/owl#imports> <https://w3id.org/digitalconstruction/Information> . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/dc/elements/1.1/creator> "Kostas Tsatsakis (kostas@suite5.eu)" . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/dc/elements/1.1/creator> "Spiros Kousouris (spiros@suite5.eu)" . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/dc/terms/abstract> "Indoor Air Quality ontology provides an operational framework for the orchestration of heterogeneous (environmental-, health-, user profile- related) data, in order to support user-oriented behavioral profile that incorporates also health related parameters." . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/dc/terms/contributor> "Seppo Törmä" . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/dc/terms/description> "The IAQ Ontology formalise the model to be considered for IAQ modeling in the building environment." . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/dc/terms/license> <https://creativecommons.org/licenses/by/4.0/> . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/dc/terms/title> "Digital Construction - IndoorAirQuality" . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/vocab/vann/preferredNamespacePrefix> "diciaq" . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://purl.org/vocab/vann/preferredNamespaceUri> "https://w3id.org/digitalconstruction/IndoorAirQuality" . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://www.w3.org/2000/01/rdf-schema#comment> "The IAQ ontology was created by SUITE5 in the BIM4EEB project (GA 820660), supported through the EU Horizon 2020 Research and Innovation Programme under the topic Building information modelling adapted to efficient renovation (RIA). " . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://www.w3.org/2000/01/rdf-schema#label> "Digital construction - IndoorAirQuality" . -<https://w3id.org/digitalconstruction/IndoorAirQuality> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <https://w3id.org/digitalconstruction> . -# -# -# ################################################################# -# # -# # Annotation properties -# # -# ################################################################# -# -# -# http://purl.org/dc/elements/1.1/creator -<http://purl.org/dc/elements/1.1/creator> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> . -# -# http://purl.org/dc/elements/1.1/rights -<http://purl.org/dc/elements/1.1/rights> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> . -# -# -# -# ################################################################# -# # -# # Datatypes -# # -# ################################################################# -# -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Allergy -<https://w3id.org/digitalconstruction/IndoorAirQuality#Allergy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#CO -<https://w3id.org/digitalconstruction/IndoorAirQuality#CO> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#CO2 -<https://w3id.org/digitalconstruction/IndoorAirQuality#CO2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Disease -<https://w3id.org/digitalconstruction/IndoorAirQuality#Disease> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#ISO450001 -<https://w3id.org/digitalconstruction/IndoorAirQuality#ISO450001> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#NOx -<https://w3id.org/digitalconstruction/IndoorAirQuality#NOx> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#PM10 -<https://w3id.org/digitalconstruction/IndoorAirQuality#PM10> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#PM25 -<https://w3id.org/digitalconstruction/IndoorAirQuality#PM25> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#WHO -<https://w3id.org/digitalconstruction/IndoorAirQuality#WHO> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#tVOC -<https://w3id.org/digitalconstruction/IndoorAirQuality#tVOC> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> . -# -# -# -# ################################################################# -# # -# # Object Properties -# # -# ################################################################# -# -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasActivities -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasActivities> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasActivities> <http://www.w3.org/2000/01/rdf-schema#comment> "relationship of a Zone with the associated activities" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasAirQualityStation -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasAirQualityStation> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasAirQualityStation> <http://www.w3.org/2000/01/rdf-schema#comment> "Air Quality Sstation is placed at specific zone/location" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasFunction -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasFunction> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasFunction> <http://www.w3.org/2000/01/rdf-schema#comment> "relationship of an IAQ performance with a specific recommendation" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasHealthImpact -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasHealthImpact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasHealthImpact> <http://www.w3.org/2000/01/rdf-schema#comment> "the condition has a health impact" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasHealthProblem -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasHealthProblem> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasHealthProblem> <http://www.w3.org/2000/01/rdf-schema#comment> "relationship of a situation with a specific health issue" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasImpact -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasImpact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasImpact> <http://www.w3.org/2000/01/rdf-schema#comment> "An IAQ condition is associated with a health condition" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasMaxAspects -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasMaxAspects> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasMaxAspects> <http://www.w3.org/2000/01/rdf-schema#comment> "the regulation specifies the boundaries for IAQ parameters" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasObservations -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasObservations> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasObservations> <http://www.w3.org/2000/01/rdf-schema#comment> "A class has observations over specific metrics" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasOccupants -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasOccupants> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasOccupants> <http://www.w3.org/2000/01/rdf-schema#comment> "A building zone is assigned with specific occupants" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasProcedure -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasProcedure> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasProcedure> <http://www.w3.org/2000/01/rdf-schema#comment> "relationshipf of an IAQ KPI with a specific calculation procedure" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasSource -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasSource> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasSource> <http://www.w3.org/2000/01/rdf-schema#comment> "IAQ has a specific source" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasZoneReference -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasZoneReference> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasZoneReference> <http://www.w3.org/2000/01/rdf-schema#comment> "relationship of a regulation with a specific buidling/zone" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#isDefined -<https://w3id.org/digitalconstruction/IndoorAirQuality#isDefined> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#isDefined> <http://www.w3.org/2000/01/rdf-schema#comment> "the key IAQ metrics/parameters are specified in the regulation" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#isRelated -<https://w3id.org/digitalconstruction/IndoorAirQuality#isRelated> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#isRelated> <http://www.w3.org/2000/01/rdf-schema#comment> "relationship of an IAQ condition with an activity" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#relatedToPerformance -<https://w3id.org/digitalconstruction/IndoorAirQuality#relatedToPerformance> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#relatedToPerformance> <http://www.w3.org/2000/01/rdf-schema#comment> "the condition has IAQ Performance (KPI values)" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#relatestoConditions -<https://w3id.org/digitalconstruction/IndoorAirQuality#relatestoConditions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . -# -# -# -# ################################################################# -# # -# # Data properties -# # -# ################################################################# -# -# -# http://purl.org/dc/elements/1.1/date -<http://purl.org/dc/elements/1.1/date> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -# -# http://purl.org/dc/elements/1.1/title -<http://purl.org/dc/elements/1.1/title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#classificationParameters -<https://w3id.org/digitalconstruction/IndoorAirQuality#classificationParameters> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasAirExchangeRate -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasAirExchangeRate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasAirExchangeRate> <http://www.w3.org/2000/01/rdf-schema#comment> "The air exchange rate for a specific building zone" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> <http://www.w3.org/2000/01/rdf-schema#comment> "A class has a specific description" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasEffectiveDate -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasEffectiveDate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasEffectiveDate> <http://www.w3.org/2000/01/rdf-schema#comment> "A regulation has an effective date" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasEndTime -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasEndTime> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasEndTime> <http://www.w3.org/2000/01/rdf-schema#comment> "End time of a process" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#CO> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#CO2> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#NOx> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#PM10> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#PM25> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#tVOC> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> <http://www.w3.org/2000/01/rdf-schema#comment> "IAQ types of interest" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasMaxConstraint -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasMaxConstraint> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasMaxConstraint> <http://www.w3.org/2000/01/rdf-schema#comment> "The value has a max constraint" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasName -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasName> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasName> <http://www.w3.org/2000/01/rdf-schema#comment> "the class has a name" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasPublisher -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasPublisher> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasPublisher> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#ISO450001> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasPublisher> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#WHO> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasPublisher> <http://www.w3.org/2000/01/rdf-schema#comment> "the regulation has an authority responsible for" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasSourceRate -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasSourceRate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasSourceRate> <http://www.w3.org/2000/01/rdf-schema#comment> "The resource rate of a specific IAQ source" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasStartTime -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasStartTime> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasStartTime> <http://www.w3.org/2000/01/rdf-schema#comment> "The class has a start time" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#hasType -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasType> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasType> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#Allergy> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasType> <http://www.w3.org/2000/01/rdf-schema#range> <https://w3id.org/digitalconstruction/IndoorAirQuality#Disease> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#hasType> <http://www.w3.org/2000/01/rdf-schema#comment> "A health issue has a specific type" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#probabilisticParameters -<https://w3id.org/digitalconstruction/IndoorAirQuality#probabilisticParameters> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#timeStamp -<https://w3id.org/digitalconstruction/IndoorAirQuality#timeStamp> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#timeStamp> <http://www.w3.org/2000/01/rdf-schema#comment> "A specific timestamp for an observation" . -# -# -# -# ################################################################# -# # -# # Classes -# # -# ################################################################# -# -# -# http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityObservation -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityObservation> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityObservation> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid1 . -_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid1 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasSource> . -_:genid1 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/bot#Element> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityObservation> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid2 . -_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid2 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#isRelated> . -_:genid2 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/digitalconstruction/IndoorAirQuality#IndoorActivity> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityObservation> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid3 . -_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid3 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasSourceRate> . -_:genid3 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#float> . -# -# http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityProperty -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid4 . -_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid4 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasImpact> . -_:genid4 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid5 . -_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid5 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#isDefined> . -_:genid5 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid6 . -_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid6 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid6 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid7 . -_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid7 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasIAQType> . -_:genid7 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -# -# http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualitySensor -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualitySensor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualitySensor> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid8 . -_:genid8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid8 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid8 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualitySensor> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid9 . -_:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid9 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasName> . -_:genid9 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -# -# http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityStation -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityStation> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityStation> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid10 . -_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid10 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/title> . -_:genid10 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityStation> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid11 . -_:genid11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid11 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid11 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -# -# http://www.w3.org/ns/sosa/ObservableProperty -<http://www.w3.org/ns/sosa/ObservableProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -# -# http://www.w3.org/ns/sosa/Procedure -<http://www.w3.org/ns/sosa/Procedure> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -# -# https://w3id.org/bot#Element -<https://w3id.org/bot#Element> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid12 . -_:genid12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid12 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/title> . -_:genid12 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/bot#Element> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid13 . -_:genid13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid13 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid13 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/bot#Element> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid14 . -_:genid14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid14 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasSourceRate> . -_:genid14 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#float> . -# -# https://w3id.org/bot#Zone -<https://w3id.org/bot#Zone> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid15 . -_:genid15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid15 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/bot#hasElement> . -_:genid15 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/bot#Element> . -<https://w3id.org/bot#Zone> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid16 . -_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid16 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasActivities> . -_:genid16 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/digitalconstruction/IndoorAirQuality#IndoorActivity> . -<https://w3id.org/bot#Zone> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid17 . -_:genid17 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid17 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasAirQualityStation> . -_:genid17 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityStation> . -<https://w3id.org/bot#Zone> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid18 . -_:genid18 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid18 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasOccupants> . -_:genid18 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://xmlns.com/foaf/0.1/Person> . -<https://w3id.org/bot#Zone> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid19 . -_:genid19 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid19 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#relatedToPerformance> . -_:genid19 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> . -<https://w3id.org/bot#Zone> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid20 . -_:genid20 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid20 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasAirExchangeRate> . -_:genid20 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#float> . -<https://w3id.org/bot#Zone> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid21 . -_:genid21 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid21 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid21 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/bot#Zone> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid22 . -_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid22 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasName> . -_:genid22 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Activity -<https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid23 . -_:genid23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid23 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/bot#hasElement> . -_:genid23 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/bot#Element> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid24 . -_:genid24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid24 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#relatedToPerformance> . -_:genid24 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid25 . -_:genid25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid25 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/title> . -_:genid25 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid26 . -_:genid26 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid26 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasEndTime> . -_:genid26 <http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/2001/XMLSchema#dateTimeStamp> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid27 . -_:genid27 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid27 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasStartTime> . -_:genid27 <http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/2001/XMLSchema#dateTimeStamp> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> <http://www.w3.org/2000/01/rdf-schema#comment> "An entity representing occupants physical exercise as a main entity of the Occupants Behaviour Ontology" . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> <http://www.w3.org/2000/01/rdf-schema#label> "Building related Activity" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance -<https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/ns/sosa/ObservableProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid28 . -_:genid28 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid28 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasMaxAspects> . -_:genid28 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid29 . -_:genid29 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid29 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasProcedure> . -_:genid29 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/ns/sosa/Procedure> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid30 . -_:genid30 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid30 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid30 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid31 . -_:genid31 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid31 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasMaxConstraint> . -_:genid31 <http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/2001/XMLSchema#float> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> <http://www.w3.org/2000/01/rdf-schema#comment> "An entity for representing the index levels that correspond to specific air pollutant measurements' ranges." . -<https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> <http://www.w3.org/2000/01/rdf-schema#label> "IAQ Index" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Classification -<https://w3id.org/digitalconstruction/IndoorAirQuality#Classification> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Classification> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Classification> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid32 . -_:genid32 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid32 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#classificationParameters> . -_:genid32 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2002/07/owl#rational> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Classification> <http://www.w3.org/2000/01/rdf-schema#comment> "A classification analysis model for the extraction fo IAQ parameters" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod -<https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/ns/sosa/Procedure> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid33 . -_:genid33 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid33 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasObservations> . -_:genid33 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityObservation> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid34 . -_:genid34 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid34 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/date> . -_:genid34 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#dateTime> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid35 . -_:genid35 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid35 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/title> . -_:genid35 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid36 . -_:genid36 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid36 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid36 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#comment> "A data driven approach for the extraction of IAQ KPIs based on existing data" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Device -<https://w3id.org/digitalconstruction/IndoorAirQuality#Device> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Device> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://w3id.org/bot#Element> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Device> <http://www.w3.org/2000/01/rdf-schema#comment> "Bulding Device and equipment" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem -<https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://purl.obolibrary.org/obo/BFO_0000016> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid37 . -_:genid37 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid37 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#relatestoConditions> . -_:genid37 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityProperty> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid38 . -_:genid38 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid38 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/title> . -_:genid38 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid39 . -_:genid39 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid39 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid39 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid40 . -_:genid40 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid40 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasType> . -_:genid40 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> <http://www.w3.org/2000/01/rdf-schema#comment> "An entity for representing possible health problems the users may specify in their user profile." . -<https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> <http://www.w3.org/2000/01/rdf-schema#label> "HealthProblem" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#IndoorActivity -<https://w3id.org/digitalconstruction/IndoorAirQuality#IndoorActivity> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#IndoorActivity> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://purl.obolibrary.org/obo/BFO_0000015> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#IndoorActivity> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://w3id.org/digitalconstruction/IndoorAirQuality#Activity> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#IndoorActivity> <http://www.w3.org/2000/01/rdf-schema#comment> "Any activity performed indoors." . -<https://w3id.org/digitalconstruction/IndoorAirQuality#IndoorActivity> <http://www.w3.org/2000/01/rdf-schema#label> "IndoorActivity" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Material -<https://w3id.org/digitalconstruction/IndoorAirQuality#Material> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Material> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://w3id.org/bot#Element> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Material> <http://www.w3.org/2000/01/rdf-schema#comment> "Building Material" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#ModelDrivenMethod -<https://w3id.org/digitalconstruction/IndoorAirQuality#ModelDrivenMethod> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#ModelDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://www.w3.org/ns/sosa/Procedure> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#ModelDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid41 . -_:genid41 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid41 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasObservations> . -_:genid41 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://vocab.linkeddata.es/datosabiertos/def/medio-ambiente/calidad-aire#AirQualityObservation> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#ModelDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid42 . -_:genid42 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid42 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/date> . -_:genid42 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#dateTime> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#ModelDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid43 . -_:genid43 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid43 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/title> . -_:genid43 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#ModelDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid44 . -_:genid44 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid44 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid44 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#ModelDrivenMethod> <http://www.w3.org/2000/01/rdf-schema#comment> "A model driven approach for the extraction of IAQ KPIs based on existing metrics" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Probabilistic -<https://w3id.org/digitalconstruction/IndoorAirQuality#Probabilistic> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Probabilistic> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://w3id.org/digitalconstruction/IndoorAirQuality#DataDrivenMethod> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Probabilistic> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid45 . -_:genid45 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid45 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#probabilisticParameters> . -_:genid45 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2002/07/owl#rational> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Probabilistic> <http://www.w3.org/2000/01/rdf-schema#comment> "A probablistic analysis model for the extraction fo IAQ parameters" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#RecommendMessages -<https://w3id.org/digitalconstruction/IndoorAirQuality#RecommendMessages> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RecommendMessages> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://w3id.org/digitalconstruction/Information#Recommendation> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RecommendMessages> <http://www.w3.org/2000/01/rdf-schema#comment> "Personalised recommendation for provision, a direct/indirect user may be provided upon request with one or more message, relevant to his/her preferences." . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RecommendMessages> <http://www.w3.org/2000/01/rdf-schema#label> "IndoorAirQualityRecommendation" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://w3id.org/digitalconstruction/Information#RegulatoryOrder> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid46 . -_:genid46 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid46 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasHealthImpact> . -_:genid46 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/digitalconstruction/IndoorAirQuality#HealthProblem> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid47 . -_:genid47 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid47 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasZoneReference> . -_:genid47 <http://www.w3.org/2002/07/owl#someValuesFrom> <https://w3id.org/bot#Zone> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid48 . -_:genid48 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid48 <http://www.w3.org/2002/07/owl#onProperty> <http://purl.org/dc/elements/1.1/title> . -_:genid48 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid49 . -_:genid49 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid49 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasDescription> . -_:genid49 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid50 . -_:genid50 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid50 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasEffectiveDate> . -_:genid50 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#dateTime> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid51 . -_:genid51 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> . -_:genid51 <http://www.w3.org/2002/07/owl#onProperty> <https://w3id.org/digitalconstruction/IndoorAirQuality#hasPublisher> . -_:genid51 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2001/XMLSchema#string> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#comment> "Regulation and Safety IAQ constrains as set by the respective regulation of each country or at international level" . -<https://w3id.org/digitalconstruction/IndoorAirQuality#RegulationProperty> <http://www.w3.org/2000/01/rdf-schema#label> "IndoorAirQualityRegulation" . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#TipOTheDay -<https://w3id.org/digitalconstruction/IndoorAirQuality#TipOTheDay> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#TipOTheDay> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://w3id.org/digitalconstruction/Information#Recommendation> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#TipOTheDay> <http://www.w3.org/2000/01/rdf-schema#comment> "A generic tip for the conditions in building premises" . -<https://w3id.org/digitalconstruction/IndoorAirQuality#TipOTheDay> <http://www.w3.org/2000/01/rdf-schema#label> "IndoorAirQualityTipOfTheDay" . -# -# -# -# ################################################################# -# # -# # Individuals -# # -# ################################################################# -# -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#AQI -<https://w3id.org/digitalconstruction/IndoorAirQuality#AQI> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#NamedIndividual> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#AQI> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#BILGA -<https://w3id.org/digitalconstruction/IndoorAirQuality#BILGA> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#NamedIndividual> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Confinement_Index -<https://w3id.org/digitalconstruction/IndoorAirQuality#Confinement_Index> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#NamedIndividual> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Confinement_Index> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#GAPI -<https://w3id.org/digitalconstruction/IndoorAirQuality#GAPI> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#NamedIndividual> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#GAPI> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#IAPI -<https://w3id.org/digitalconstruction/IndoorAirQuality#IAPI> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#NamedIndividual> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#IAPI> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> . -# -# https://w3id.org/digitalconstruction/IndoorAirQuality#Pollution_Index -<https://w3id.org/digitalconstruction/IndoorAirQuality#Pollution_Index> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#NamedIndividual> . -<https://w3id.org/digitalconstruction/IndoorAirQuality#Pollution_Index> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/digitalconstruction/IndoorAirQuality#AirQualityPerformance> . -# -# Generated by the OWL API (version 5.1.11) https://github.com/owlcs/owlapi/ diff --git a/fda-units-service/onto_feat.py b/fda-units-service/onto_feat.py new file mode 100644 index 0000000000000000000000000000000000000000..8b13d7cd5e95b033c6a44d4157ee29f4d7f87fd2 --- /dev/null +++ b/fda-units-service/onto_feat.py @@ -0,0 +1,53 @@ +import re +import glob +import sys +import os +from pathlib import Path + +ALLOWED_EXTENSIONS = {'ttl', 'nt'} + +ONTOLOGIES_DIRECTORY = 'ontologies' + +ONTOLOGY_EXTENSIONS = {'.ttl': 'turtle', '.nt': 'nt'} + +def search_ontologies(query, limit=sys.maxsize, offset=0): + if not bool(re.match('^[a-zA-Z0-9\-\\\s]+$', query)): + return None + ontology_files = glob.glob(ONTOLOGIES_DIRECTORY + "/*") + matches = [] + for file in ontology_files: + format = ONTOLOGY_EXTENSIONS[Path(file).suffix] + g = rdflib.Graph() + g.parse(file, format=format) + l_query = """ + SELECT ?s ?p ?o + WHERE{ + ?s ?p ?o . + FILTER regex(str(?s),\"""" + query + """\","i") + }LIMIT """ + str(limit) + """ OFFSET """ + str(offset) + qres1 = g.query(l_query) + for row in qres1: + matches.append({"S-URI": str(row.s), "P": str(row.p), "O": str(row.o)}) + return matches +def setup_ontology_dir(): + if not os.path.exists(ONTOLOGIES_DIRECTORY): + os.mkdir(ONTOLOGIES_DIRECTORY) +def list_ontologies(): + setup_ontology_dir() + return list(map(lambda filename: Path(filename).stem, glob.glob(ONTOLOGIES_DIRECTORY + "/*"))) + +def ontology_exists(name): + setup_ontology_dir() + return name in list_ontologies() + +def get_ontology(name): + setup_ontology_dir() + files = glob.glob(ONTOLOGIES_DIRECTORY + "/" + name + ".*") + if len(files) == 0: + return None + with open(files[0]) as f: + return f.read() + +def allowed_file(filename): + return '.' in filename and \ + filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS \ No newline at end of file diff --git a/fda-units-service/onto/VOCAB_QUDT-UNITS-ALL-v2.1.ttl b/fda-units-service/ontologies/VOCAB_QUDT-UNITS-ALL-v2.1.ttl similarity index 100% rename from fda-units-service/onto/VOCAB_QUDT-UNITS-ALL-v2.1.ttl rename to fda-units-service/ontologies/VOCAB_QUDT-UNITS-ALL-v2.1.ttl diff --git a/fda-units-service/onto/om-2.ttl b/fda-units-service/ontologies/om-2.ttl similarity index 100% rename from fda-units-service/onto/om-2.ttl rename to fda-units-service/ontologies/om-2.ttl diff --git a/fda-units-service/us-yml/geturi.yml b/fda-units-service/us-yml/geturi.yml index b79cf9032756db339a57ad2b7e76ae57da57e13b..8519087dcd9ceae9bb21bef099759dc4c02f8064 100644 --- a/fda-units-service/us-yml/geturi.yml +++ b/fda-units-service/us-yml/geturi.yml @@ -8,7 +8,7 @@ parameters: - in: "path" type: "string" name: "uname" - description: "to-do description" + description: "Name of a unit in OM" required: true responses: 200: diff --git a/fda-units-service/us-yml/ontologie.yml b/fda-units-service/us-yml/ontologie.yml new file mode 100644 index 0000000000000000000000000000000000000000..3e5edc56014eede029262bb9be7481d5e21bd206 --- /dev/null +++ b/fda-units-service/us-yml/ontologie.yml @@ -0,0 +1,18 @@ +summary: "Get ontology" +description: "This is a simple API for getting ontologies (.nt, .ttl files) used in DB-Repo." +consumes: +- "application/json" +produces: +- "application/json" +parameters: +- name: file + required: false + in: formData + type: file +responses: + 200: + description: "OK" + 201: + description: "Created" + 405: + description: "Invalid input" \ No newline at end of file diff --git a/fda-units-service/us-yml/ontologies.yml b/fda-units-service/us-yml/ontologies.yml new file mode 100644 index 0000000000000000000000000000000000000000..348024df3b1b283eaad118947f6879e075dda7ae --- /dev/null +++ b/fda-units-service/us-yml/ontologies.yml @@ -0,0 +1,11 @@ +summary: "Get list of ontologies" +description: "This is a simple API for getting the list of all ontologies contained in DB-Repo." +consumes: +- "application/json" +produces: +- "application/json" +responses: + 200: + description: "OK" + 405: + description: "Invalid input" \ No newline at end of file diff --git a/fda-units-service/us-yml/savecolumnsconcept.yml b/fda-units-service/us-yml/savecolumnsconcept.yml index b391fd4f77c1819565dc8cd6ae533cc566c38b9b..4d5d6c3ead1cd5fd180fdbcc38ef964905b46134 100644 --- a/fda-units-service/us-yml/savecolumnsconcept.yml +++ b/fda-units-service/us-yml/savecolumnsconcept.yml @@ -7,7 +7,7 @@ produces: parameters: - in: "body" name: "body" - description: "to-do description" + description: "JSON containing cdbid (database ID), cid (column ID), tid (table ID), uri (URI of the concept). Make sure the concept already exists in the MDB. " required: true schema: type: "object" diff --git a/fda-units-service/us-yml/saveconcept.yml b/fda-units-service/us-yml/saveconcept.yml index 509b71efb4c2798c2baa8e68b1a6750e41fdc330..3f29073b5c204b149540b6e16afa170804b6866e 100644 --- a/fda-units-service/us-yml/saveconcept.yml +++ b/fda-units-service/us-yml/saveconcept.yml @@ -7,7 +7,7 @@ produces: parameters: - in: "body" name: "body" - description: "to-do description" + description: "Json body containing name and uri, cf. example below." required: true schema: type: "object" diff --git a/fda-units-service/validate.py b/fda-units-service/validate.py index 215155387f152359f202df70e9fa5583f8057424..b3f12d3a761d54b8f5366e42c5a34f7513081876 100644 --- a/fda-units-service/validate.py +++ b/fda-units-service/validate.py @@ -8,7 +8,7 @@ Created on Thu Dec 2 23:31:39 2021 import rdflib g = rdflib.Graph() g.namespace_manager.bind('om', 'http://www.ontology-of-units-of-measure.org/resource/om-2/') -g.parse('onto/om-2.ttl', format='turtle') +g.parse('ontologies/om-2.ttl', format='turtle') om = rdflib.Namespace('http://www.ontology-of-units-of-measure.org/resource/om-2/') _exhausted = object()