Skip to content

Commit

Permalink
rdf+bcp47+hxl (#41): MDCIII.owl; maybe copy directly BFO? Hummm
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Jun 6, 2022
1 parent 0722863 commit b69f02b
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 13 deletions.
6 changes: 3 additions & 3 deletions officina/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ node_modules
# Use by some temporary files
*.TEMP.*

999999/0/
999999/0/*.*
999999/0/**
999999/0/*.ttl
# @TODO: eventualy fix the spelling of filename on 999999/0/.gitkep
!999999/0/.gitkeep
!999999/0/.gitkep
!999999999/1568346/*

catalog-v001.xml

# *.xml
# *.tmx
Expand Down
Empty file added officina/999999/0/.gitkeep
Empty file.
26 changes: 26 additions & 0 deletions officina/999999999/1568346/bcp47-to-hxl-to-rdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,29 @@ bcp47_and_hxlrdf_roundtrip__drill
# ./999999999/0/999999999_54872.py --objectivum-formato=_temp_bcp47_meta_in_json --rdf-namespaces-archivo=999999999/1568346/data/hxlstandard-rdf-namespaces-example.hxl.csv 999999999/1568346/data/unesco-thesaurus.bcp47g.tsv | jq > 999999/0/unesco-thesaurus.meta.json

# ./999999999/0/999999999_54872.py --objectivum-formato=_temp_bcp47_meta_in_json --rdf-namespaces-archivo=999999999/1568346/data/hxlstandard-rdf-namespaces-example.hxl.csv 999999999/1568346/data/unesco-thesaurus.bcp47g.tsv | jq > 999999/1568346/data/unesco-thesaurus.meta.json

#### BFO _______________________________________________________________________
# @see https://standards.iso.org/iso-iec/21838/-2/ed-1/en/
# @see https://basic-formal-ontology.org/

# rdfdiff 999999/0/bfo_classes_only.owl 999999/0/BFO-PT.owl

# riot --validate 999999/0/bfo_classes_only.owl
# riot --validate 999999/0/BFO-PT.owl
# riot --validate 999999/0/BFO-PT.owl.xml

# rdfdiff 999999/0/bfo_classes_only.owl 999999/0/BFO-PT.owl.xml RDF/XML RDF/XML http://purl.obolibrary.org/obo/ http://purl.obolibrary.org/obo/

# rdfdiff 999999/0/bfo_classes_only.owl 999999/0/BFO-PT.owl.xml RDF/XML RDF/XML http://purl.obolibrary.org/obo/ http://purl.obolibrary.org/obo/ > 999999/0/diff-obo-source-vs-pt.diff


# riot --quiet --output=ntriples 999999/0/BFO-PT.owl.xml > 999999/0/BFO-PT.owl.n3
# riot --quiet --output=ntriples 999999/0/bfo_classes_only.owl > 999999/0/bfo_classes_only.owl.n3

# rdfdiff 999999/0/bfo_classes_only.owl.n3 999999/0/BFO-PT.owl.n3 ntriples ntriples http://purl.obolibrary.org/obo/ http://purl.obolibrary.org/obo/
# rdfdiff 999999/0/bfo_classes_only.owl.n3 999999/0/BFO-PT.owl.n3 ntriples ntriples http://purl.obolibrary.org/obo/ http://purl.obolibrary.org/obo/ > 999999/0/diff-obo-source-vs-pt.diff

# rdfcompare 999999/0/bfo_classes_only.owl.n3 999999/0/BFO-PT.owl.n3 ntriples ntriples http://purl.obolibrary.org/obo/ http://purl.obolibrary.org/obo/


# 999999/0/21838-2/owl/bfo-2020.owl
22 changes: 12 additions & 10 deletions officina/MDCIII.owl
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
<?xml version="1.0"?>
<Ontology xmlns="http://www.w3.org/2002/07/owl#"
xml:base="urn:1603"
<rdf:RDF xmlns="urn:mdciii:#"
xml:base="urn:mdciii:"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:obo="http://purl.obolibrary.org/obo/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
ontologyIRI="urn:1603"
versionIRI="https://github.com/EticaAI/lexicographi-sine-finibus/blob/main/officina/MDCII.owl">
<Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/>
<Prefix name="rdf" IRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
<Prefix name="xml" IRI="http://www.w3.org/XML/1998/namespace"/>
<Prefix name="xsd" IRI="http://www.w3.org/2001/XMLSchema#"/>
<Prefix name="rdfs" IRI="http://www.w3.org/2000/01/rdf-schema#"/>
</Ontology>
xmlns:terms="http://purl.org/dc/terms/">
<owl:Ontology rdf:about="urn:mdciii:">
<owl:versionIRI rdf:resource="https://github.com/EticaAI/lexicographi-sine-finibus/blob/main/officina/MDCIII.owl"/>
<owl:imports rdf:resource="http://purl.obolibrary.org/obo/bfo/2019-08-26/bfo.owl"/>
</owl:Ontology>
</rdf:RDF>



Expand Down

0 comments on commit b69f02b

Please sign in to comment.