ontology arguments
If you are interested in checking andor hoovering ontology data, you may find these switches useful. Note that ssc only knows about certain ontologies (see --ontology.list).
ontology.export | Export ontologies encountered. This data is exported in JSON format (not JSON–LD). |
ontology.list | List all ontologies checked by ssc, and exit. |
ontology.pretty | The exported JSON file will be prettified. See the boost JSON library documentation for details. |
ontology.root d | When exporting ontologies with ontology.export, write files into the directory d. ssc will create the directory tree structure as appropriate. |
ontology.verify | Check ontology found in WhatWG living standard microdata attributes (itemprop, itemtype, etc.). |
ontology.virtual v=d | When exporting ontologies using ontology.export, export the contents of virtual directory ‘v’ to ‘d’. ‘v’ must match a directory identified with site.virtual. For example: ontology.virtual v=X:\d. |
You can specify particular ontologies to verify. Many of these ontologies have multiple versions, but provide no mechanism to distinguish between those versions. This is particularly silly when those versions are incompatible.
To specific a specific version of an ontology, use X.Y, for example:
--ontology.xsd 1.1
defaults usage of XSD to version 1.1. This
versioning applies to RDFa, microdata, and
microformats (using class) analysis. If .Y is
omitted, .0 is presumed. X must be present.
Unspecified defaults are derived from the HTML
version. For a list of possible values, use
ontology.list (above).
At the time of writing, the following ontology versions can be verified. Note that single version ontologies cannot have their version changed.
ontology.adms | 1.0,2.0 |
ontology.article | 12,14,18,22 |
ontology.as | 1.0,2.0 |
ontology.basic | 1.0-1.3,2.1,3.0 (see below) |
ontology.bfo | 2.0,2020 (see below) |
ontology.bibo | 1.3 |
ontology.biro | 1.1 |
ontology.book | 12,14,18,22 |
ontology.cc | 1.0 |
ontology.cito | 2.8 |
ontology.content | 1.0 |
ontology.cr | 0.2-1.0.12 (see below) |
ontology.crs | 1.0 (see below) |
ontology.csvw | 1.0 |
ontology.ctag | 1.0 |
ontology.daq | 1.0 |
ontology.ddi | 1.0 |
ontology.dbp | 1.0 |
ontology.dbp-owl | 1.0 |
ontology.dbr | 1.0 |
ontology.dc11 | 1.0,1.1 |
ontology.dcam | 1.0 |
ontology.dcat | 1.0,2.0 |
ontology.dcmi | 1.0 |
ontology.dcterms | 1.0,1.1 |
ontology.ddi | 1.0 |
ontology.doap | 1.0 |
ontology.dpv* | 0.1-2.0 (see below) |
ontology.dqv | 1.0 |
ontology.describedby | 1.0 |
ontology.duv | 1.0 |
ontology.earl | 1.0 |
ontology.event | 1.0 |
ontology.exif | 1.0-3.0 (see below) |
ontology.exifex | 2.21-3.0 (see below) |
ontology.foaf | 0.1-0.99 |
ontology.frbr_core | 1.0 |
ontology.gr | 1.0 |
ontology.grddl | 1.0 |
ontology.gs1 | 1.1-1.5 |
ontology.ical | 1.0 |
ontology.icaltzd | 1.0 |
ontology.jsonld | 1.0,1.1 |
ontology.ldp | 1.0 |
ontology.license | 1.0 |
ontology.locn | 1.0 |
ontology.ma | 1.0 |
ontology.mf | 1.0-2.255 |
ontology.music | 12,14,18,22 |
ontology.oa | 1.0 |
ontology.odrl | 1.0 |
ontology.og | 10,12,14,18,22 (see below) |
ontology.org | 1.0 |
ontology.owl | 1.0,2.0 |
ontology.pam | 2.0 (see below) |
ontology.pcm | 3.1 (see below) |
ontology.pcmm | 3.0 (see below) |
ontology.pcv | 1.0(see below) |
ontology.pdf | 1.0 (see below) |
ontology.photoshop | 1.0 (see below) |
ontology.pim | 1.0-3.0 (see below) |
ontology.pmi | 3.0 (see below) |
ontology.poetry | 1.0,1.1 |
ontology.prism | 1.0-3.0 (see below) |
ontology.prism-ad | 3.0 (see below) |
ontology.prl | 1.0-2.0 (see below) |
ontology.prm | 3.0 (see below) |
ontology.prs | 3.1 (see below) |
ontology.profile | 12,14,18,22 |
ontology.prov | 1.0 |
ontology.psv | 1.0 (see below) |
ontology.ptr | 1.0 |
ontology.pur | 2.1-3.0 (see below) |
ontology.qb | 1.0 |
ontology.rai | 1.0.3-1.0.12 (see below) |
ontology.rdf | 1.0-1.3 |
ontology.rdfa | 1.0-1.3 |
ontology.rdfg | 1.0 |
ontology.rdfs | 1.0 |
ontology.rev | 1.0 |
ontology.rif | 1.0 |
ontology.role | 1.0 |
ontology.rr | 1.0 |
ontology.schema.org | 0.10-28 (see below) |
ontology.sd | 1.0 |
ontology.sioc | 1.0 |
ontology.sioc_s | 1.0 |
ontology.sioc_t | 1.0 |
ontology.skos | 1.0 |
ontology.skosxl | 1.0 |
ontology.sosa | 1.0 |
ontology.ssn | 1.0 |
ontology.stdim | 1.0 (see below) |
ontology.stevt | 1.0 (see below) |
ontology.stfnt | 1.0 (see below) |
ontology.stjob | 1.0 (see below) |
ontology.stref | 1.0 (see below) |
ontology.stver | 1.0 (see below) |
ontology.taxo | 1.0 |
ontology.tiff | 6.0 |
ontology.time | 1.0 |
ontology.v | 1.0 |
ontology.vann | 1.0,1.1 |
ontology.vcard | 1,2,3,4 (see below) |
ontology.video | 12,14,18,22 |
ontology.void | 1.0 |
ontology.wdr | 1.0 |
ontology.wdrs | 1.0 |
ontology.website | 12,14,18,22 |
ontology.wwg | 1.0 |
ontology.xhv | 1.0 |
ontology.xml | 1.0 |
ontology.xmp | 1.0 (see below) |
ontology.xmpdm | 1.0 (see below) |
ontology.xmpg | 1.0 (see below) |
ontology.xmpgimg | 1.0 (see below) |
ontology.xmpidq | 1.0 (see below) |
ontology.xmpmm | 1.0 (see below) |
ontology.xmprights | 1.0 (see below) |
ontology.xmptpg | 1.0 (see below) |
ontology.xsd | 1.0,1.1 |
Notes on specific ontologies
Adobe
The various Adobe ontologies (crs, pdf, photoshop, stdim, stevt, stfnt, stjob, stref, stver, smp, xmpdm, xmpg, xmpgimg, xmpidq, xmpmm, xmprights, xmptpg) have only been partially applied. They do not seem to have been designed for microdata, although it does exist; hence the partial implementation: the goal is to enable hoovering to JSON.
BFO
BFO (Basic Format Ontology) versions should be specified as follows:
Use | For |
2.0 | 2.0 |
2.2 | 2020 |
BFO 2020 uses OBO’s machine code style identifiers. Given the history of computing science, as a convenience for users, and with my experience of both devops and maintaining code, identifiers following the standard ontology naming convention are also accepted. Since this is unofficial, both standard English and American dialect spellings are processed.
croissant
The croissant (cr and rai) ontologies follow this version scheme:
For | Use |
0.0.2 | 0.2 (cr only) |
0.0.3 | 0.3 (cr only) |
0.0.4 | 0.4 (cr only) |
0.0.6 | 0.6 (cr only) |
0.8 | 0.8 (cr only) |
1.0 | 1.0 (cr only) |
1.0.1 | 1.1 (cr only) |
1.0.2 | 1.2 (cr only) |
1.0.3 | 1.3 (cr and rai) |
1.0.4 | 1.4 (cr and rai) |
1.0.5 | 1.5 (cr and rai) |
1.0.6 | 1.6 (cr and rai) |
1.0.7 | 1.7 (cr and rai) |
1.0.8 | 1.8 (cr and rai) |
1.0.9 | 1.9 (cr and rai) |
1.0.10 | 1.10 (cr and rai) |
1.0.11 | 1.11 (cr and rai) |
1.0.12 | 1.12 (cr and rai) |
DPV…
The data privacy family of ontologies follow this versioning scheme:
Use | For |
0.10 | 0.1 |
0.20 | 0.2 |
0.30 | 0.3 |
0.40 | 0.4.0 |
0.41 | 0.4.1 |
0.42 | 0.4.2 |
0.50 | 0.5 |
0.60 | 0.6 |
0.70 | 0.7 |
0.80 | 0.8.0 |
0.81 | 0.8.1 |
0.82 | 0.8.2 |
0.90 | 0.9 |
1.0 | 1 |
2.0 | 2 |
The data privacy ontology versions:
ai | 2 |
dpv | 0.1-2 |
eu-aiact | 2 |
eu-dga | 2 |
eu-gdpr | 2 |
eu-nis2 | 2 |
eu-rights | 2 |
gdpr | 0.1-1 |
justifications | 2 |
legal | 0.5-1 |
legal-de | 2 |
legal-eu | 2 |
legal-gb | 2 |
legal-ie | 2 |
legal-in | 2 |
legal-us | 2 |
loc | 2 |
nace | 0.1-1 |
pd | 0.4-2 |
rights-eu | 0.8-2 |
risk | 0.8-2 |
tech | 0.8-2 |
Exif, ExifEx
The Exif & ExifEx ontologies have the following versions:
Use | For |
1.0 | 1.0 (exif only) |
1.1 | 1.1 (exif only) |
2.0 | 2.0 (exif only) |
2.10 | 2.1 (exif only) |
2.20 | 2.2 (exif only) |
2.21 | 2.21 |
2.30 | 2.3 |
2.31 | 2.31 |
2.32 | 2.32 |
3.0 | 3.0 |
Manufacturers’ extensions to EXIF are generally omitted.
OpenGraph
Open Graph versions correspond to snapshots of the specs from 2010, 2012, 2014, 2018 & 2022.
Prism
The various Prism ontologies (pam, pamp, pcm, pcmm, pcv, pim, pmi, prism, prism_ad, prl, prm, prs, psv, pur) have only been partially applied: some specifications are unavailable, some specifications break HTML5 syntax. Prism was not designed for microdata, hence the partial implementation: the goal is to enable hoovering to JSON.
Schema.org
Most versions of schema (schema.org) should be specified by their version number, but this doesn’t work with early versions, which should be specified a follows:
Use | For |
0.10 | June 2011 |
0.15 | July 2011 |
0.20 | August 2011 |
0.25 | September 2011 |
0.30 | October 2011 |
0.35 | November 2011 |
0.40 | December 2011 |
0.45 | January 2012 |
0.50 | February 2012 |
0.55 | March 2012 |
0.60 | April 2012 |
0.91-0.99 | as version number |
1.0 | 1.0a |
1.1 | 1.0b |
1.2 | 1.0c |
1.3 | 1.0d |
1.4 | 1.0e |
1.5 | 1.0f |
1.10 | 1.1 |
1.20 | 1.2 |
1.30 | 1.3 |
1.40 | 1.4 |
1.50 | 1.5 |
1.60 | 1.6 |
1.70 | 1.7 |
1.80 | 1.8 |
1.90 | 1.9 |
1.91 | as version number |
… | … |
27 | as version number |
27.1 | 27.01 |
27.2 | 27.02 |
28 | as version number |
28.1 | as version number |
vCard
vCard versions correspond to RDFa specs, published in 2001, 2006, 2010 & 2014. They do NOT correspond to vCard data format specifications.
Dylan Harris
December 2024