Closed gkellogg closed 8 years ago
This gets around long-standing problems with several vocabularies which lead to problems every time their updated.
By creating something like the following, this can cause them to be modified when the vocabularies are loaded to be generated:
VOCABS= { ldp: { uri: "http://www.w3.org/ns/ldp#", strict: false, patch: %{ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. @prefix owl: <http://www.w3.org/2002/07/owl#>. @prefix : <http://www.w3.org/ns/ldp#>. Delete { :pageSortOrder rdfs:range rdf:Resource :Ascending a owl:Individual :Descending a owl:Individual :MemberSubject a owl:Individual :PreferContainment a owl:Individual :PreferEmptyContainer a owl:Individual :PreferMembership a owl:Individual :PreferMinimalContainer a owl:Individual } Add { :pageSortOrder rdfs:range rdfs:Resource :Ascending a owl:NamedIndividual :Descending a owl:NamedIndividual : MemberSubject a owl:NamedIndividual :PreferContainment a owl:NamedIndividual :PreferEmptyContainer a owl:NamedIndividual :PreferMembership a owl:NamedIndividual :PreferMinimalContainer a owl:NamedIndividual } } }
:+1: this would be great!
This gets around long-standing problems with several vocabularies which lead to problems every time their updated.
By creating something like the following, this can cause them to be modified when the vocabularies are loaded to be generated: