This content has been marked as final. Show 4 replies
You should not be directly loading into the RDF_VALUE$ table. You should be using either SQL INSERT statements, or the Java API for batch loading (or incremental loading).
The application does not have to concern itself with the type used internally. RDF_VALUE$ table is an internal storage table.
URITypes are documented at: Oracle® Database PL/SQL Packages and Types Reference 10g Release 2 (10.2), Part Number B14258-01.
URIType is a supertype of both XDBURITYPE and HTTPURITYPE.
i'm not loading directly into the RDF_VALUE$, I'm using the following Insert-statement (as the example in the docu):
$insert_query = "INSERT INTO ONTOWIKI.FAMILY_RDF_DATA VALUES (".$newId.", SDO_RDF_TRIPLE_S('".$_modelname."','".$subj."','".$pred."','".$obj."'))";
Good. I am not sure then why you are concerned with XDBURITYPE and HTTPURITYPE. That should be transparent to the application. You don't have to worry about what type is used internally for storage (in RDF_VALUE$ or any other internal table).
If this does not answer your question perhaps you can explain what you mean by you mean by 'old triple' and 'new triple', so that I can understand the issue better. Do you mean before insertion and after insertion?
That should be transparent to the application. You don't have to worry about what type is usedthat is enough :) thanks again...
internally for storage (in RDF_VALUE$ or any other internal table)