@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix eo: <https://dfg-sos.github.io/ontologies/eo-formats#> .
@prefix oboInOwl: <http://www.geneontology.org/formats/oboInOwl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

<https://dfg-sos.github.io/ontologies/eo-formats> a owl:Ontology ;
    dcterms:description "Taxonomy of Earth Observation / GIS file formats." ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:publisher "DFG project SOS" ;
    dcterms:title "SOS Earth Observation file formats" ;
    rdfs:seeAlso <https://github.com/dfg-sos/ontologies> ;
    owl:versionIRI <https://dfg-sos.github.io/ontologies/releases/eo-formats/1.0.0/eo-formats.owl> ;
    owl:versionInfo "1.0.0" .

eo:COG a owl:Class ;
    rdfs:label "COG" ;
    oboInOwl:created_by "melibleq" ;
    oboInOwl:creation_date "2021-08-29T16:21:48.629321Z" ;
    oboInOwl:hasDefinition "Regular GeoTIFF file that can be hosted on a HTTP file server. The use of  HTTP GET range requests lets clients ask for just the necessary portions of a GeoTIFF file." ;
    oboInOwl:hasExactSynonym "Cloud Optimized GeoTIFF" ;
    rdfs:seeAlso <https://gdal.org/drivers/raster/cog.html>,
        <https://www.cogeo.org/> ;
    rdfs:subClassOf eo:GeoTIFF ;
    eo:documentation <https://docs.geoserver.org/latest/en/user/community/cog/cog.html> .

eo:DEM a owl:Class ;
    rdfs:label "DEM" ;
    oboInOwl:created_by "melibleq" ;
    oboInOwl:creation_date "2021-08-26T04:36:50.785363Z" ;
    oboInOwl:hasExactSynonym "Digital Elevation Model" ;
    rdfs:seeAlso <https://docs.fileformat.com/gis/dem/>,
        <https://library.carleton.ca/guides/help/dem-formats>,
        <https://www.loc.gov/preservation/digital/formats/fdd/fdd000285.shtml> ;
    rdfs:subClassOf eo:Raster ;
    eo:fileExtension ".tif",
        ".tiff" .

eo:DSM a owl:Class ;
    rdfs:label "DSM" ;
    oboInOwl:created_by "mpataky" ;
    oboInOwl:creation_date "2026-02-15T21:00:20+01:00" ;
    oboInOwl:hasExactSynonym "Digital Surface Model" ;
    rdfs:seeAlso <https://support.esri.com/en-us/gis-dictionary/digital-surface-model> ;
    rdfs:subClassOf eo:Raster ;
    eo:fileExtension ".tif",
        ".tiff" .

eo:DTM a owl:Class ;
    rdfs:label "DTM" ;
    oboInOwl:created_by "mpataky" ;
    oboInOwl:creation_date "2026-02-15T21:06:34+01:00" ;
    oboInOwl:hasExactSynonym "Digital Terrain Model" ;
    rdfs:seeAlso <https://gdal.org/en/stable/tutorials/raster_dtm_tut.html> ;
    rdfs:subClassOf eo:Raster ;
    eo:fileExtension ".tif",
        ".tiff" .

eo:EsriJSON a owl:Class ;
    rdfs:label "Esri JSON" ;
    oboInOwl:created_by "mpataky" ;
    oboInOwl:creation_date "2026-02-15T21:17:34+01:00" ;
    rdfs:seeAlso <https://support.esri.com/en-us/gis-dictionary/esri-json> ;
    rdfs:subClassOf eo:Vector ;
    eo:fileExtension ".json" .

eo:GML a owl:Class ;
    rdfs:label "GML (Geography Markup Language)" ;
    oboInOwl:created_by "Matúš Kalaš" ;
    oboInOwl:creation_date "2021-08-26T11:59:54.522374Z" ;
    rdfs:comment "Not to be confused with the Graph Modelling Language (also GML, with the same file extension)." ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Geography_Markup_Language> ;
    rdfs:subClassOf eo:Vector ;
    eo:fileExtension "gml" ;
    eo:mediaType <https://www.iana.org/assignments/media-types/application/gml+xml> .

eo:GPX a owl:Class ;
    rdfs:label "GPX" ;
    oboInOwl:created_by "melibleq" ;
    oboInOwl:creation_date "2021-08-26T04:29:11.969493Z" ;
    oboInOwl:hasExactSynonym "GPS Exchange Format" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/GPS_Exchange_Format> ;
    rdfs:subClassOf eo:Vector ;
    eo:mediaType "application/gpx+xml (not in IANA)" .

eo:GRIB a owl:Class ;
    rdfs:label "GRIB" ;
    oboInOwl:created_by "Matúš Kalaš" ;
    oboInOwl:creation_date "2021-08-26T13:42:00.666692Z" ;
    oboInOwl:hasDefinition "Standard format for archiving and distributing gridded data, especially weather data. Since it is a binary format, that data is packed to increase storage efficiency. It is a collection of self-contained records of 2D data." ;
    oboInOwl:hasExactSynonym "GRIdded Binary",
        "General Regularly distributed Information in Binary form" ;
    rdfs:comment "GRIB is specific for weather data. Highly compressed (more than NetCDF). Standardised by the World Meteorological Organization, using two different coding standards: GRIB 1 and GRIB 2. A GRIB record must have a header, which describes that record, and the actual binary data itself." ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/GRIB>,
        <https://old.wmo.int/extranet/pages/prog/www/WMOCodes/Guides/GRIB/Introduction_GRIB1-GRIB2.pdf> ;
    rdfs:subClassOf eo:Raster ;
    eo:documentation <https://codes.wmo.int/def/_grib1>,
        <https://codes.wmo.int/def/grib2> ;
    eo:fileExtension "gb",
        "grb",
        "grib",
        "grib1",
        "grib2" .

eo:GeoJSON a owl:Class ;
    rdfs:label "GeoJSON" ;
    rdfs:comment "Validator https://geojsonlint.com/" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/GeoJSON>,
        <https://geojson.org> ;
    rdfs:subClassOf eo:Vector ;
    eo:documentation <https://datatracker.ietf.org/doc/html/rfc7946> ;
    eo:fileExtension "geojson" ;
    eo:mediaType <https://www.iana.org/assignments/media-types/application/geo+json> .

eo:GeoPackage a owl:Class ;
    rdfs:label "GeoPackage" ;
    oboInOwl:created_by "mpataky" ;
    oboInOwl:creation_date "2026-02-15T22:29:45+01:00" ;
    rdfs:subClassOf eo:Raster,
        eo:Vector ;
    eo:documentation "https://www.geopackage.org/spec140/index.html" ;
    eo:fileExtension ".gpkg" .

eo:GeoParquet a owl:Class ;
    rdfs:label "GeoParquet" ;
    oboInOwl:created_by "mpataky" ;
    oboInOwl:creation_date "2026-02-15T22:44:12+01:00" ;
    rdfs:subClassOf eo:Vector ;
    eo:documentation "https://geoparquet.org/" ;
    eo:fileExtension ".geoparquet",
        ".parquet" .

eo:GeoZarr a owl:Class ;
    rdfs:label "GeoZarr" ;
    oboInOwl:created_by "Matúš Kalaš" ;
    oboInOwl:creation_date "2023-12-13T22:32:43.63192Z" ;
    rdfs:subClassOf eo:Raster ;
    skos:editorialNote "TODO: Is this the spec https://github.com/zarr-developers/geozarr-spec/blob/main/geozarr-spec.md ??? It is a fork of another repo!!!" .

eo:KML a owl:Class ;
    rdfs:label "KML" ;
    oboInOwl:hasExactSynonym "Keyhole Markup Language" ;
    rdfs:comment "KML was developed for Google Earth (former Keyhole Earth Viewer), and standardised by the Open Geospatial Consortium (OGC, OpenGIS, https://en.wikipedia.org/wiki/OpenGIS)." ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Keyhole_Markup_Language>,
        <https://www.ogc.org/standards/kml/> ;
    rdfs:subClassOf eo:Vector ;
    eo:documentation <http://docs.opengeospatial.org/is/12-007r2/12-007r2.html>,
        <https://developers.google.com/kml/documentation/kmlreference> .

eo:NetCDF_CF a owl:Class ;
    rdfs:label "NetCDF-CF" ;
    oboInOwl:comment "From version-4 NetCDF is based on HDF5" ;
    oboInOwl:hasExactSynonym "NetCDF CF conventions",
        "NetCDF following the CF metadata conventions" ;
    rdfs:comment "NetCDF-CF is used also for generic geospatial data, not only climate and weather data." ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Climate_and_Forecast_Metadata_Conventions> ;
    rdfs:subClassOf eo:Raster .

eo:OSM_JSON a owl:Class ;
    rdfs:label "OSM JSON" ;
    oboInOwl:created_by "Matúš Kalaš" ;
    oboInOwl:creation_date "2021-08-26T13:21:22.310231Z" ;
    rdfs:comment "How related to https://wiki.openstreetmap.org/wiki/Overpass_JSON?" ;
    rdfs:subClassOf eo:Vector .

eo:OSM_XML a owl:Class ;
    rdfs:label "OSM XML" ;
    oboInOwl:created_by "melibleq" ;
    oboInOwl:creation_date "2021-08-26T04:33:21.310981Z" ;
    oboInOwl:hasBroadSynonym "OpenStreetMap File Formats" ;
    oboInOwl:hasExactSynonym "OSM Formats" ;
    rdfs:comment "TODO recommended to use binary PBF format instead" ;
    rdfs:seeAlso <https://docs.fileformat.com/gis/osm/>,
        <https://wiki.openstreetmap.org/wiki/OSM_file_formats> ;
    rdfs:subClassOf eo:Vector .

eo:PBF a owl:Class ;
    rdfs:label "PBF" ;
    oboInOwl:created_by "Matúš Kalaš" ;
    oboInOwl:creation_date "2021-08-26T13:25:05.495509Z" ;
    oboInOwl:hasExactSynonym "OSM PBF",
        "OpenStreetMap Protocolbuffer Binary Format" ;
    rdfs:seeAlso <https://wiki.openstreetmap.org/wiki/PBF_Format> ;
    rdfs:subClassOf eo:Vector ;
    eo:fileExtension "osm.pbf" .

eo:Shapefile a owl:Class ;
    rdfs:label "Shapefile" ;
    rdfs:comment "Shapefile is a composite format including 3 mandatory files: binary shape/geometry file .shp, shape/geometry index file .shx, and a textual attribute format .dbf). It may contain additional optional files, mostly binary (x-gis/x-shapefile), but some textual or XML." ;
    rdfs:seeAlso <https://docs.fileformat.com/gis/shp>,
        <https://docs.fileformat.com/gis/shx>,
        <https://en.wikipedia.org/wiki/Shapefile> ;
    rdfs:subClassOf eo:Vector ;
    eo:documentation <https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf>,
        <https://www.loc.gov/preservation/digital/formats/fdd/fdd000280.shtml> ;
    eo:fileExtension "dbf",
        "shp",
        "shx" ;
    eo:mediaType "x-gis/x-shapefile (not in IANA)" .

eo:VRT a owl:Class ;
    rdfs:label "VRT" ;
    oboInOwl:created_by "melibleq" ;
    oboInOwl:creation_date "2021-08-29T16:08:38.496836Z" ;
    oboInOwl:hasDefinition "GDAL Virtual Dataset. XML format that maps its attributes and geometries to that of an underlying data source of any GDAL-supported raster format. It transforms features read from other drivers based on criteria specified in an XML control file. It is primarily used to derive spatial layers from flat tables with spatial information in attribute columns. It can also be used to associate coordinate system information with a datasource, merge layers from different datasources into a single data source, or even just to provide an anchor file for access to non-file oriented datasources." ;
    oboInOwl:hasExactSynonym "GDAL Virtual Format" ;
    rdfs:seeAlso <https://gdal.org/drivers/vector/vrt.html> ;
    rdfs:subClassOf eo:Raster ;
    eo:fileExtension "vrt" .

eo:WKB a owl:Class ;
    rdfs:label "WKB" ;
    oboInOwl:created_by "Matúš Kalaš" ;
    oboInOwl:creation_date "2022-05-06T08:30:52.099751Z" ;
    oboInOwl:hasExactSynonym "Well-known binary representation of geometry" ;
    rdfs:comment "Binary version of WKT" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry#Well-known_binary> ;
    rdfs:subClassOf eo:Vector .

eo:WKT a owl:Class ;
    rdfs:label "WKT" ;
    oboInOwl:created_by "Matúš Kalaš" ;
    oboInOwl:creation_date "2022-05-06T08:27:51.757844Z" ;
    oboInOwl:hasExactSynonym "Well-known textual representation of geometry" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry> ;
    rdfs:subClassOf eo:Vector .

eo:XDMF a owl:Class ;
    rdfs:label "XDMF" ;
    oboInOwl:created_by "Matúš Kalaš" ;
    oboInOwl:creation_date "2022-05-06T08:36:05.937701Z" ;
    oboInOwl:hasExactSynonym "Extensible data model and format" ;
    rdfs:comment "This is a conglomerate format with raw data in HDF5 and metadata in XML." ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/XDMF> ;
    rdfs:subClassOf eo:Raster .

eo:documentation a owl:AnnotationProperty ;
    rdfs:label "documentation" ;
    rdfs:comment "Link to the specification or documentation of the format." .

eo:fileExtension a owl:AnnotationProperty ;
    rdfs:label "file extension" ;
    rdfs:comment "A typical file extension of the format." .

eo:mediaType a owl:AnnotationProperty ;
    rdfs:label "media type" ;
    rdfs:comment "Media type (MIME type) of the format." .

eo:GeoTIFF a owl:Class ;
    rdfs:label "GeoTIFF" ;
    oboInOwl:created_by "melibleq" ;
    oboInOwl:creation_date "2021-08-29T15:54:37.290778Z" ;
    oboInOwl:hasDefinition "The GeoTIFF file format allows a TIFF file to be enriched with georeferencing metadata, such as map projections, coordinate systems, ellipsoids, and datums. With GeoTIFF, the raw pixels of an image can be stored and organized in particular ways." ;
    oboInOwl:hasExactSynonym "Geographic Tagged Image File Format" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/GeoTIFF>,
        <https://github.com/OSGeo/libgeotiff>,
        <https://www.ogc.org/standards/geotiff> ;
    rdfs:subClassOf eo:Raster ;
    skos:editorialNote "TODO: Is there a version-independent link to the documentation?" ;
    eo:documentation <https://gis-lab.info/docs/geotiff-1.8.2.pdf> ;
    eo:fileExtension ".tif",
        ".tiff" .

eo:GIS a owl:Class ;
    rdfs:label "Geographical data format" ;
    oboInOwl:hasExactSynonym "GIS Data",
        "Geographical information format" ;
    oboInOwl:hasNarrowSynonym "GIS file format" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/GIS_file_formats> .

eo:Raster a owl:Class ;
    rdfs:label "Raster (GIS)" ;
    oboInOwl:hasNarrowSynonym "Grid format" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/GIS_file_formats#Raster> ;
    rdfs:subClassOf eo:GIS .

eo:Vector a owl:Class ;
    rdfs:label "Vector (GIS)" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/GIS_file_formats#Vector> ;
    rdfs:subClassOf eo:GIS .

