Update of the templates OWL output

Post Reply
Message
Author
OnnoPaap
Posts: 189
Joined: Sun Jan 22, 2012 9:14 pm

Update of the templates OWL output

#1 Post by OnnoPaap »

Go to Template specs (here in above menu), then choose Generate and download __templates.owl.xml (tpl.owl) and download the OWL file.

Revisions in __templates.owl.xml output:
  • ObjectProperties and DataTypeProperties now declared as owl:FunctionalProperty type, thereby making (role) cardinality explicitly 1, and removed cardinality statement in templates owl class declarations.
  • Changed subClassOf <some template class> to rdf:type (as agreed upon in the MMT meeting)
  • Added rdf:type declarations for a template class to tm:Template (which is subclassof dm:ClassOfInformationRepresentation and dm:MultidimensionalObject )
  • Moved FOL code inside template class declaration as annotation property tm:valFOLCode.
  • Removed template descriptions in RDF (we believe nobody was using that).
  • Added 3 owl:imports to owl:Ontology section.
  • Removed rdfs:label in template class declaration and used skos:prefLabel instead (subProperty of rdfs:label) , thus allowing for skos:altLabel's in other languages
  • Removed skos:notation to avoid confusion.
  • Renamed properties to:
    • valLastChangeDate
    • meta:annUnresolvedIssues
    • meta:valRecordCreated
    • meta:valEffectiveDate, and used the XML file modification date for it (of the template spec).
  • The set of classes (Template Category classes) in the start of the owl file (after property declarations) is completely revised.
  • Made field ScopeNote working

vvagr
Posts: 282
Joined: Mon Feb 27, 2012 11:01 pm
Location: Moscow, Russia
Contact:

Re: Update of the templates OWL output

#2 Post by vvagr »

Removed template descriptions in RDF (we believe nobody was using that).
Unfortunately it is not so. My software is strongly relying on them, as OWL template definition conventions are constantly changing.

And RDF meta-template descriptions keep an important information about the role order, which is absent from OWL, but is required by P8 and can be used in other non-RDF representations.

Please reverse this change.

OnnoPaap
Posts: 189
Joined: Sun Jan 22, 2012 9:14 pm

Re: Update of the templates OWL output

#3 Post by OnnoPaap »

Alright.
template descriptions in RDF made available again.

vvagr
Posts: 282
Joined: Mon Feb 27, 2012 11:01 pm
Location: Moscow, Russia
Contact:

Re: Update of the templates OWL output

#4 Post by vvagr »

Onno, thank you.

Thee old problem remains - templates have hash URIs like http://15926.org/templates-test/templat ... ctiveClass, and roles have slash URIs like http://15926.org/templates-test/hasEffectiveClass.

vvagr
Posts: 282
Joined: Mon Feb 27, 2012 11:01 pm
Location: Moscow, Russia
Contact:

Re: Update of the templates OWL output

#5 Post by vvagr »

Onno,

This problem was discussed in letters exchanged between you, Hans and me in October 2013. We can not use rdf:ID with /-namespaces at all.
The rdf:ID attribute on a node element (not property element, that has another meaning) can be used instead of rdf:about and gives a relative RDF URI reference equivalent to # concatenated with the rdf:ID attribute value. So for example if rdf:ID="name", that would be equivalent to rdf:about="#name".

HansTeijgeler
Posts: 283
Joined: Sun Jan 22, 2012 10:02 pm

Re: Update of the templates OWL output

#6 Post by HansTeijgeler »

Folks,
Victor is right, we should have used rdf:about throughout. rdf:ID is banned, also in OWL2.
Onno, please correct this.

Post Reply