Comments (6)
Well, I do notice that there are some axioms in this OWL that already use my proposed solution:
[ rdf:type owl:Axiom ;
owl:annotatedSource <http://model.geneontology.org/66ab4fd6-68b2-4e3c-aa19-88199eca825e/91d1e1f5-8d54-4f09-aa47-f2e3dd12c672> ;
owl:annotatedProperty <http://purl.obolibrary.org/obo/RO_0002333> ;
owl:annotatedTarget <http://model.geneontology.org/66ab4fd6-68b2-4e3c-aa19-88199eca825e/1e478989-604a-4cfb-ac5f-78324e0ad69d> ;
<http://geneontology.org/lego/evidence> <http://model.geneontology.org/66ab4fd6-68b2-4e3c-aa19-88199eca825e/27f7ae19-d188-4f82-ad55-3994933c147c> ,
<http://model.geneontology.org/66ab4fd6-68b2-4e3c-aa19-88199eca825e/89c7879d-9f93-4a1c-9f90-318b2e30c05e> ;
<http://purl.org/dc/elements/1.1/contributor> "http://orcid.org/0000-0002-6659-0416" ;
<http://purl.org/dc/elements/1.1/date> "2012-10-04" ,
"2012-10-05" ;
rdfs:comment "MGI MGI:87859 enables GO:0005515 MGI:MGI:1099567|PMID:8861907 ECO:0000353 UniProtKB:Q03173 20121005 MGI" ,
"MGI MGI:87859 enables GO:0005515 MGI:MGI:1349267|PMID:10567556 ECO:0000353 UniProtKB:Q9QZK7 20121004 MGI"
] .
For MGI:MGI:87859 to GO:0005515 annotations.
So something else must be going on to explode out the evidence for the MGI:MGI:87859-to-GO:0004713 associations into multiple axioms.
from gocamgen.
@dustine32 I've experienced this a lot in my development. Somehow you ended up with an evidence instance that is not connected to anything else. When I have done this to myself, it has usually been related to trying and failing to delete a relationship that I have added to the model. Delete is a pain as you need to cascade it through all the evidence nodes etc. If you send me a full model that contains the problem maybe I can help diagnose.
from gocamgen.
Thanks @goodb ! Here's the model for MGI:MGI:87859. I can email you the original TTL file if you're interested.
As far as I know, my code shouldn't be deleting relations when building the graph that gets submitted to rdflib (builds the TTL). I try to first search and reuse axioms and create if they don't exist. But I think my add_evidence
code is redundantly emitting the axiom for some of these evidences. I probably need to break some of the emitting responsibility out of this add_evidence
function. Though I haven't yet followed this through the debugger.
from gocamgen.
I notice there are bunch of assertions with no evidence. Perhaps evidence nodes are getting created but not linked up? e.g.
gomodel:66ab4fd6-68b2-4e3c-aa19-88199eca825e/9e18e9f5-67b0-4fd0-8165-be66607f7acc / RO:0002333 / gomodel:66ab4fd6-68b2-4e3c-aa19-88199eca825e/e46feaf1-2984-43d0-a3ed-d292cead6ef0
from gocamgen.
Aha! Thanks @goodb this triple pointed me to the likely weirdness going on with my extension code. I just switched from reusing the extension logic from my PomBase models to something much simpler and this problem appears to have gone away.
from gocamgen.
Should be fixed by e6c0589
from gocamgen.
Related Issues (20)
- Update extension validation rules TSV
- Update extension validation rules for acts_o_population_of HOT 3
- Create test files for additional annotation metadata HOT 31
- No extension is an island HOT 4
- Resolve Shex failures in MGI annotations due to invalid identifiers for binding input HOT 38
- add taxon metadata for each model HOT 5
- Create test files for WB import HOT 12
- Write translated models out in N-Quads format HOT 1
- Proteoforms shouldn't be split into separate models HOT 14
- Handle pipe-separation in translation of with/from field HOT 1
- Handling interacting taxon data
- Add date and contributor to ALL annotation individuals? Not just evidence and Axiom? HOT 4
- Emit comment in annotation properties HOT 1
- Collapse comma-delimited objects of chain relations
- Add providedBy to all individuals HOT 2
- Add gene symbol to model title HOT 14
- Param to set modelstate HOT 1
- Comment missing some text from the GPAD HOT 1
- Set import model states to production so annotations are in GPAD outputs from dev HOT 5
- Processing annotation contributors for multiple GPAD lines with single annotation id HOT 5
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 gocamgen.