Hello,
I have a doubt about how to use custom mapping within D2R Server. I used to use 
TopBraid Composer as a D2RQ GUI. There, you have an ontology file and a mapping 
file which storages the relationships between the ontology and the database. 
Before Topbraid, I was coding with D2RQ library.
Now, I am developing a D2R Server but I don't find any way of mapping between 
an existing ontology and a database. If I am right, the ontology is created by 
the server from the database, and this mapping can be customized (please 
correct me if I am wrong and I can reuse an existing ontology).
My idea is to reproduce my ontology in the mapping D2R Server file. My ontology 
is not very complex so I think this is feasible. Nevertheless, I don't know how 
to do simple things like creating a class hierarchy.
Having a simple class hierarchy like:
- Person--- Student--- Teacher
Being Student and Teacher subclasses of Person, how can I get this in D2R 
Server if I only have Student and Teacher tables in the database (Person is new 
class I would like to create in the ontology)?
I've tried to use "d2rq:additionalClassDefinitionProperty" with 
"rdfs:subClassOf", but I have no luck.
Thank you,jfcg                                    
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to