Contents

Property URI generation

Microdata allows properties to be specified as simple names, which then have a URI generation rule applied to them. As different vocabularies have different
requirements for property URIs, the idea is to provide a way to inform the processor of how to generate URIs, and have the processor fall back to a specific
URI generation strategy if no other information is available.

There are different strategies for generating property URIs from names:

hashSlash

Infer the vocabulary from the @itemtype, and append the name to the resulting vocabulary URI. This would take advantage of the typically RDF strategy of having a flat namespace for classes and properties, so that the class name could be removed from the @itemtype URI to which the name can be appended. For example, if the type were http://schema.org/Thing the property 'name' would be be http://schema.org/name. Types are inherited by items without an @itemtype. Items without a type (explicit or inherited) append the name to the document base URI, in the case that the item has no type. For example, if the document had a base of http://example.com/doc, name could be appended along with a '#', yielding http://example.com/doc#name