Open sternk opened 10 years ago
Comment by maeder Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/989#comment:1
Ask Felix for support of the Turtle syntax. Maybe you just need a "cwm" binary (via "make cwm")? The construct "A then B" needs a common super logic. Hets tries to convert the logic of A to the logic of B via an inclusion comorphism (that does not seem to exist for OWL to RDF). Both nodes can be converted manually to a common super logic (maybe CASL), though. Till needs to decide what should be done for this mixture of OWL and RDF.
Comment by clange Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/989#comment:2
Replying to maeder:
Ask Felix for support of the Turtle syntax. Maybe you just need a "cwm" binary (via "make cwm")?
I had cwm installed (and available in the PATH) before, so that's not the problem. (BTW, I think "make cwm" is not quite user-friendly; see #990).
Note once more that here I have RDF inside HetCASL, so I can't use -i format
on the Hets command line, but instead I rely on Hets to figure out that my RDF spec is in N-Triples, Turtle, or whatever. (Does Hets currently do this?)
The construct "A then B" needs a common super logic. Hets tries to convert the logic of A to the logic of B via an inclusion comorphism (that does not seem to exist for OWL to RDF).
But here I would like the logic of B to be converted to the logic of A.
Both nodes can be converted manually to a common super logic (maybe CASL), though.
What syntax would convert B to the logic of A? (If possible, I would like to convert from RDF to OWL, not to any other more expressive logic.)
Till needs to decide what should be done for this mixture of OWL and RDF.
OK.
Comment by clange Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/989#comment:3
Replying to clange:
Replying to [comment:1 maeder]:
Ask Felix for support of the Turtle syntax. Maybe you just need a "cwm" binary (via "make cwm")?
I had cwm installed (and available in the PATH) before, so that's not the problem. (BTW, I think "make cwm" is not quite user-friendly; see #990).
Note once more that here I have RDF inside HetCASL, so I can't use
-i format
on the Hets command line, but instead I rely on Hets to figure out that my RDF spec is in N-Triples, Turtle, or whatever. (Does Hets currently do this?)
I just reported this as a separate bug.
Comment by clange Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/989#comment:4
@Till, just a reminder about this. Independently from the ongoing DOL semantics discussion, I consider this quite important for OntoIOp. BTW, I'm also working on a ticket about symbol→term mappings, but it takes some time to get the explanation right.
Comment by clange Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/989#comment:5
Till, you explained this to me last week, and said that I need to write something like
spec TBox = logic OWL : { ... }
spec ABox =
TBox hide logic ... %[ what here: "-> RDF", or "RDF2OWL2", or ...? ]%
then
logic RDF : { ... }
Did I get the "hide logic" right? (If so, I will probably have to wait for #957 to be fixed, as RDF2OWL2 is not yet implemented.)
Comment by till Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/989#comment:9
We need a comorphism from OWL to RDF and vice versa.
Reported by clange and assigned to sternk Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/989
On the semantic web (and thus also in OntoIOp) it is common practice to have OWL or RDFS TBoxes, and to write down ABoxes for them in RDF. The semantics of the TBox+ABox union is then best conceived in OWL or RDFS, after translating the RDF ABox to OWL or RDFS. Here is an example for that: https://svn-agbkb.informatik.uni-bremen.de/Hets-lib/trunk/Ontology/Examples/OWLTBoxRDFABox.het – outline:
where TBoxFromSomewhereElse is a
On processing the "logic RDF : …" line, Hets says
which is at least somewhat contrary to my intuition. (BTW this problem has the same reason.) However, if there is a different way of telling Hets to