Template role IDs

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

Re: Template role IDs

#11 Post by OnnoPaap »

As per our decision, I have updated the templates owl output with persistent defaultRdsId's in the ObjectProperty and the DatatypeProperty declarations.

Go to http://15926.org/15926_template_specs.php click on Generate and download __templates.owl.xml (tpl.owl) and download the resulting link as a file.

The template roles are held in an xml file with their defaultRdsId's. This is updated with any new roles (and given a defaultRdsId) at the time the file is generated.

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

Re: Template role IDs

#12 Post by HansTeijgeler »

There is one thing clear: if you define domain and range, that can be very counterproductive.
RDF software will conclude that whenever the defined property is used, then its subject and object ARE BY DEFINITION of the type defined for domain and range.
So it is the reverse of what we hoped for: input validation.

definition: Musician plays MusicInstrument
data: JohnDoe a musician; John Doe plays VacuuumCleaner
Conclusion: VacuumCleaner is a MusicInstrument !!

My conclusion
Define it in OWL as locally restricted Properties, see http://www.15926.org/publications/templ ... /index.htm (comments welcome)
But don't expect this OWL code to be suitable for validation either.
The trend seems to go for validation by means of SPARQL, see attached file.
For that we need endpoints for the data model ontology and for the template ontology.
(759.21 KiB) Downloaded 231 times

Post Reply