OWL: abstract classes, anonymous nodes, regular expressions

When defining an ontology using OWL, is there a way to say that the class

  • should always be anonymous Node (no rdf: about = "..."), for example. <mine: FamousQuote />
  • is abstract, and any instance of this class should always use a subclass

(edited here :)

  • what DataTypeProperty should match regular expression?

thanks

+4
source share
1 answer

OWL (in the general case) refers to the entry specified by the RDF suite, and not to validation (especially with respect to structure).

  • There is no way in OWL 1.1 to find out if a node is anonymous or not. OWL 2 does not seem to support this (via owl:Restriction , for example).
  • To claim an abstract class, this post on the Protege mailing list has some ideas on how to do this.
  • OWL 1.1 DatatypeProperties do not support "validation" of this operator object. OWL 2 has datatype graphs (including xsd:pattern ) that you could use.

Update. Perhaps you can use SPIN to query the structure and contents of the chart to display new triples.

+6
source

Source: https://habr.com/ru/post/1286127/


All Articles