Comments (4)
I am sorry but I realized that I put a wrong tag in the above example. I made a copy-and-paste error, i.e.
<owl:Class rdf:resource="http://purl.obolibrary.org/obo/MONDO_0005017">
but this should be
<owl:Class rdf:about="http://purl.obolibrary.org/obo/MONDO_0005017">
In other words, because of this resource tag, owlapi does not consider MONDO_0005017
as a class, so obograph does not basically execute the codes that parse OWLDeclarationAxiom and convert them as nodes.
Nonetheless, it would be more intelligent if we could add codes that treat subjects and objects as classes when we encounter rdfs:subClassOf
property. The current codes only does this for subject; can I add codes that treat the object as class as well? Thank you.
from obographs.
from obographs.
I don't think it's valid RDF/XML to use rdf:resource
here. If it is used to indicate the object of a predicate, the predicate is the element name. But owl:Class
is not a predicate. At least that's my reading of https://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-empty-property-elements
from obographs.
Thanks for your clarification. Yes, in other words, owlapi's behavior and interpretation is correct, i.e. rdf:resource should not be used there.
from obographs.
Related Issues (20)
- Missing rdf:type owl:Ontology causes non-intelligible fail HOT 2
- EPIC: Version 0.4.0 HOT 3
- Make "mappings" as a first class property to obographs? HOT 16
- Remove Guava
- Add module-info.java in `org.obographs` namespace HOT 1
- Add github actions checks to this repo HOT 1
- create a comprehensive obographs test suite
- What to do with multiple labels / definitions etc? HOT 1
- What is the canonical captialisation of OBO Graphs? HOT 5
- How do I convert an obographs json file into OWL? HOT 5
- Implement reverse translation from OboGraphs to OWL
- Should genusIds be optional in logicalDefinitionAxioms? HOT 12
- Class declarations w/out further assertions not in serialization HOT 12
- Separate slots for URIs and CURIEs
- Improve data model for cross-references HOT 2
- OBOgraphs fails hard in the presence of complex property expression HOT 10
- Include a generic structure that captures all untranslatable axioms HOT 1
- Plan to overhaul this repository HOT 3
- NullPointerException in `org.geneontology.obographs.core.model.axiom.LogicalDefinitionAxiom` HOT 11
- Add a prefixes header HOT 7
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 obographs.