zazuko / xrm

A friendly language for mappings to RDF
MIT License
1 stars 0 forks source link

Merge DatatypeDefinitions into Vocabulary #66

Closed mchlrch closed 4 years ago

mchlrch commented 4 years ago

Datatypes should be declared inside Vocabulary, instead of requiring separate DatatypesDefinition.

A vocabulary that also declares a datatype DateTime would look like this:

vocabulary schema {
    prefix "schema:" "https://schema.org/"

    classes
        Trip

    properties
        arrivalTime

    datatypes
        DateTime
}
mchlrch commented 4 years ago

Issue can be closed after merging to master