-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question about owl:DatatypeProperty #507
Comments
My setup:
|
tagging @cmungall and @deepakunni3 |
@saramsey This is an interesting observation. One thing to note here is that Ontobio uses While technically owltools and robot should be the same, but there is something else at play here. Using Robot, if I were to convert the test.ttl to test.json (a form Ontobio recognizes), I get an error.
Now if I were to convert test.ttl to test.owl then it works as demonstrated above by @saramsey And when I convert this derived test.owl to test.json,
I get the following: {
"graphs" : [ {
"nodes" : [ {
"id" : "http://foo.com/baz",
"meta" : {
"comments" : [ "test comment" ]
},
"type" : "PROPERTY",
"lbl" : "test label"
}, {
"id" : "http://foo.com/bar",
"meta" : {
"basicPropertyValues" : [ {
"pred" : "http://www.w3.org/2004/02/skos/core#prefLabel",
"val" : "some node"
} ]
},
"type" : "INDIVIDUAL"
} ],
"edges" : [ ],
"meta" : {
"subsets" : [ ],
"xrefs" : [ ],
"basicPropertyValues" : [ ]
},
"equivalentNodesSets" : [ ],
"logicalDefinitionAxioms" : [ ],
"domainRangeAxioms" : [ ],
"propertyChainAxioms" : [ ]
} ]
} While I see the owl:DatatypeProperty, it ends up as a node in the graph instead of a property on the node with IRI @cmungall Thoughts? |
It's correct for |
Thanks, @dougli1sqrd and @deepakunni3. Is the current behavior of |
@dougli1sqrd Agreed. We expect to see the dataTypeProperty as a node. @saramsey No, the behavior is definitely not expected. What we should be seeing is a proper edge that links |
Yeah should this be in one of the |
Thanks for your replies, @deepakunni3 and @dougli1sqrd! Great, a node property (in the ontobio object model) would be ideal for us. Any sense of how light or heavy a lift it will be, to make this change to owltools/ontobio? |
Hi ontobio team, just checking back on this-- do you think this is a feasible fix? Would the fix be in owltools or in ontobio? |
@cmungall Any recommendations on this? Are only a selected set of properties end up in |
Hi @deepakunni3 @cmungall, do you have any updates on the status / feasibility of this fix? a few more issues that stem from this have cropped up on our end, so I thought I'd check back in :) |
a few things going on here. Looks like something unrelated to ontobio for ttl->rdfxml conversion? both owltools and robot are wrappers to the owlapi, but they may use different versions? if there is a bug it should be reported on the appropriate tracker. but I think the question here is about the obograph spec. yes, this should be clarified, and yes we should make DPs nodes as we do for OPs. Can you add to obographs? |
Thank you @cmungall ! For DPs, can there also be a triple (or alternately, a property on the DP node) that indicates the "parent" node for which it is a |
yes, it should have these edges
…On Wed, Mar 10, 2021 at 12:16 PM Stephen A. Ramsey ***@***.***> wrote:
a few things going on here. Looks like something unrelated to ontobio for
ttl->rdfxml conversion? both owltools and robot are wrappers to the owlapi,
but they may use different versions? if there is a bug it should be
reported on the appropriate tracker.
but I think the question here is about the obograph spec. yes, this should
be clarified, and yes we should make DPs nodes as we do for OPs. Can you
add to obographs?
Thank you @cmungall <https://github.com/cmungall> ! For DPs, can there
also be a triple (or alternately, a property on the DP node) that indicates
the "parent" node that it is associated with?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#507 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMMONVSDDGITF74R2NZGTTC7AR5ANCNFSM4VZ7BICA>
.
|
Hello Ontobio team,
I have a simple RDF Turtle file
test.ttl
that I want to load using Ontobio:When I convert it to OWL using robot,
I get something reasonable, including my "test property" as shown here:
But when I load that
test.owl
file intoontobio
2.1.2,I don't see the property in the node:
Is there a way to load an OWL file into Ontobio and to programmatically access a
owl:DatatypeProperty
field of a class?The text was updated successfully, but these errors were encountered: