Discussions
Categories
- 5.3K All Categories
- 15 Introduce Yourself!
- 457 Community Feedback - NEW! (No Product Questions)
- 108 General Community Platform Concerns/Kudos/Feedback
- 83 Community Platform Bug Reports
- 87 How Do I Use the Community?
- 65 Where is the...? (Community Platform Locations)
- 18 Ideas and Suggestions for the Community Platform
- 4.8K Certification Community
- 4.7K Certification Community Discussions
- 22 Oracle Certified Master Profiles
- 31 Oracle Database 12c Administrator Certified Master Profiles
- 83 Visual Builder Cloud Service
Blank node reuse in RDF data

bouchra
Member Posts: 4 Green Ribbon
Hi, The Oracle 19c technical documentation claims that "when inserting triples involving blank nodes into a model, you must use the SDO_RDF_TRIPLE_S constructor that supports reuse of blank nodes" However, with the procedure SEM_APIS.UPDATE_MODEL, the ID is reused among different insertions, in different graphs. I can also request the BN and getting the same ID. So my question is this procedure perform a call to the constructor ? --first insertion BEGIN SEM_APIS.UPDATE_MODEL('articles', 'PREFIX e: <http://event.example.com/> INSERT DATA { _:event1 rdf:type e:conference. } --second insertion BEGIN SEM_APIS.UPDATE_MODEL('articles', 'PREFIX a: <http://article.example.com/> e: <http://event.example.com/> INSERT DATA { a:article rdf:type rdfs:Class. a:event rdf:type owl:ObjectProperty ; rdfs:domain a:article; rdfs:range e:event . a:artile1 rdf:type a:article. a:article1 a:event _:event1 . } --query SELECT s$rdfterm s FROM TABLE(SEM_MATCH( 'PREFIX a:<http://article.example.com/> SELECT ?s WHERE {?s a:event _:nor22 .}' , SEM_MODELS('articles') , null, null, null, null , ' PLUS_RDFT=VC ' , null, null , 'RDFUSER', 'NET1'));