Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 56 additions & 1 deletion ontologies.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1560,6 +1560,28 @@ db/bfo2020_time.owl: download/bfo2020_time.owl
cp $< $@


download/saref.owl: STAMP
curl -L -s https://saref.etsi.org/core/ > $@.tmp
sha256sum -b $@.tmp > $@.sha256
mv $@.tmp $@

.PRECIOUS: download/saref.owl

db/saref.owl: download/saref.owl
curl -sL -H 'Accept: text/turtle' https://saref.etsi.org/core/ > $@.ttl && robot convert -i $@.ttl -o $@ && rm $@.ttl


download/saref4city.owl: STAMP
curl -L -s https://saref.etsi.org/saref4city/ > $@.tmp
sha256sum -b $@.tmp > $@.sha256
mv $@.tmp $@

.PRECIOUS: download/saref4city.owl

db/saref4city.owl: download/saref4city.owl
curl -sL -H 'Accept: text/turtle' https://saref.etsi.org/saref4city/ > $@.ttl && robot convert -i $@.ttl -o $@ && rm $@.ttl


download/saref4ener.owl: STAMP
curl -L -s https://saref.etsi.org/saref4ener/ > $@.tmp
sha256sum -b $@.tmp > $@.sha256
Expand Down Expand Up @@ -1670,6 +1692,39 @@ db/sulo.owl: download/sulo.owl
robot merge -i $< -o $@


download/uco.owl: STAMP
curl -L -s https://ontology.unifiedcyberontology.org/uco/uco > $@.tmp
sha256sum -b $@.tmp > $@.sha256
mv $@.tmp $@

.PRECIOUS: download/uco.owl

db/uco.owl: download/uco.owl
printf '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#"><owl:Ontology rdf:about="http://purl.org/co"/></rdf:RDF>' > $@.stub.owl && printf '<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"><uri name="http://purl.org/co" uri="$(notdir $@).stub.owl"/></catalog>' > $@.catalog.xml && robot merge --catalog $@.catalog.xml -i $< -o $@ && rm $@.stub.owl $@.catalog.xml


download/d3fend.owl: STAMP
curl -L -s https://d3fend.mitre.org/ontologies/d3fend.owl > $@.tmp
sha256sum -b $@.tmp > $@.sha256
mv $@.tmp $@

.PRECIOUS: download/d3fend.owl

db/d3fend.owl: download/d3fend.owl
cp $< $@


download/codamos.owl: STAMP
curl -L -s https://raw.githubusercontent.com/city-artificial-intelligence/diso/main/context-awareness/CoDAMoS/CoDAMoS.owl > $@.tmp
sha256sum -b $@.tmp > $@.sha256
mv $@.tmp $@

.PRECIOUS: download/codamos.owl

db/codamos.owl: download/codamos.owl
cp $< $@


download/%.owl: STAMP
curl -L -s http://purl.obolibrary.org/obo/$*.owl > $@.tmp
sha256sum -b $@.tmp > $@.sha256
Expand All @@ -1680,4 +1735,4 @@ download/%.owl: STAMP
db/%.owl: download/%.owl
robot merge -i $< -o $@

EXTRA_ONTOLOGIES = swo chiro pcl chemessence ogco ncit fma maxo foodon chebiplus msio chemrof deb matpo panet phenx pride sosa emi npc modl phenio comploinc hba mba dmba dhba pba bero aio reacto xsmo bcio sio icd10who icd11f ordo gard icd10cm omim mondo-ingest oeo envthes wifire taxslim goldterms sdgio kin metpo d3o biovoices omop comet cco occo iof upa go go-lego go-amigo neo bao orcid ror cpont biolink biopax enanomapper mlo ito chemont molgenie cso obiws biopragmatics-reactome reactome-hs reactome-mm efo hcao hpinternational edam chr sweetAll oboe-core oboe-standards lov schema-dot-org prov dtype vaem qudtunit quantitykind cellosaurus cosmo gist gistBFO fhkb dbpendiaont uberoncm co_324 ppeo interpro pfam hgnc.genegroup hgnc sgd gtdb eccode uniprot uniprot.ptm credit rhea swisslipid drugbank drugcentral complexportal wikipathways pathbank kegg.genome drugmechdb rxnorm vccf ontobiotope nando ecso enigma_context cbo ontie pain como ecosim bervo valuesets micront nmdc_schema mixs kgcl fibo bfo2020 bfo2020_core bfo2020_notime bfo2020_time saref4ener saref4bldg hhearvs sdoho pathgo brick minsysont cmso asmo sulo
EXTRA_ONTOLOGIES = swo chiro pcl chemessence ogco ncit fma maxo foodon chebiplus msio chemrof deb matpo panet phenx pride sosa emi npc modl phenio comploinc hba mba dmba dhba pba bero aio reacto xsmo bcio sio icd10who icd11f ordo gard icd10cm omim mondo-ingest oeo envthes wifire taxslim goldterms sdgio kin metpo d3o biovoices omop comet cco occo iof upa go go-lego go-amigo neo bao orcid ror cpont biolink biopax enanomapper mlo ito chemont molgenie cso obiws biopragmatics-reactome reactome-hs reactome-mm efo hcao hpinternational edam chr sweetAll oboe-core oboe-standards lov schema-dot-org prov dtype vaem qudtunit quantitykind cellosaurus cosmo gist gistBFO fhkb dbpendiaont uberoncm co_324 ppeo interpro pfam hgnc.genegroup hgnc sgd gtdb eccode uniprot uniprot.ptm credit rhea swisslipid drugbank drugcentral complexportal wikipathways pathbank kegg.genome drugmechdb rxnorm vccf ontobiotope nando ecso enigma_context cbo ontie pain como ecosim bervo valuesets micront nmdc_schema mixs kgcl fibo bfo2020 bfo2020_core bfo2020_notime bfo2020_time saref saref4city saref4ener saref4bldg hhearvs sdoho pathgo brick minsysont cmso asmo sulo uco d3fend codamos
25 changes: 25 additions & 0 deletions src/semsql/builder/prefixes/prefixes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,13 @@ mixs,https://w3id.org/mixs/
kgcl,https://w3id.org/kgcl/
fibo,https://spec.edmcouncil.org/fibo/ontology/
cmnsav,https://www.omg.org/spec/Commons/AnnotationVocabulary/
saref,https://saref.etsi.org/core/
s4syst,https://saref.etsi.org/saref4syst/
saref4city,https://saref.etsi.org/saref4city/
s4city,https://saref.etsi.org/saref4city/
saref,https://saref.etsi.org/core/
cpsv,http://purl.org/vocab/cpsv#
geo,http://www.opengis.net/ont/geosparql#
saref4ener,https://saref.etsi.org/saref4ener/
saref,https://saref.etsi.org/core/
s4ener,https://saref.etsi.org/saref4ener/
Expand Down Expand Up @@ -257,6 +264,24 @@ CDCO,http://purls.helmholtz-metadaten.de/cdos/cdco/
ASMO,https://purls.helmholtz-metadaten.de/asmo/
MDO.calculation,https://w3id.org/mdo/calculation/
sulo,https://w3id.org/sulo/
uco.action,https://ontology.unifiedcyberontology.org/uco/action/
uco.analysis,https://ontology.unifiedcyberontology.org/uco/analysis/
uco.configuration,https://ontology.unifiedcyberontology.org/uco/configuration/
uco.core,https://ontology.unifiedcyberontology.org/uco/core/
uco.identity,https://ontology.unifiedcyberontology.org/uco/identity/
uco.location,https://ontology.unifiedcyberontology.org/uco/location/
uco.marking,https://ontology.unifiedcyberontology.org/uco/marking/
uco.observable,https://ontology.unifiedcyberontology.org/uco/observable/
uco.pattern,https://ontology.unifiedcyberontology.org/uco/pattern/
uco.role,https://ontology.unifiedcyberontology.org/uco/role/
uco.time,https://ontology.unifiedcyberontology.org/uco/time/
uco.tool,https://ontology.unifiedcyberontology.org/uco/tool/
uco.types,https://ontology.unifiedcyberontology.org/uco/types/
uco.victim,https://ontology.unifiedcyberontology.org/uco/victim/
uco.vocabulary,https://ontology.unifiedcyberontology.org/uco/vocabulary/
uco.co,https://ontology.unifiedcyberontology.org/co/
d3f,http://d3fend.mitre.org/ontologies/d3fend.owl#
CoDAMoS,http://lpis.csd.auth.gr/ontologies/CoDAMoS/CoDAMoS.owl#
RBO,http://purl.obolibrary.org/obo/RBO_
RBO,http://purl.obolibrary.org/obo/RBO_
CLYH,http://purl.obolibrary.org/obo/CLYH_
Expand Down
25 changes: 25 additions & 0 deletions src/semsql/builder/prefixes/prefixes_local.csv
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@ mixs,https://w3id.org/mixs/
kgcl,https://w3id.org/kgcl/
fibo,https://spec.edmcouncil.org/fibo/ontology/
cmnsav,https://www.omg.org/spec/Commons/AnnotationVocabulary/
saref,https://saref.etsi.org/core/
s4syst,https://saref.etsi.org/saref4syst/
saref4city,https://saref.etsi.org/saref4city/
s4city,https://saref.etsi.org/saref4city/
saref,https://saref.etsi.org/core/
cpsv,http://purl.org/vocab/cpsv#
geo,http://www.opengis.net/ont/geosparql#
saref4ener,https://saref.etsi.org/saref4ener/
saref,https://saref.etsi.org/core/
s4ener,https://saref.etsi.org/saref4ener/
Expand Down Expand Up @@ -194,3 +201,21 @@ CDCO,http://purls.helmholtz-metadaten.de/cdos/cdco/
ASMO,https://purls.helmholtz-metadaten.de/asmo/
MDO.calculation,https://w3id.org/mdo/calculation/
sulo,https://w3id.org/sulo/
uco.action,https://ontology.unifiedcyberontology.org/uco/action/
uco.analysis,https://ontology.unifiedcyberontology.org/uco/analysis/
uco.configuration,https://ontology.unifiedcyberontology.org/uco/configuration/
uco.core,https://ontology.unifiedcyberontology.org/uco/core/
uco.identity,https://ontology.unifiedcyberontology.org/uco/identity/
uco.location,https://ontology.unifiedcyberontology.org/uco/location/
uco.marking,https://ontology.unifiedcyberontology.org/uco/marking/
uco.observable,https://ontology.unifiedcyberontology.org/uco/observable/
uco.pattern,https://ontology.unifiedcyberontology.org/uco/pattern/
uco.role,https://ontology.unifiedcyberontology.org/uco/role/
uco.time,https://ontology.unifiedcyberontology.org/uco/time/
uco.tool,https://ontology.unifiedcyberontology.org/uco/tool/
uco.types,https://ontology.unifiedcyberontology.org/uco/types/
uco.victim,https://ontology.unifiedcyberontology.org/uco/victim/
uco.vocabulary,https://ontology.unifiedcyberontology.org/uco/vocabulary/
uco.co,https://ontology.unifiedcyberontology.org/co/
d3f,http://d3fend.mitre.org/ontologies/d3fend.owl#
CoDAMoS,http://lpis.csd.auth.gr/ontologies/CoDAMoS/CoDAMoS.owl#
64 changes: 64 additions & 0 deletions src/semsql/builder/registry/ontologies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,25 @@ ontologies:
url: https://raw.githubusercontent.com/BFO-ontology/BFO-2020/master/src/owl/profiles/temporal%20extensions/temporalized%20relations/owl/bfo-temporalized-relations.owl

## SAREF and Building Ontologies
saref:
description: ETSI SAREF core - Smart Applications REFerence ontology for IoT devices, functions and measurements
url: https://saref.etsi.org/core/
# Needs content negotiation - curl -H "Accept: text/turtle"
build_command: "curl -sL -H 'Accept: text/turtle' https://saref.etsi.org/core/ > $@.ttl && robot convert -i $@.ttl -o $@ && rm $@.ttl"
prefixmap:
saref: https://saref.etsi.org/core/
s4syst: https://saref.etsi.org/saref4syst/
saref4city:
description: ETSI SAREF extension for smart cities (city objects, public services, KPIs)
url: https://saref.etsi.org/saref4city/
# Needs content negotiation - curl -H "Accept: text/turtle"
build_command: "curl -sL -H 'Accept: text/turtle' https://saref.etsi.org/saref4city/ > $@.ttl && robot convert -i $@.ttl -o $@ && rm $@.ttl"
prefixmap:
saref4city: https://saref.etsi.org/saref4city/
s4city: https://saref.etsi.org/saref4city/
saref: https://saref.etsi.org/core/
cpsv: http://purl.org/vocab/cpsv#
geo: "http://www.opengis.net/ont/geosparql#"
saref4ener:
description: ETSI SAREF extension for the energy domain (smart energy, demand response)
url: https://saref.etsi.org/saref4ener/
Expand Down Expand Up @@ -782,3 +801,48 @@ ontologies:
format: turtle
prefixmap:
sulo: https://w3id.org/sulo/

## Ontologies from the DISO collection (arXiv:2608.05867), civilian subset:
## context-awareness, smart environments, and cyber/digital-forensics vocabularies.
## See also brick, saref*, bfo* and cco entries above, which are also in DISO.
uco:
description: Unified Cyber Ontology - upper ontology for cyber investigation and digital forensics
url: https://ontology.unifiedcyberontology.org/uco/uco
# uco.rdf is a bare owl:imports wrapper over the module ontologies; all modules
# resolve over http except uco/types -> uco/co -> http://purl.org/co, whose host
# is dead, so that one import is redirected to an empty stub via an OWL catalog
has_imports: true
build_command: >-
printf '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#"><owl:Ontology rdf:about="http://purl.org/co"/></rdf:RDF>' > $@.stub.owl &&
printf '<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"><uri name="http://purl.org/co" uri="$(notdir $@).stub.owl"/></catalog>' > $@.catalog.xml &&
robot merge --catalog $@.catalog.xml -i $< -o $@ &&
rm $@.stub.owl $@.catalog.xml
prefixmap:
uco.action: https://ontology.unifiedcyberontology.org/uco/action/
uco.analysis: https://ontology.unifiedcyberontology.org/uco/analysis/
uco.configuration: https://ontology.unifiedcyberontology.org/uco/configuration/
uco.core: https://ontology.unifiedcyberontology.org/uco/core/
uco.identity: https://ontology.unifiedcyberontology.org/uco/identity/
uco.location: https://ontology.unifiedcyberontology.org/uco/location/
uco.marking: https://ontology.unifiedcyberontology.org/uco/marking/
uco.observable: https://ontology.unifiedcyberontology.org/uco/observable/
uco.pattern: https://ontology.unifiedcyberontology.org/uco/pattern/
uco.role: https://ontology.unifiedcyberontology.org/uco/role/
uco.time: https://ontology.unifiedcyberontology.org/uco/time/
uco.tool: https://ontology.unifiedcyberontology.org/uco/tool/
uco.types: https://ontology.unifiedcyberontology.org/uco/types/
uco.victim: https://ontology.unifiedcyberontology.org/uco/victim/
uco.vocabulary: https://ontology.unifiedcyberontology.org/uco/vocabulary/
uco.co: https://ontology.unifiedcyberontology.org/co/
d3fend:
description: D3FEND - knowledge graph of cybersecurity countermeasures and digital artifacts
url: https://d3fend.mitre.org/ontologies/d3fend.owl
prefixmap:
d3f: "http://d3fend.mitre.org/ontologies/d3fend.owl#"
codamos:
description: CoDAMoS - Context-Driven Adaptation of Mobile Services ontology (user, platform, service, environment)
# Original host (http://lpis.csd.auth.gr/ontologies/CoDAMoS/CoDAMoS.owl) is http-only;
# the DISO copy used here is byte-identical and served over https
url: https://raw.githubusercontent.com/city-artificial-intelligence/diso/main/context-awareness/CoDAMoS/CoDAMoS.owl
prefixmap:
CoDAMoS: "http://lpis.csd.auth.gr/ontologies/CoDAMoS/CoDAMoS.owl#"
Loading