AtomGraph / Processor

Ontology-driven Linked Data processor and server for SPARQL backends. Apache License.
https://hub.docker.com/r/atomgraph/processor/
Apache License 2.0
58 stars 6 forks source link

Template import precedence #8

Closed namedgraph closed 9 years ago

namedgraph commented 9 years ago

Currently OntClassMatcher has only 2 priority levels for templates: templates from the main sitemap have higher priority than those from the imported ontologies. The import tree/hierarchy is not taken into account. The mechanism should probably be more like the XSLT import precendence: http://www.w3.org/TR/xslt20/#dt-import-precedence

namedgraph commented 9 years ago

This issue probably also involves some kind of default template rules, such as those in the GP vocabulary. Here's the equivalent in XSLT: http://www.w3.org/TR/xslt20/#built-in-rule