Comments (4)
Occurs when owl classes and owl object properties have incorrect attributes. owl:Class rdf:about
rather than owl:Class rdf:ID
, adding exception handling to properly reflect this an issue with the ontology as opposed to the document generator itself.
class--> rdf:ID
object properties --> rdf:ID
instances --> rdf:about
from ontology-tools.
I noticed someone was changing my rdf:about. I see why now but I'd like to say that rdf:about is completely valid as far as the spec goes (https://www.w3.org/TR/owl-ref/#subClassOf-def) and the bigger problem is a lot of tools will exclusively use rdf:about when defining elements (i.e. Protege and rdflib). The reason for this is rdf:about allows you to specify full URIs that maintain definitions outside of a document so they are not just within the document. It is explained very well here: https://stackoverflow.com/questions/7118326/differences-between-rdfresource-rdfabout-and-rdfid#7119042 -- Some developers exclusively use rdf:about for this reason.
In order to make the tool as supportive as possible it would be ideal to support rdf:about, if you'd like help I'm willing to assist where necessary.
Instances will always specify their parent as the differentiating factor i.e.
<cwrc:ClassImAnInstanceOf rdf:about="myID">
from ontology-tools.
As is usual, the semantic web standards are moving targets and the RDF/XML syntax carries a lot of legacy decisions and concepts from the xml days.
specgen is based on the python bindings for rdflib and uses that parser to load the owl file. Interestingly, whatever bug we were hitting was triggered by rdf:about
.
The major difference between rdf:about
and rdf:ID
is described in 2.14 Abbreviating URIs: rdf:ID and xml:base of the RDF syntax. Short version, the value of rdf:ID
can only occur once while rdf:about
will allow the reuse of the URI.
The use of rdf:ID
for ontologies dates back to the early days of OWL in XML where the single node definition was used for data integrity by libraries like OWLAPI (also used by protege) and the local URI restriction allowed the ontological terms to be grounded to the container.
As the cwrc ontology increases in size, I'd rather keep rdf:ID
as an additional check for ontological terms. Whatever future changes, this issue is strictly in the owl file and does not affect the rest of the file formats or what occurs in the SPARQL server.
from ontology-tools.
Resolved in d26e508
from ontology-tools.
Related Issues (20)
- Ensure specgen updates void triple counts. HOT 1
- Generate document Header from owl file
- Generate Generic Taxonomy svg images with varying language & classes HOT 1
- Make use of Pellet to ensure consistency within ontology
- Build system maintenance: add changesets
- Create uri for generatorAgent HOT 2
- Improve process of generating cleaner taxonomy svg
- Create bibliography generator. HOT 1
- Document generator munging utf-8
- Create bibtex<>rdf converter
- Handle multiple definitions for terms
- Hack a spell checker that can appropriately deal with multiple languages in labels.
- Cross-referencing within the ontology documentation HOT 1
- Some deprecated terms's attributes aren't showing up
- In-domain of and in-range of not showing up
- Show broader/narrower transitive & contrary properties in doc generator
- Mods xml to rdf
- Handle Inverse/Symmetric Property relations in document generator
- Contributor image upon hover
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ontology-tools.