When defining an Ontology using OWL, is there a way to say that a class
- should always be an Anonymous Node
(no rdf:about=”…”) e.g. <my:FamousQuote/> - is abstract and any Instance of this class should
always use a subClass
(edited here:)
- that a DataTypeProperty should match a regular expression ?
Thanks
OWL (in general) is about entailments given a set of RDF, not about validation (especially with regards to structure).
owl:Restriction, for example).DatatypePropertiesdo not support “validation” of a given statement’s object. OWL 2 has datatype facets (includingxsd:pattern) which you could potentially use.Update: You may be able to use SPIN to query the graph structure and contents in order to infer new triples.