With the use of the import wizard I now have a D2RQ mapping to an Oracle 
database. One of the tables has a field of type NUMBER and this is mapped 
by D2RQ into a datatypeproperty where range=decimal. As such this is 
probably correct but the actual data in the database is always of type 
integer and I want to reflect that in the ontology. 

Changing the range to integer is possible but doing so is not reflected in 
the way sparql handles the queries. Searches using the datatypeproperty 
after changing the range to integer returns no results if I use an integer 
as object variable.  Putting a “.” (dot) after the integer – and thereby 
changing it to a decimal - results in all the expected result. 

 Lacking insight into the inner workings of D2RQ I can’t decide if there is 
a right way to change the range of a datatypeproperty. If there is I would 
very much like to know how this should be done.

 Regards,

Peter 

-- 
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en


Reply via email to